403 forbidden error?

With

   const ethPrice = await axios.get(
      "https://cors-anywhere.herokuapp.com/https://api.nomics.com/v1/currencies/ticker?my-correct-key-here&ids=BTC,ETH,XRP&interval=1d,30d&convert=EUR&per-page=100&page=1"
    );
    console.log(ethPrice);

gives me this 403 forbidden error

How can I fix this?

Hello,

We can’t provide support for cors-anywhere. Please post a Nomics API request. If you are having CORS errors with Nomics API, see here:

Once that attribution is set up, email support@nomics.com to get your domain allowed for CORS.

403 is a CORS error?

The API request is there:


 https://api.nomics.com/v1/currencies/ticker?my-correct-key-here&ids=BTC,ETH,XRP&interval=1d,30d&convert=EUR&per-page=100&page=1

Straight from the docs.

https://cors-anywhere.herokuapp.com/ is just a URL to bypass CORS since i got in local host even though docs said I wouldn’t…

Great then if you follow the link I posted for attribution and you email the address I posted we can get your domain added.