Endpoint exchange-rates data deviation

Hey,

I’m wondering about the endpoint /exchange-rates:

  1. The endpoint currently returns less than 200 currencies.

  2. The given currencies are for the most part not listed in your

/currencies/ticker endpoint, for example the given currencies “AED”,

“AFN”, “AUD” …

Is this a bug? Or do I misunderstanding something?

Hi Marc,

According to the docs at https://docs.nomics.com/#tag/Exchange-Rates

The exchange rates endpoint returns the current exchange rates used by Nomics to convert prices from markets into USD. This contains Fiat currencies as well as a BTC and ETH quote prices. This endpoint helps normalize data across markets as well as to provide localization for users.

So, this is to convert prices from USD to other fiat currencies or BTC or ETH.

If you want to convert crypto to crypto, use the currency ticker’s convert option:

https://api.nomics.com/v1/currencies/ticker?key=2018-09-demo-dont-deploy-b69315e440beb145&ids=BTC&interval=1d&convert=ETH

Thanks for your clarification. I thought the /exchange-rates endpoint replaces the deprecated /prices endpoint.

The /ticker endpoint is quite overloaded for my purpose as I only need the current USD price of crypto assets.

Can say how long the deprecated prices endpoint will be alive and if it’s data is correct? Or are there any plans or possibilities to filter the ticker endpoint by only required attributes?

Regards, Marc

You can remove the interval data by using interval=false. We don’t have an end date for the prices endpoint, but we will give a significant heads up before removing it. We do have plans for attribute filtering but it’s not a priority at the moment.

Here is the most minimal version of the ticker:

https://api.nomics.com/v1/currencies/ticker?key=2018-09-demo-dont-deploy-b69315e440beb145&interval=false