Skip to content

Commit

Permalink
api: switch to coingecko pro url (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
ns212 authored Jun 23, 2023
1 parent dc2ffd6 commit 054763c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/market_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def coingecko(args):
"accept": "application/json",
"x-cg-pro-api-key": api_key,
}
url = "https://api.coingecko.com/api/v3/simple/price"
url = "https://pro-api.coingecko.com/api/v3/simple/price"
resp = requests.get(url, params=args, headers=headers_dict)
data = resp.json()
return data
Expand Down

2 comments on commit 054763c

@vercel
Copy link

@vercel vercel bot commented on 054763c Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 054763c Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.