theme
Alternative.me Crypto
FREE
By l4chsalter
Updated 7 months ago

Alternative.me Crypto API Documentation

We are happy to announce that we are going to provide a new public API for coin and token prices after CoinMarketCap decided to discontinue their public API soon. If you were using the v1 or v2 endpoints until now, you can just switch to our endpoints without changing any other code.

Learn more about this API
GETListings
GETv2 Ticker
GETv2 Ticker for specific currency
GETv2 Global
GETv1 Ticker
GETv1 Tickert for specific currency
GETv1 Global
GETv2 Ticker

Coin and token prices updated every 5 minutes.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
limitNUMBER
OPTIONALLimit the number of returned results. The default value is 100, use '0' for all available data.
startNUMBER
OPTIONALSets the first element to be fetched, all requests are ordered by the Marketcap. That means the order of the returned elements can change over time.
convertSTRING
OPTIONALIn addition to the USD values the converted values will be deliveredin the requested currency. Possible fiat conversion target values are: ' USD', 'EUR', 'GBP', 'RUB', 'JPY', 'CAD', 'KRW', 'PLN' it is also possible to convert to other cryptocurrencies like: 'BTC', 'ETH', 'XRP', 'LTC' and 'BCH'.
structureSTRING
OPTIONALsets the structure of the data field as either array or name-value pair style. Possible values are 'dictionary' for name-value pair style and 'array' for array style.
sortSTRING
OPTIONALreturned results can be sorted by: 'id', 'rank' (means marketcap), 'volume_24h', 'percent_change_24h' default sorting is by rank. In addition it can be sorted by: 'price', 'percent_change_1h', 'percent_change_7d', 'circulating_supply' and 'name'.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication