After subscribing to CoinGecko API paid plans, you can follow this guide below to start using our Pro version API:
1. API Usage Report
- Go to Developer's Dashboard
- You can check your month-to-date API usage report and the timestamp when you last used your Pro API
2. Create a new API Key
- Go to Developer's Dashboard
- Click on “Add Key” and a new API Key will be created
3. Making API request
-
Root URL for PRO Api: https://pro-api.coingecko.com/api/v3
You will be using the newly created API Key as query parameter (please refer to request example below for better understanding) -
Request Example:
curl https://pro-api.coingecko.com/api/v3/ping?x_cg_pro_api_key=YOUR_API_KEY - You can check list of all available endpoints here in our official documentation:- https://docs.coingecko.com
Tips:
-
Remember to add &x_cg_pro_api_key= and replace YOUR_API_KEY with your own API Key.
-
Here's an example of calling Bitcoin's market data with your Pro API key: https://pro-api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=bitcoin&x_cg_pro_api_key=YOUR_API_KEY
-
You can also supply your API key via custom header named: x-cg-pro-api-key
4. Editing or Deleting API Key
- Go to Developer's Dashboard and click “Edit” on a specific API Key
- Click “Delete Key” to delete this API key
- You can also update the “Label” and click “Confirm” to confirm your update
Questions?
Please visit our help center for the full list of questions.
If you have any questions or concerns, please do not hesitate to submit a support ticket.
Comments
0 comments
Article is closed for comments.