For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
The server responds to a user’s request by issuing status codes when the request is made to the server. Kindly refer to the table below to further understand the status codes that indicate the success or failure of an API call.
Status Codes
Description
400 (Bad Request)
This is due to an invalid request and the server could not process the user’s request
401 (Unauthorized)
This is due to the lack of valid authentication credentials for the requested resource by the user
403 (Forbidden)
This is likely indicating that your access is blocked by our server, and we’re unable to authorize your request
408 (Timeout)
This error indicates that our server did not receive your complete request within our allowed time frame. This is usually caused by a slow network connection on your end or network latency. Please check your connection and try sending the request again.
429 (Too many requests)
This is likely indicating that the rate limit has been reached. The user should reduce the number of calls made, or consider upgrading to a service plan that has much higher rate limits and call credits
500 (Internal Server Error)
This is a generic error response indicating that the server has encountered an unexpected issue that prevented it from fulfilling the request
You may not have access to this endpoint. e.g. ‘This request is limited to Pro API subscribers’. You may want to subscribe to a paid plan here
10002 (Missing API Key)
API Key Missing. Please make sure you’re using the right authentication method. For Pro API, ensure you pass in x_cg_pro_api_key parameter with a Pro Key. For Demo API, ensure you pass in x_cg_demo_api_key parameter with a Demo Key.
10010 (Invalid API Key)
You have provided incorrect API key credentials. If you are using Pro API key, please change your root URL from api.coingecko.com to pro-api.coingecko.com
10011 (Invalid API Key)
You have provided incorrect API key credentials. If you are using Demo API key, please change your root URL from pro-api.coingecko.com to api.coingecko.com
CORS error
Occurs when the server doesn’t return the CORS headers required. You may learn more and attempt the recommended solutions here
Rate Limit
Notes
If you’re using the Public API with Google Sheet and got hit with an error, this is due to the IP sharing among Google Sheet users, and we have no control over this.
If you need reliable performance, please register for a demo account or subscribe to a paid plan that comes with dedicated infra (API key) to prevent rate limit issues.