Trades api endpoint returns 401 Unauthorized

I am using this python code and it returns 401 unauthorized.
import urllib.request
url = “https://api.nomics.com/v1/trades?key=your-api-key&exchange=gemini&market=yfiusd&limit=2500&order=asc&from=2021-01-17T00%3A00%3A00Z
print(urllib.request.urlopen(url).read())
can someone help ?

You need to put your API key in where it says your-api-key.