Fetching The top 10 ranks in the ticker api

Hi,
I am currently trying to make a function to list the top 10 crypto according to rank, but since I am a beginner to json and python, can anyone help me do this?

Hello,

You’re using the correct endpoint, and it’s already ordered by rank. Take the first 10 items from the array after parsing the json and you’re all set.

Note that we have request samples in many languages in our documentation:

https://docs.nomics.com/#operation/getCurrenciesTicker

1 Like