{"id":26882769,"url":"https://github.com/pangz-lab/coingecko-api","last_synced_at":"2025-03-31T16:55:25.471Z","repository":{"id":64788253,"uuid":"578117859","full_name":"pangz-lab/coingecko-api","owner":"pangz-lab","description":"Coingecko API Client for PHP","archived":false,"fork":false,"pushed_at":"2023-08-25T08:00:34.000Z","size":107,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-03-17T06:06:55.208Z","etag":null,"topics":["api","api-client","client","code","coingeckko-api-client","coingecko-api-client","coingecko-dart-library","coingeko","coupon","crypto","subscription"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/pangzlab/coingecko-api","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pangz-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-14T09:52:40.000Z","updated_at":"2025-02-24T21:26:49.000Z","dependencies_parsed_at":"2023-02-10T14:45:15.251Z","dependency_job_id":null,"html_url":"https://github.com/pangz-lab/coingecko-api","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pangz-lab%2Fcoingecko-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pangz-lab%2Fcoingecko-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pangz-lab%2Fcoingecko-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pangz-lab%2Fcoingecko-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pangz-lab","download_url":"https://codeload.github.com/pangz-lab/coingecko-api/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246500945,"owners_count":20787794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","client","code","coingeckko-api-client","coingecko-api-client","coingecko-dart-library","coingeko","coupon","crypto","subscription"],"created_at":"2025-03-31T16:55:24.815Z","updated_at":"2025-03-31T16:55:25.457Z","avatar_url":"https://github.com/pangz-lab.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://discord.gg/TK3WHBMk\"\u003e\n    \u003cimg src=\"https://img.shields.io/discord/1104687758301204512?logo=discord\" alt=\"chat on Discord\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://twitter.com/intent/follow?screen_name=Pangz55192569\"\u003e\n    \u003cimg src=\"https://img.shields.io/twitter/follow/Pangz55192569?style=social\u0026logo=twitter\" alt=\"follow on witter\"\u003e\n\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://lh3.googleusercontent.com/fife/APg5EOY3h1MG5I3ny2d3X9NITN9GNuyx8uPlEu50W6GhYw-CsCPY7h_8DN1l9uYw8J7YjmUl9pDhuUhv6yrh5gv9jENoaWQcPebQ4NcsweTAtsFB2ehWWa9ETrSWCLoRTEVax27GsKGKVB6lLYNN1776Mytpv0RlNXgsnA-1eP30YQopud2cqf0YOTudo-heagG4oieBKBGr2A4ChIrQ5t0UglNYpmz8Q_F57k9mdq8hrBzuDmyUhdFI40tFZtg_vUKIZTY_vd2BIJmGkZZ3nuMMyZbOOMhgSTMxzlpb3dA23Gd2ymBGfNobQZOa4hBOpd_XxibFox5EOQOd9XpSbhdPt0EIAzXEb4qVsMJ4_NMW7OEdk0JQAjaAsFzZvVYL-uKFu-vzWSFg_GRWteDkUUYhv60V1H2zrmAfDdN10lE5Y9aiMbyc-62XSzaCtGBwSmmfP8iCdMP_RsJquvqWHJTEHKW6mIC8BXbMqDu8ieTsUqc8veRBfHRgn1iA1lUywABUELyAANMCqZ450v6nDYOCiRXFVeIh9-O3G9PzGgYu7V0o7MSDBhL-3Y0kENycsIqzvnPSBQX38BOKgP77in8aXU9uBzS275CDoeCValoNwx2pZOXVmLFk7y_yBHArm3VD7ctfwP_NzOkC84zNcn2QVycgmBdsXlULj_Q-POX2W_LM7T4TxLQkoAn5B4SvBikTN-Le_Ge2WkQkIcA7U3_j8GUywRSYXr8m78xeZODWi9zJEFUfc8zYt-19PYcrx0YFSivwOqOxpIm-IEm6x4vyapjB-7X-ljxc2TzeWqOShXkyl5gKK0Evd-0U6hTVN_mL_uPWAlvWLs3LCKu9IZ5bVDEmJVtBspEhxdrjQQjNqur01g4VMy3Yy_KhNientu_AJm7ndNAeAQAoKfgiUtQNrtY306648slrRdKDOt5nTLWiHUWvXcUqh6u5KyTI1YNBneHQyWk2ExhxIUFPAi2QUnzeu21IBKUoele9BDGKEoOz4dV3J1qgi0-7C1kvvWtoxxnL5z-9LSwtAEW1vaw5iEy3yhAcbN9nrKtEC0O75e3XHR2eXt4NKxBF7dgdWX9lS_llslIsvw3rFx9VOLfcCM71HTCO3tczlf8abxHg1R6TlKWOGfqaYOBdqIRqPPF1sagLZvbe75uIjRbnCwBaRtVl4Z1s7Q30I_8Jeq2oJRCnYQcgbjpXRvpClEfhlJT76ybo9hT2aG_QFE01SwptYQ2A-btnwo9jimH0hc4vIQXR1_pMFHQa62rd2hSiTla5qo95WqTQWoVtbW55hN2h7LTF4IBm1ETYo81KFpM1HTzYR7LZQOQMs2_BaUaCQBetOmIWZKhLWRZC8_X3OVSRokTj6xuXtotwcHbXln661ITXs-1yCxdgWmpIL92mPjMlljMUA_kQJru0s_lm-DEqdZaFqmuj4fdNqGjZuEN1-FQgVRd-coSHPKd4F2RY2djuATNBtQU5nIwWgm-tuXM6YHX3KzliOp1glQzUURkKVaUq3-lxgfhY4IxRBgmHrw=w1862-h968\"\n    height=\"165\" /\u003e\n\u003c/p\u003e\n\u003cp\u003e\n    \u003cimg src=\"https://pangz-lab.github.io/coupons/coingecko-cgpangz2402-coupon.png\" height=\"500\" /\u003e\n    \u003ca href=\"https://www.coingecko.com/en/api\"\u003e\n        \u003cimg src=\"https://pangz-lab.github.io/coupons/cgpangz2402-coupon-usage.png\" height=\"500\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n# coingecko-api\n## Coingecko API client for PHP\n\u003cbr\u003e\n\nA simple, intuitive and composable API Client for the [CoinGecko REST API Service](https://www.coingecko.com/en/api/documentation).\n\nAPI Version Support\n---------------\n- ✔️ API v3\n- ✔️ Community Endpoint\n- ✔️ Pro Endpoint\n\nRequirements\n---------------\n\n- ✔️ php: 8.x\n- ✔️ guzzlehttp/guzzle: ^7.5\n\nInstallation\n---------------\n\u003cp\u003e\nThe best and the easiest way to use this library is thru \u003ca href=\"https://getcomposer.org/\"\u003ecomposer\u003c/a\u003e.\nYou can also download the source directly and require it to your project.\n\u003cbr\u003e\n\u003cbr\u003e\nJust take note of the requirements.\n\u003c/p\u003e\n\n### [ *Composer* ]\n![composer](https://getcomposer.org/favicon.ico)\n[ see packagist.org](https://packagist.org/packages/pangzlab/coingecko-api)\n```\ncomposer require pangzlab/coingecko-api\n```\n\nOR\n\n### [ *Direct Download* ]\n\n#### 📥 [Get it from the release](https://github.com/pangz-lab/coingecko-api/releases)\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n---\n\u003cbr\u003e\n\nLibrary\n---------------\n### [ Classes ]\n\u003cp\u003e\nThis library provides 2 main classes which you can use depending on the type of endpoints you are accessing.\n\u003clist\u003e\n    \u003cli\u003eCoinGeckoUrlBuilder\u003c/li\u003e\n    \u003cli\u003eCoinGeckoApiClient\u003c/li\u003e\n\u003c/list\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n#### 📦 CoinGeckoApiClient\n\u003cp\u003e\nThis is the main class that allows building the API endpoints and sending the request.\n\u003cbr\u003e\n\u003cbr\u003e\nThis is always required.\n\u003c/p\u003e\n\n```php\n\u003c?php\n\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoApiClient;\n\n$client = new CoinGeckoApiClient();\n\n```\n\u003cbr\u003e\n\u003cbr\u003e\n\n#### 📦 CoinGeckoUrlBuilder\n\u003cp\u003e\nCoinGecko API endpoints require a URL query which is a set of key value pairs encoded in the URL.\nThis class enables to dynamically create them with ease without worrying the position\nor the casing of the keys.\n\u003cbr\u003e\n\u003cbr\u003e\nAlthough by design can be achieved by using the CoinGeckoApiClient class alone,\nusing the CoinGeckoUrlBuilder gives you a finer control over the parameters you set and more flexibility in managing the endpoints you're building.\n\u003cbr\u003e\n\u003cbr\u003e\nThis class is optional depending on the endpoint you need.\n\u003c/p\u003e\n\n```php\n\u003c?php\n\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoUrlBuilder;\n\n$query = new CoinGeckoUrlBuilder();\n\n```\n\n\u003cbr\u003e\n\u003cbr\u003e\n\nUsage\n---------------\n\u003cp\u003e\nAccessing the API endpoints are fairly straightforward. If not for convenience, you don't really need a set of manuals to start using this library.\nYou can just go directly to the \u003ca href=\"https://www.coingecko.com/en/api/documentation\"\u003eCoinGecko REST API Official Documenation\u003c/a\u003e, find the endpoint you need and start building your request.\n\u003cbr\u003e\n\u003cbr\u003e\nLet's use some examples.\n\u003cbr\u003e\n\u003c/p\u003e\n\n#### 🔹 Endpoint request \"without\"🚫 URL query\n🌐 endpoint: [/ping](https://www.coingecko.com/api/documentations/v3#/ping/get_ping)\n\n```php\n\u003c?php\n\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoApiClient;\n\n$client = new CoinGeckoApiClient();\n\ntry {\n\n    $response = $client-\u003eset()-\u003eping()-\u003esend();\n    print_r($response);\n    // do something here..\n\n} catch (Exception $e) {\n    print($e-\u003egetMessage());\n}\n\n```\n\n#### 🔹 Endpoint request \"with\"✔️ URL query\n🌐 endpoint: [/coins/categoreis](https://www.coingecko.com/api/documentations/v3#/categories/get_coins_categories)\n\n```php\n\u003c?php\n\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoApiClient;\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoApiClient;\n\n$q = new CoinGeckoUrlBuilder();\n$client = new CoinGeckoApiClient();\n\ntry {\n\n    $response = $apiClient-\u003eset()\n        -\u003ecoins()\n        -\u003ecategories()\n        -\u003esend($q-\u003ewithOrder(\"name_desc\"));\n    print_r($response);\n    // do something here ...\n\n} catch (Exception $e) {\n    print($e-\u003egetMessage());\n}\n\n```\n\n#### 🔹 Endpoint request with path parameter(id)\n🌐 endpoint: [/exchanges/{id}/volume_chart](https://www.coingecko.com/api/documentations/v3#/exchanges/get_exchanges__id__volume_chart)\n```php\n\u003c?php\n\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoApiClient;\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoUrlBuilder;\n\n$q = new CoinGeckoUrlBuilder();\n$client = new CoinGeckoApiClient();\n\ntry {\n\n    $response = $apiClient-\u003eset()\n        -\u003eexchanges(\"safe_trade\")\n        -\u003evolumeChart()\n        -\u003esend($q-\u003ewithDays(1));\n    print_r($response);\n    // do something here ...\n\n} catch (Exception $e) {\n    print($e-\u003egetMessage());\n}\n\n```\n\n#### 🔹 Endpoint request with path parameter(id) and URL Query\n🌐 endpoint: [/coins/{id}](https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_)\n```php\n\u003c?php\n\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoApiClient;\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoUrlBuilder;\n\n$q = new CoinGeckoUrlBuilder();\n$client = new CoinGeckoApiClient();\n\ntry {\n\n    $response = $apiClient-\u003eset()\n        -\u003ecoins(\"verus-coin\")\n        -\u003esend(\n            $q-\u003ewithLocalization(\"false\")\n            -\u003ewithDeveloperData(\"true\")\n            -\u003ewithSparkline(\"true\")\n            -\u003ewithCommunityData(\"true\")\n            -\u003ewithMarketData(\"true\")\n            -\u003ewithTickers(\"true\")\n        );\n    print_r($response);\n    // do something here ...\n\n} catch (Exception $e) {\n    print($e-\u003egetMessage());\n}\n```\n\u003cbr\u003e\n\nFeatures\n---------------\n\u003cbr\u003e\n \n### Set Method\n* Before forming the endpoint, always start calling the **set()** method \nto make a clean object before building a request.\n### Parameter Positioning\n\n* The parameter position is not important.\nIt can be set anywhere as long as it is required by the endpoint.\n\n### Send Methods ( Community vs Pro )\n\n* There are 2 methods provided to send a request. The **send()** and the **sendPro()**\n* **send** ⇨ used to send a request to \u003ca href=\"https://www.coingecko.com/en/api/documentation\"\u003eCommunity API endpoints\u003c/a\u003e.\n* **sendPro** ⇨ used to send a request to the exclusive \u003ca href=\"https://coingeckoapi.notion.site/coingeckoapi/CoinGecko-Pro-API-exclusive-endpoints-529f4bb5c4d84d5fad797b09cfdb4b53\"\u003ePro API endpoints\u003c/a\u003e.\nThis method requires the **x_cg_pro_api_key** parameter key encoded in the URL for the request to be accepted.\n\n* Both optionally accepts instance of **CoinGeckoUrlBuilder()** class.\n* Aside from the **x_cg_pro_api_key** parameter key, there is no major difference\nbetween these 2 methods. Both are used the same way.\n\n### CoinGeckoUrlBuilder() Method Call **with** Prefix\n* Method name for building a query string using **CoinGeckoUrlBuilder()** always\nhave a prefix **with**.\n\n* (i.e. withId() for id, withVsCurrency() for vs_currency)\n\n\u003cbr\u003e\n\u003cbr\u003e\n\nBonus Quirks\n---------------\n\u003cp\u003e\nThere are some benefits of using this CoinGecko client libray.\n\u003cbr\u003e\n\u003cbr\u003e\nAside from it's not required to learn any methods to use \nand the parameter positioning of each methods, \nthere are other features which might not be essential but are available and ready to be used\nto provide manageability and flexibility to your coding.\n\u003c/p\u003e\n\n#### 1. Use of reset() instead of set()\n\u003e ⚠️ Calling **set()** is always the preferred way but \n\u003e you can also build request using the **reset()** method to cleanup resource. Just make sure to separate\n\u003e the call to **send()** method to avoid **ParseError**.\n```php\n\u003c?php\n\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoApiClient;\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoUrlBuilder;\n\n$q = new CoinGeckoUrlBuilder();\n$client = new CoinGeckoApiClient();\n\ntry {\n\n    //No set() method and no send() call\n    $apiClient = $apiClient-\u003ecoins(\"verus-coin\");\n    //Separate the call to send\n    $response = $apiClient-\u003esend(\n        $q-\u003ewithLocalization(\"false\")\n        -\u003ewithDeveloperData(\"true\")\n        -\u003ewithSparkline(\"true\")\n        -\u003ewithCommunityData(\"true\")\n        -\u003ewithMarketData(\"true\")\n        -\u003ewithTickers(\"true\")\n    );\n    print_r($response);\n\n    //Call reset() method to form another request\n    $apiClient-\u003ereset();\n    $apiClient = $apiClient-\u003eexchanges(\"safe_trade\")\n        -\u003evolumeChart();\n    $response = $apiClient-\u003esend($q-\u003ewithDays(1));\n\n    //Call reset() for the next calls\n    $apiClient-\u003ereset();\n\n    print_r($response);\n\n} catch (Exception $e) {\n    print($e-\u003egetMessage());\n}\n\n```\n\n#### 2. Case-insensitive method names\n\u003e \u003cbr\u003e\n\u003e \n\u003e Endpoint name and URL parameter key name are case-insensitive.\n\u003e This means calling ping(), PING() and Ping() are treated the same thing.\n\u003e Additionally you can also use underscore(_) as a separator for names\n\u003e like VS_CURRENCY or vs_Currency. They will be handled properly.\n\u003e \n\u003e \u003cbr\u003e\n```php\n\u003c?php\n\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoApiClient;\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoUrlBuilder;\n\n$q = new CoinGeckoUrlBuilder();\n$client = new CoinGeckoApiClient();\n\ntry {\n    \n    //All caps\n    $response = $apiClient-\u003eset()\n        -\u003ePING()\n        -\u003esend();\n    print_r($response);\n\n    //All lowercase\n    $response = $apiClient-\u003eset()\n        -\u003eping()\n        -\u003esend();\n    print_r($response);\n\n    //UC First\n    $response = $apiClient-\u003eset()\n        -\u003ePing()\n        -\u003esend();\n    print_r($response);\n\n    //With underscore - only underscore is allowed\n    $response = $apiClient-\u003eset()\n        -\u003e_PING_()\n        -\u003esend();\n    print_r($response);\n\n    //With insensitive parameter case\n    $response = $apiClient\n        -\u003ecoins(\"verus-coin\")\n        -\u003esend(\n            $q-\u003ewith_LOCALIZATION(\"false\")\n            -\u003ewithDeveloperData_(\"true\")\n            -\u003ewithSparkline(\"true\")\n            -\u003ewithCommunity_DATA(\"true\")\n            -\u003ewith_Market_Data(\"true\")\n            -\u003ewithTiCKers(\"true\")\n        );\n    print_r($response);\n\n} catch (Exception $e) {\n    print($e-\u003egetMessage());\n}\n\n```\n\n\n#### 3. Request reusability\n```php\n\u003c?php\n\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoApiClient;\nuse PangzLab\\CoinGecko\\Client\\CoinGeckoUrlBuilder;\n\n$q = new CoinGeckoUrlBuilder();\n$client = new CoinGeckoApiClient();\n\ntry {\n\n    $request = $apiClient-\u003eset()-\u003eping();\n\n    for($x = 0; $x \u003c= 10; $x++) {\n        $response = $request-\u003esend();\n        sleep(3);\n        print_r($response);\n    }\n    \n} catch (Exception $e) {\n    print($e-\u003egetMessage());\n}\n\n```\n\n\u003cbr\u003e\n\nAPI Usage\n---------------\n\n\n\u003ch1 id='table-of-contents'\u003e 📋Endpoint List\u003c/h1\u003e\n\n\u003col\u003e\u003cli\u003e\u003ca href=\"#cust-ping\"\u003eping\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-simple\"\u003esimple\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-coins\"\u003ecoins\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-contract\"\u003econtract\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-coins\"\u003ecoins\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-asset_platforms\"\u003easset_platforms\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-categories\"\u003ecategories\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-exchanges\"\u003eexchanges\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-indexes\"\u003eindexes\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-derivatives\"\u003ederivatives\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-exchanges\"\u003eexchanges\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-nfts--beta-\"\u003enfts (beta)\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-exchange_rates\"\u003eexchange_rates\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-search\"\u003esearch\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-trending\"\u003etrending\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-global\"\u003eglobal\u003c/a\u003e\u003c/li\u003e\u003cli\u003e\u003ca href=\"#cust-companies--beta-\"\u003ecompanies (beta)\u003c/a\u003e\u003c/li\u003e\u003c/ol\u003e\n\n\n\n\n\n# \u003ch2 id='cust-ping'\u003e🌐 ping \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/ping`\n\n\n\n\u003e\n\u003eCheck API server status\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`ping()`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eping()-\u003esend();\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-simple'\u003e🌐 simple \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/simple/price`\n\n\n\n\u003e\n\u003eGet the current price of any cryptocurrencies in any other supported currencies that you need.\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`simple()-\u003eprice()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 7\u003cbr\u003e ✔️  \u003ccode\u003ewithIds('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithVsCurrencies('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithIncludeMarketCap('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithInclude24hrVol('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithInclude24hrChange('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithIncludeLastUpdatedAt('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPrecision('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e ids\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ id of coins, comma-separated if querying more than 1 coin*refers to \u003cb\u003e`coins/list`\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e vs_currencies\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ vs_currency of coins, comma-separated if querying more than 1 vs_currency*refers to \u003cb\u003e`simple/supported_vs_currencies`\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e include_market_cap\u003c/code\u003e ➞  string \u003cp\u003e ◽️ \u003cb\u003etrue/false\u003c/b\u003e to include market_cap, \u003cb\u003edefault: false\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e include_24hr_vol\u003c/code\u003e ➞  string \u003cp\u003e ◽️ \u003cb\u003etrue/false\u003c/b\u003e to include 24hr_vol, \u003cb\u003edefault: false\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e include_24hr_change\u003c/code\u003e ➞  string \u003cp\u003e ◽️ \u003cb\u003etrue/false\u003c/b\u003e to include 24hr_change, \u003cb\u003edefault: false\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e include_last_updated_at\u003c/code\u003e ➞  string \u003cp\u003e ◽️ \u003cb\u003etrue/false\u003c/b\u003e to include last_updated_at of price, \u003cb\u003edefault: false\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e precision\u003c/code\u003e ➞  string \u003cp\u003e ◽️ \u003cb\u003efull\u003c/b\u003e or any value between 0 - 18 to specify decimal place for currency price value, \u003cb\u003edefault: 2\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003esimple()-\u003eprice()\n        -\u003esend(\n            $q-\u003ewithIds('string')\n                -\u003ewithVsCurrencies('string')\n                -\u003ewithIncludeMarketCap('string')\n                -\u003ewithInclude24hrVol('string')\n                -\u003ewithInclude24hrChange('string')\n                -\u003ewithIncludeLastUpdatedAt('string')\n                -\u003ewithPrecision('string')\n        );\n```\n\u003cbr\u003e\u003cb\u003e2.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/simple/token_price/{id}`\n\n\n\n\u003e\n\u003eGet current price of tokens (using contract addresses) for a given platform in any other currency that you need.\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ The id of the platform issuing tokens (See asset_platforms endpoint for list of options)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`simple()-\u003etokenPrice('{id}')`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 7\u003cbr\u003e ✔️  \u003ccode\u003ewithContractAddresses('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithVsCurrencies('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithIncludeMarketCap('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithInclude24hrVol('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithInclude24hrChange('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithIncludeLastUpdatedAt('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPrecision('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e contract_addresses\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ The contract address of tokens, comma separated\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e vs_currencies\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ vs_currency of coins, comma-separated if querying more than 1 vs_currency*refers to \u003cb\u003e`simple/supported_vs_currencies`\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e include_market_cap\u003c/code\u003e ➞  string \u003cp\u003e ◽️ \u003cb\u003etrue/false\u003c/b\u003e to include market_cap, \u003cb\u003edefault: false\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e include_24hr_vol\u003c/code\u003e ➞  string \u003cp\u003e ◽️ \u003cb\u003etrue/false\u003c/b\u003e to include 24hr_vol, \u003cb\u003edefault: false\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e include_24hr_change\u003c/code\u003e ➞  string \u003cp\u003e ◽️ \u003cb\u003etrue/false\u003c/b\u003e to include 24hr_change, \u003cb\u003edefault: false\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e include_last_updated_at\u003c/code\u003e ➞  string \u003cp\u003e ◽️ \u003cb\u003etrue/false\u003c/b\u003e to include last_updated_at of price, \u003cb\u003edefault: false\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e precision\u003c/code\u003e ➞  string \u003cp\u003e ◽️ \u003cb\u003efull\u003c/b\u003e or any Integer to specify decimal place for currency price value, \u003cb\u003edefault: 2\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003esimple()-\u003etokenPrice('{id}')\n        -\u003esend(\n            $q-\u003ewithContractAddresses('string')\n                -\u003ewithVsCurrencies('string')\n                -\u003ewithIncludeMarketCap('string')\n                -\u003ewithInclude24hrVol('string')\n                -\u003ewithInclude24hrChange('string')\n                -\u003ewithIncludeLastUpdatedAt('string')\n                -\u003ewithPrecision('string')\n        );\n```\n\u003cbr\u003e\u003cb\u003e3.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/simple/supported_vs_currencies`\n\n\n\n\u003e\n\u003eGet list of supported_vs_currencies.\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`simple()-\u003esupportedVsCurrencies()`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003esimple()-\u003esupportedVsCurrencies()-\u003esend();\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-coins'\u003e🌐 coins \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/list`\n\n\n\n\u003e\n\u003eList all supported coins id, name and symbol (no pagination required)\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`coins()-\u003elist()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 1\u003cbr\u003e ✔️  \u003ccode\u003ewithIncludePlatform('boolean')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e include_platform\u003c/code\u003e ➞  boolean \u003cp\u003e ◽️ flag to include platform contract addresses (eg. 0x.... for Ethereum based tokens).  valid values: true, false\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins()-\u003elist()\n        -\u003esend(\n            $q-\u003ewithIncludePlatform('boolean')\n        );\n```\n\u003cbr\u003e\u003cb\u003e2.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/markets`\n\n\n\n\u003e\n\u003eList all supported coins price, market cap, volume, and market related data\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`coins()-\u003emarkets()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 8\u003cbr\u003e ✔️  \u003ccode\u003ewithVsCurrency('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithIds('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithCategory('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithOrder('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPerPage('integer')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPage('integer')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithSparkline('boolean')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPriceChangePercentage('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e vs_currency\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ The target currency of market data (usd, eur, jpy, etc.)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e ids\u003c/code\u003e ➞  string \u003cp\u003e ◽️ The ids of the coin, comma separated crytocurrency symbols (base). refers to `/coins/list`.\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e category\u003c/code\u003e ➞  string \u003cp\u003e ◽️ filter by coin category. Refer to /coin/categories/list\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e order\u003c/code\u003e ➞  string \u003cp\u003e ◽️ valid values: \u003cb\u003emarket_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc\u003c/b\u003esort results by field.\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e per_page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ valid values: 1..250 Total results per page\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ Page through results\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e sparkline\u003c/code\u003e ➞  boolean \u003cp\u003e ◽️ Include sparkline 7 days data (eg. true, false)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e price_change_percentage\u003c/code\u003e ➞  string \u003cp\u003e ◽️ Include price change percentage in \u003cb\u003e1h, 24h, 7d, 14d, 30d, 200d, 1y\u003c/b\u003e (eg. '`1h,24h,7d`' comma-separated, invalid values will be discarded)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins()-\u003emarkets()\n        -\u003esend(\n            $q-\u003ewithVsCurrency('string')\n                -\u003ewithIds('string')\n                -\u003ewithCategory('string')\n                -\u003ewithOrder('string')\n                -\u003ewithPerPage('integer')\n                -\u003ewithPage('integer')\n                -\u003ewithSparkline('boolean')\n                -\u003ewithPriceChangePercentage('string')\n        );\n```\n\u003cbr\u003e\u003cb\u003e3.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/{id}`\n\n\n\n\u003e\n\u003eGet current data (name, price, market, ... including exchange tickers) for a coin\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the coin id (can be obtained from /coins) eg. bitcoin\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`coins('{id}')`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 6\u003cbr\u003e ✔️  \u003ccode\u003ewithLocalization('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithTickers('boolean')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithMarketData('boolean')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithCommunityData('boolean')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithDeveloperData('boolean')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithSparkline('boolean')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e localization\u003c/code\u003e ➞  string \u003cp\u003e ◽️ Include all localized languages in response (true/false) \u003cb\u003e[default: true]\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e tickers\u003c/code\u003e ➞  boolean \u003cp\u003e ◽️ Include tickers data (true/false) \u003cb\u003e[default: true]\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e market_data\u003c/code\u003e ➞  boolean \u003cp\u003e ◽️ Include market_data (true/false) \u003cb\u003e[default: true]\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e community_data\u003c/code\u003e ➞  boolean \u003cp\u003e ◽️ Include community_data data (true/false) \u003cb\u003e[default: true]\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e developer_data\u003c/code\u003e ➞  boolean \u003cp\u003e ◽️ Include developer_data data (true/false) \u003cb\u003e[default: true]\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e sparkline\u003c/code\u003e ➞  boolean \u003cp\u003e ◽️ Include sparkline 7 days data (eg. true, false) \u003cb\u003e[default: false]\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins('{id}')\n        -\u003esend(\n            $q-\u003ewithLocalization('string')\n                -\u003ewithTickers('boolean')\n                -\u003ewithMarketData('boolean')\n                -\u003ewithCommunityData('boolean')\n                -\u003ewithDeveloperData('boolean')\n                -\u003ewithSparkline('boolean')\n        );\n```\n\u003cbr\u003e\u003cb\u003e4.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/{id}/tickers`\n\n\n\n\u003e\n\u003eGet coin tickers (paginated to 100 items)\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the coin id (can be obtained from /coins/list) eg. bitcoin\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`coins('{id}')-\u003etickers()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 5\u003cbr\u003e ✔️  \u003ccode\u003ewithExchangeIds('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithIncludeExchangeLogo('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPage('integer')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithOrder('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithDepth('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e exchange_ids\u003c/code\u003e ➞  string \u003cp\u003e ◽️ filter results by exchange_ids (ref: v3/exchanges/list)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e include_exchange_logo\u003c/code\u003e ➞  string \u003cp\u003e ◽️ flag to show exchange_logo\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ Page through results\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e order\u003c/code\u003e ➞  string \u003cp\u003e ◽️ valid values: \u003cb\u003etrust_score_desc (default), trust_score_asc and volume_desc\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e depth\u003c/code\u003e ➞  string \u003cp\u003e ◽️ flag to show 2% orderbook depth. valid values: true, false\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins('{id}')-\u003etickers()\n        -\u003esend(\n            $q-\u003ewithExchangeIds('string')\n                -\u003ewithIncludeExchangeLogo('string')\n                -\u003ewithPage('integer')\n                -\u003ewithOrder('string')\n                -\u003ewithDepth('string')\n        );\n```\n\u003cbr\u003e\u003cb\u003e5.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/{id}/history`\n\n\n\n\u003e\n\u003eGet historical data (name, price, market, stats) at a given date for a coin\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the coin id (can be obtained from /coins) eg. bitcoin\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`coins('{id}')-\u003ehistory()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 2\u003cbr\u003e ✔️  \u003ccode\u003ewithDate('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithLocalization('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e date\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ The date of data snapshot in dd-mm-yyyy eg. 30-12-2017\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e localization\u003c/code\u003e ➞  string \u003cp\u003e ◽️ Set to false to exclude localized languages in response\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins('{id}')-\u003ehistory()\n        -\u003esend(\n            $q-\u003ewithDate('string')\n                -\u003ewithLocalization('string')\n        );\n```\n\u003cbr\u003e\u003cb\u003e6.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/{id}/market_chart`\n\n\n\n\u003e\n\u003eGet historical market data include price, market cap, and 24h volume (granularity auto)\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the coin id (can be obtained from /coins) eg. bitcoin\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`coins('{id}')-\u003emarketChart()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 3\u003cbr\u003e ✔️  \u003ccode\u003ewithVsCurrency('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithDays('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithInterval('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e vs_currency\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ The target currency of market data (usd, eur, jpy, etc.)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e days\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ Data up to number of days ago (eg. 1,14,30,max)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e interval\u003c/code\u003e ➞  string \u003cp\u003e ◽️ Data interval. Possible value: daily\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins('{id}')-\u003emarketChart()\n        -\u003esend(\n            $q-\u003ewithVsCurrency('string')\n                -\u003ewithDays('string')\n                -\u003ewithInterval('string')\n        );\n```\n\u003cbr\u003e\u003cb\u003e7.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/{id}/market_chart/range`\n\n\n\n\u003e\n\u003eGet historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto)\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the coin id (can be obtained from /coins) eg. bitcoin\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`coins('{id}')-\u003emarketChart()-\u003erange()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 3\u003cbr\u003e ✔️  \u003ccode\u003ewithVsCurrency('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithFrom('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithTo('string')\u003c/code\u003e❗️\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e vs_currency\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ The target currency of market data (usd, eur, jpy, etc.)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e from\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ From date in UNIX Timestamp (eg. 1392577232)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e to\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ To date in UNIX Timestamp (eg. 1422577232)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins('{id}')-\u003emarketChart()-\u003erange()\n        -\u003esend(\n            $q-\u003ewithVsCurrency('string')\n                -\u003ewithFrom('string')\n                -\u003ewithTo('string')\n        );\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-contract'\u003e🌐 contract \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/{id}/contract/{contract_address}`\n\n\n\n\u003e\n\u003eGet coin info from contract address\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ Asset platform (See asset_platforms endpoint for list of options)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e contract_address\u003c/code\u003e \u003cp\u003e ➞ Token's contract address\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`coins('{id}')-\u003econtract('{contract_address}')`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins('{id}')-\u003econtract('{contract_address}')-\u003esend();\n```\n\u003cbr\u003e\u003cb\u003e2.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/{id}/contract/{contract_address}/market_chart/`\n\n\n\n\u003e\n\u003eGet historical market data include price, market cap, and 24h volume (granularity auto) from a contract address\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ The id of the platform issuing tokens (See asset_platforms endpoint for list of options)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e contract_address\u003c/code\u003e \u003cp\u003e ➞ Token's contract address\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`coins('{id}')-\u003econtract('{contract_address}')-\u003emarketChart()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 2\u003cbr\u003e ✔️  \u003ccode\u003ewithVsCurrency('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithDays('string')\u003c/code\u003e❗️\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e vs_currency\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ The target currency of market data (usd, eur, jpy, etc.)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e days\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ Data up to number of days ago (eg. 1,14,30,max)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins('{id}')-\u003econtract('{contract_address}')-\u003emarketChart()\n        -\u003esend(\n            $q-\u003ewithVsCurrency('string')\n                -\u003ewithDays('string')\n        );\n```\n\u003cbr\u003e\u003cb\u003e3.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/{id}/contract/{contract_address}/market_chart/range`\n\n\n\n\u003e\n\u003eGet historical market data include price, market cap, and 24h volume within a range of timestamp (granularity auto) from a contract address\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ The id of the platform issuing tokens (See asset_platforms endpoint for list of options)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e contract_address\u003c/code\u003e \u003cp\u003e ➞ Token's contract address\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`coins('{id}')-\u003econtract('{contract_address}')-\u003emarketChart()-\u003erange()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 3\u003cbr\u003e ✔️  \u003ccode\u003ewithVsCurrency('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithFrom('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithTo('string')\u003c/code\u003e❗️\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e vs_currency\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ The target currency of market data (usd, eur, jpy, etc.)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e from\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ From date in UNIX Timestamp (eg. 1392577232)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e to\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ To date in UNIX Timestamp (eg. 1422577232)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins('{id}')-\u003econtract('{contract_address}')-\u003emarketChart()-\u003erange()\n        -\u003esend(\n            $q-\u003ewithVsCurrency('string')\n                -\u003ewithFrom('string')\n                -\u003ewithTo('string')\n        );\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-coins'\u003e🌐 coins \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/{id}/ohlc`\n\n\n\n\u003e\n\u003eGet coin's OHLC\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the coin id (can be obtained from /coins/list) eg. bitcoin\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`coins('{id}')-\u003eohlc()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 2\u003cbr\u003e ✔️  \u003ccode\u003ewithVsCurrency('string')\u003c/code\u003e❗️\u003cbr\u003e ✔️  \u003ccode\u003ewithDays('string')\u003c/code\u003e❗️\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e vs_currency\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ The target currency of market data (usd, eur, jpy, etc.)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e days\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️  Data up to number of days ago (1/7/14/30/90/180/365/max)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins('{id}')-\u003eohlc()\n        -\u003esend(\n            $q-\u003ewithVsCurrency('string')\n                -\u003ewithDays('string')\n        );\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-asset_platforms'\u003e🌐 asset_platforms \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/asset_platforms`\n\n\n\n\u003e\n\u003eList all asset platforms (Blockchain networks)\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`assetPlatforms()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 1\u003cbr\u003e ✔️  \u003ccode\u003ewithFilter('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e filter\u003c/code\u003e ➞  string \u003cp\u003e ◽️ apply relevant filters to results valid values: \"nft\" (asset_platform nft-support)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eassetPlatforms()\n        -\u003esend(\n            $q-\u003ewithFilter('string')\n        );\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-categories'\u003e🌐 categories \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/categories/list`\n\n\n\n\u003e\n\u003eList all categories\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`coins()-\u003ecategories()-\u003elist()`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins()-\u003ecategories()-\u003elist()-\u003esend();\n```\n\u003cbr\u003e\u003cb\u003e2.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/coins/categories`\n\n\n\n\u003e\n\u003eList all categories with market data\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`coins()-\u003ecategories()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 1\u003cbr\u003e ✔️  \u003ccode\u003ewithOrder('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e order\u003c/code\u003e ➞  string \u003cp\u003e ◽️ valid values: \u003cb\u003emarket_cap_desc (default), market_cap_asc, name_desc, name_asc, market_cap_change_24h_desc and market_cap_change_24h_asc\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecoins()-\u003ecategories()\n        -\u003esend(\n            $q-\u003ewithOrder('string')\n        );\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-exchanges'\u003e🌐 exchanges \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/exchanges`\n\n\n\n\u003e\n\u003eList all exchanges (Active with trading volumes)\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`exchanges()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 2\u003cbr\u003e ✔️  \u003ccode\u003ewithPerPage('integer')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPage('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e per_page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ Valid values: 1...250Total results per pageDefault value:: 100\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e page\u003c/code\u003e ➞  string \u003cp\u003e ◽️ page through results\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eexchanges()\n        -\u003esend(\n            $q-\u003ewithPerPage('integer')\n                -\u003ewithPage('string')\n        );\n```\n\u003cbr\u003e\u003cb\u003e2.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/exchanges/list`\n\n\n\n\u003e\n\u003eList all supported markets id and name (no pagination required)\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`exchanges()-\u003elist()`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eexchanges()-\u003elist()-\u003esend();\n```\n\u003cbr\u003e\u003cb\u003e3.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/exchanges/{id}`\n\n\n\n\u003e\n\u003eGet exchange volume in BTC and top 100 tickers only\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the exchange id (can be obtained from /exchanges/list) eg. binance\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`exchanges('{id}')`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eexchanges('{id}')-\u003esend();\n```\n\u003cbr\u003e\u003cb\u003e4.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/exchanges/{id}/tickers`\n\n\n\n\u003e\n\u003eGet exchange tickers (paginated, 100 tickers per page)\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the exchange id (can be obtained from /exchanges/list) eg. binance\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`exchanges('{id}')-\u003etickers()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 5\u003cbr\u003e ✔️  \u003ccode\u003ewithCoinIds('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithIncludeExchangeLogo('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPage('integer')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithDepth('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithOrder('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e coin_ids\u003c/code\u003e ➞  string \u003cp\u003e ◽️ filter tickers by coin_ids (ref: v3/coins/list)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e include_exchange_logo\u003c/code\u003e ➞  string \u003cp\u003e ◽️ flag to show exchange_logo\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ Page through results\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e depth\u003c/code\u003e ➞  string \u003cp\u003e ◽️ flag to show 2% orderbook depth i.e., cost_to_move_up_usd and cost_to_move_down_usd\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e order\u003c/code\u003e ➞  string \u003cp\u003e ◽️ valid values: \u003cb\u003etrust_score_desc (default), trust_score_asc and volume_desc\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eexchanges('{id}')-\u003etickers()\n        -\u003esend(\n            $q-\u003ewithCoinIds('string')\n                -\u003ewithIncludeExchangeLogo('string')\n                -\u003ewithPage('integer')\n                -\u003ewithDepth('string')\n                -\u003ewithOrder('string')\n        );\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-indexes'\u003e🌐 indexes \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/indexes`\n\n\n\n\u003e\n\u003eList all market indexes\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`indexes()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 2\u003cbr\u003e ✔️  \u003ccode\u003ewithPerPage('integer')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPage('integer')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e per_page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ Total results per page\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ Page through results\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eindexes()\n        -\u003esend(\n            $q-\u003ewithPerPage('integer')\n                -\u003ewithPage('integer')\n        );\n```\n\u003cbr\u003e\u003cb\u003e2.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/indexes/{market_id}/{id}`\n\n\n\n\u003e\n\u003eget market index by market id and index id\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e market_id\u003c/code\u003e \u003cp\u003e ➞ pass the market id (can be obtained from /exchanges/list)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the index id (can be obtained from /indexes/list)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`indexes('{market_id}','{id}')`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eindexes('{market_id}','{id}')-\u003esend();\n```\n\u003cbr\u003e\u003cb\u003e3.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/indexes/list`\n\n\n\n\u003e\n\u003elist market indexes id and name\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`indexes()-\u003elist()`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eindexes()-\u003elist()-\u003esend();\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-derivatives'\u003e🌐 derivatives \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/derivatives`\n\n\n\n\u003e\n\u003eList all derivative tickers\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`derivatives()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 1\u003cbr\u003e ✔️  \u003ccode\u003ewithIncludeTickers('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e include_tickers\u003c/code\u003e ➞  string \u003cp\u003e ◽️ ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, defaults to unexpired\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ederivatives()\n        -\u003esend(\n            $q-\u003ewithIncludeTickers('string')\n        );\n```\n\u003cbr\u003e\u003cb\u003e2.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/derivatives/exchanges`\n\n\n\n\u003e\n\u003eList all derivative exchanges\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`derivatives()-\u003eexchanges()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 3\u003cbr\u003e ✔️  \u003ccode\u003ewithOrder('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPerPage('integer')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPage('integer')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e order\u003c/code\u003e ➞  string \u003cp\u003e ◽️ order results using following params name_asc，name_desc，open_interest_btc_asc，open_interest_btc_desc，trade_volume_24h_btc_asc，trade_volume_24h_btc_desc\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e per_page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ Total results per page\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ Page through results\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ederivatives()-\u003eexchanges()\n        -\u003esend(\n            $q-\u003ewithOrder('string')\n                -\u003ewithPerPage('integer')\n                -\u003ewithPage('integer')\n        );\n```\n\u003cbr\u003e\u003cb\u003e3.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/derivatives/exchanges/{id}`\n\n\n\n\u003e\n\u003eshow derivative exchange data\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the exchange id (can be obtained from derivatives/exchanges/list) eg. bitmex\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`derivatives()-\u003eexchanges('{id}')`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 1\u003cbr\u003e ✔️  \u003ccode\u003ewithIncludeTickers('string')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e include_tickers\u003c/code\u003e ➞  string \u003cp\u003e ◽️ ['all', 'unexpired'] - expired to show unexpired tickers, all to list all tickers, leave blank to omit tickers data in response\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ederivatives()-\u003eexchanges('{id}')\n        -\u003esend(\n            $q-\u003ewithIncludeTickers('string')\n        );\n```\n\u003cbr\u003e\u003cb\u003e4.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/derivatives/exchanges/list`\n\n\n\n\u003e\n\u003eList all derivative exchanges name and identifier\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`derivatives()-\u003eexchanges()-\u003elist()`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ederivatives()-\u003eexchanges()-\u003elist()-\u003esend();\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-exchanges'\u003e🌐 exchanges \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/exchanges/{id}/volume_chart`\n\n\n\n\u003e\n\u003eGet volume_chart data for a given exchange\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ pass the exchange id (can be obtained from /exchanges/list) eg. binance\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`exchanges('{id}')-\u003evolumeChart()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 1\u003cbr\u003e ✔️  \u003ccode\u003ewithDays('integer')\u003c/code\u003e❗️\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e days\u003c/code\u003e ➞  integer \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️  Data up to number of days ago (eg. 1,14,30)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eexchanges('{id}')-\u003evolumeChart()\n        -\u003esend(\n            $q-\u003ewithDays('integer')\n        );\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-nfts--beta-'\u003e🌐 nfts (beta) \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/nfts/list`\n\n\n\n\u003e\n\u003eList all supported NFT ids, paginated by 100 items per page, paginated to 100 items\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`nfts()-\u003elist()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 4\u003cbr\u003e ✔️  \u003ccode\u003ewithOrder('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithAssetPlatformId('string')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPerPage('integer')\u003c/code\u003e\u003cbr\u003e ✔️  \u003ccode\u003ewithPage('integer')\u003c/code\u003e\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e order\u003c/code\u003e ➞  string \u003cp\u003e ◽️ valid values: \u003cb\u003eh24_volume_native_asc, h24_volume_native_desc, floor_price_native_asc, floor_price_native_desc, market_cap_native_asc, market_cap_native_desc, market_cap_usd_asc, market_cap_usd_desc\u003c/b\u003e\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e asset_platform_id\u003c/code\u003e ➞  string \u003cp\u003e ◽️ The id of the platform issuing tokens (See asset_platforms endpoint for list of options)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e per_page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ Total results per page\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e page\u003c/code\u003e ➞  integer \u003cp\u003e ◽️ Page through results\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003enfts()-\u003elist()\n        -\u003esend(\n            $q-\u003ewithOrder('string')\n                -\u003ewithAssetPlatformId('string')\n                -\u003ewithPerPage('integer')\n                -\u003ewithPage('integer')\n        );\n```\n\u003cbr\u003e\u003cb\u003e2.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/nfts/{id}`\n\n\n\n\u003e\n\u003eGet current data (name, price_floor, volume_24h ...) for an NFT collection\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e id\u003c/code\u003e \u003cp\u003e ➞ id of nft collection (can be obtained from /nfts/list)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`nfts('{id}')`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003enfts('{id}')-\u003esend();\n```\n\u003cbr\u003e\u003cb\u003e3.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/nfts/{asset_platform_id}/contract/{contract_address}`\n\n\n\n\u003e\n\u003eGet current data (name, price_floor, volume_24h ...) for an NFT collection\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e asset_platform_id\u003c/code\u003e \u003cp\u003e ➞ The id of the platform issuing tokens (See asset_platforms endpoint for list of options, use filter=nft param)\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003ccode\u003e contract_address\u003c/code\u003e \u003cp\u003e ➞ The contract_address of the nft collection (/nfts/list for list of nft collection with metadata)\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`nfts('{asset_platform_id}')-\u003econtract('{contract_address}')`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003enfts('{asset_platform_id}')-\u003econtract('{contract_address}')-\u003esend();\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-exchange_rates'\u003e🌐 exchange_rates \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/exchange_rates`\n\n\n\n\u003e\n\u003eGet BTC-to-Currency exchange rates\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`exchangeRates()`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eexchangeRates()-\u003esend();\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-search'\u003e🌐 search \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/search`\n\n\n\n\u003e\n\u003eSearch for coins, categories and markets on CoinGecko\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`search()`\n\n🔑\n\u003ci\u003eURL Keys\u003c/i\u003e : 1\u003cbr\u003e ✔️  \u003ccode\u003ewithQuery('string')\u003c/code\u003e❗️\u003cbr\u003e\u003cbr\u003e\u003cdetails\u003e\u003csummary\u003eurl parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e query\u003c/code\u003e ➞  string \u003ci\u003e(required)\u003c/i\u003e \u003cp\u003e ◽️ Search string\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e \u003cbr\u003e\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003esearch()\n        -\u003esend(\n            $q-\u003ewithQuery('string')\n        );\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-trending'\u003e🌐 trending \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/search/trending`\n\n\n\n\u003e\n\u003eGet trending search coins (Top-7) on CoinGecko in the last 24 hours\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`search()-\u003etrending()`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003esearch()-\u003etrending()-\u003esend();\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-global'\u003e🌐 global \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/global`\n\n\n\n\u003e\n\u003eGet cryptocurrency global data\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`global()`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eglobal()-\u003esend();\n```\n\u003cbr\u003e\u003cb\u003e2.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/global/decentralized_finance_defi`\n\n\n\n\u003e\n\u003eGet cryptocurrency global decentralized finance(defi) data\n\u003e\n\n\n\n\n[ method ] : \u003cbr\u003e`global()-\u003edecentralizedFinanceDefi()`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003eglobal()-\u003edecentralizedFinanceDefi()-\u003esend();\n```\n\u003cbr\u003e\n\n\n\n# \u003ch2 id='cust-companies--beta-'\u003e🌐 companies (beta) \u003c/h2\u003e\n \u003cbr\u003e\u003cb\u003e1.\u003c/b\u003e \u003ca href='#table-of-contents'\u003e📋\u003c/a\u003e endpoint :  `/companies/public_treasury/{coin_id}`\n\n\n\n\u003e\n\u003eGet public companies data\n\u003e\n\n\u003cdetails\u003e\u003csummary\u003eendpoint parameters\u003c/summary\u003e\u003col\u003e\u003cli\u003e\u003ccode\u003e coin_id\u003c/code\u003e \u003cp\u003e ➞ bitcoin or ethereum\u003c/p\u003e\u003c/li\u003e\u003c/ol\u003e\u003c/details\u003e\n\n\n[ method ] : \u003cbr\u003e`companies()-\u003epublicTreasury('{coin_id}')`\n\n\u003ci\u003e💡 sample usage\u003c/i\u003e\n\n```php\n$result = $apiClient-\u003eset()-\u003ecompanies()-\u003epublicTreasury('{coin_id}')-\u003esend();\n```\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpangz-lab%2Fcoingecko-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpangz-lab%2Fcoingecko-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpangz-lab%2Fcoingecko-api/lists"}