HTTPError: HTTP Error 401: Unauthorized

Hi,

I used the below command on python including my api_key provided by email but returns with an unauthorized error. I double-checked my API key as well.

url = “https://api.nomics.com/v1/orders/snapshot?key=api_key&exchange=binance&market=BTCUSDT&at=2021-04-01T12%3A00%3A00Z

print(urllib.request.urlopen(url).read())

Can someone help understand what could be an issue here? I got the API key by email about 40 minutes ago just in case it may take more time to be active.

Thanks,
Gaurav

Hello,

The free API only includes the Currencies Ticker endpoint here:
https://nomics.com/docs#tag/Currencies-Ticker

Order books are part of our commercial API. If you’re interested in a commercial plan please email support@nomics.com.