Authentication
There are 2 ways to authenticate with the REST API:
Available Crypto Currencies and PairsStandard
You can get the list of every supported crypto currency and crypto pair.
Endpoint URL: (Crypto Currencies)
https://api.freecryptoapi.com/v1/getCryptoList
Endpoint URL: (Crypto Pairs)
https://api.freecryptoapi.com/v1/getCryptoList
Required Parameters:
None
Sinlge & Multiple Data RequestsStandard
Endpoint URL:
https://api.freecryptoapi.com/v1/getData
Required Parameters:
symbol=symbols seperated by +
Example:
https://api.freecryptoapi.com/v1/getData?symbol=BTC+ETH+ETHBTC@binance
Sample Response:
Exchange PairsStandard
This endpoint will provide you all the listed pairs on a supported crypto currency exchange. Below example request gets all the pairs listed on binance and their latest data.
Endpoint URL:
https://api.freecryptoapi.com/v1/getExchange
Required Parameters:
exchange=one of the supported exchange parameters: binance,mexc,kucoin,gate,huobi,bybit,bitget
Example:
https://api.freecryptoapi.com/v1/getExchange?&exchange=binance
Sample Response:
Sinlge & Multiple Data Requests In Local Currency Standard
You can get the latest price of crypto currencies in your local currency.
Endpoint URL:
https://api.freecryptoapi.com/v1/getDataCurrency
Required Parameters:
symbol=crypto currencies seperated by + sign local= one of the 3 letter currencies supported by the API. Nearly all the currencies are supported(ex: EUR,GBP,TRL,BRL,CNY,RUB etc..)
Example:
https://api.freecryptoapi.com/v1/getDataCurrency?symbol=BTC+ETH&local=EUR
Sample Response:
Crypto Conversion Standard
You can convert between any 2 crypto currency.
Endpoint URL:
https://api.freecryptoapi.com/v1/getConversion
Required Parameters:
from=crypto currency to convert from to=crypto currency to onvert to amount=amount to convert
Example:
https://api.freecryptoapi.com/v1/getConversion?from=BTC&to=ETH&amount=1000
Sample Response:
Historical Data RequestsPlus
You can request last x days of historical data for a crypto currency.
Endpoint URL:
https://api.freecryptoapi.com/v1/getHistory
Required Parameters:
symbol=a single crypto currency or pair days=last number of days to get data from
Example:
https://api.freecryptoapi.com/v1/getHistory.php?symbol=BTC&days=5
Sample Response:
Historical Timeframe RequestsPlus
You can request a crypto currency's or pair's daily historical data.
Endpoint URL:
https://api.freecryptoapi.com/v1/getTimeframe
Required Parameters:
symbol=a single crypto currency or pair start=from date in format: yyyy-mm-dd end=to date in format: yyyy-mm-dd
Example:
https://api.freecryptoapi.com/v1/getTimeframe.php?symbol=ETHBTC@binance&start=2022-05-05&end=2022-05-10
Sample Response:
Freecryptoapi.com