9

Can you please list all the API providers for cryptocurrency to USD

Thanks in advance.

4 Answers 4

26

I recommend CryptoCompare: https://www.cryptocompare.com/api/

Example:

GET https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=BTC,USD,EUR

{"BTC":0.1048,"USD":858.99,"EUR":662.93}
5
  • Is there any limit to call it in a day Feb 2, 2018 at 11:07
  • 2
    6000 requests per hour per IP Feb 2, 2018 at 11:16
  • 1
    Can you list API with unlimited or more request per hour Feb 6, 2018 at 6:32
  • 1
    Capped at 250,000 calls though :/ would work for a while. I have a script that calls it every 5 minutes and displays the value in my terminal. It would work for a little over two years.
    – Noah Gary
    Aug 13, 2021 at 16:24
  • Is it possible to pass an amount in USD and get ETH amount back? or is there a way to calculate amount in ETH given fiat amount? ie: 1USD => ?? ETH?
    – chovy
    Dec 3, 2021 at 12:57
11

https://developers.coinbase.com/api/v2#exchange-rates By coinbase ,I think best api for exchange rates with accurate data

example for ethereum: https://api.coinbase.com/v2/exchange-rates?currency=ETH

1
  • 3
    This is a great universal solution without limits. Should be the accepted answer.
    – Noah Gary
    Aug 13, 2021 at 16:34
3

I am using Etherscan Api

https://api.etherscan.io/api?module=stats&action=ethprice&apikey=YourApiKeyToken

{"status":"1","message":"OK","result":{"ethbtc":"0.01861","ethbtc_timestamp":"1566457540","ethusd":"185.73","ethusd_timestamp":"1566457537"}}

1

Along with above 2 options, there are more:

  1. Coingecko : they have npm module so no integration efforts are needed

https://www.coingecko.com/api/docs/v3#/simple/get_simple_price

  1. coinmarketcap

https://coinmarketcap.com/api/documentation/v1/#operation/getV1ToolsPriceconversion

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.