[Ethereum] the best free api for ETHEREUM price


I use the api below for bitcoin price :
But coindesk hasn't ETHEREUM price in it's api.
What api should i use to get ETHEREUM price?

Also the api below does not work any more :

Best Answer

Try https://min-api.cryptocompare.com.

Here is an example of how you can fetch information programmatically:

const request = require("request");

request.get("https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD,EUR,CNY,JPY,GBP", function(error, response, body) {
    if (error)
        throw error;
    else if (!response)
        throw new Error("no response");
    else if (response.statusCode != 200)
        throw new Error("bad response");
        console.log(JSON.stringify(JSON.parse(body), null, 4));
Related Topic