# Using this API, you can get currency details from CoinMarketCap without an API key, including prices, logos, symbols, etc. #### Please give it a star if you liked it ⭐️ ``` https://api.coinmarketcap.com/data-api/v3/cryptocurrency/listing?start=1&limit=10000&sortBy=market_cap&sortType=desc&convert=USD&cryptoType=all&tagType=all&audited=false ``` > :warning: **Use at your own risk**! > If you are able to support them, you can purchase an API key from this url: https://pro.coinmarketcap.com/signup/ ![](https://assets.website-files.com/600e34cbaf525c42912af8b6/602e5a00c7f00690575b72c5_5cc08e530a5c750836baed0e_dark%20blue.svg) #### Implementation For: [NodeJs - Axios](#nodeAxios) [NodeJs - Request](#nodeRequest) [PHP - CURL](#phpCurl) [Python - HttpClient](#pythonHttpClient) [Python - Http-Requests](#pythonRequests) [Dart - Http](#dartHttp) # NodeJs - Axios ```js var axios = require('axios'); var config = { method: 'get', url: 'https://api.coinmarketcap.com/data-api/v3/cryptocurrency/listing?start=1&limit=10000&sortBy=market_cap&sortType=desc&convert=USD&cryptoType=all&tagType=all&audited=false', headers: { } }; axios(config) .then(function (response) { console.log(JSON.stringify(response.data)); }) .catch(function (error) { console.log(error); }); ``` # NodeJs - Request ```js var request = require('request'); var options = { 'method': 'GET', 'url': 'https://api.coinmarketcap.com/data-api/v3/cryptocurrency/listing?start=1&limit=10000&sortBy=market_cap&sortType=desc&convert=USD&cryptoType=all&tagType=all&audited=false', 'headers': { } }; request(options, function (error, response) { if (error) throw new Error(error); console.log(response.body); }); ``` # PHP - CURL ```php 'https://api.coinmarketcap.com/data-api/v3/cryptocurrency/listing?start=1&limit=10000&sortBy=market_cap&sortType=desc&convert=USD&cryptoType=all&tagType=all&audited=false', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', )); $response = curl_exec($curl); curl_close($curl); echo $response; ``` # Python - Http-Client ```py import http.client conn = http.client.HTTPSConnection("api.coinmarketcap.com") payload = '' headers = {} conn.request("GET", "/data-api/v3/cryptocurrency/listing?start=1&limit=10000&sortBy=market_cap&sortType=desc&convert=USD&cryptoType=all&tagType=all&audited=false", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8")) ``` # Python - Requests ```py import requests url = "https://api.coinmarketcap.com/data-api/v3/cryptocurrency/listing?start=1&limit=10000&sortBy=market_cap&sortType=desc&convert=USD&cryptoType=all&tagType=all&audited=false" payload={} headers = {} response = requests.request("GET", url, headers=headers, data=payload) print(response.text) ``` # Dart - Http ```dart var request = http.Request('GET', Uri.parse('https://api.coinmarketcap.com/data-api/v3/cryptocurrency/listing?start=1&limit=10000&sortBy=market_cap&sortType=desc&convert=USD&cryptoType=all&tagType=all&audited=false')); http.StreamedResponse response = await request.send(); if (response.statusCode == 200) { print(await response.stream.bytesToString()); } else { print(response.reasonPhrase); } ```