API Key
The Cookie API uses API keys to authenticate requests. You can get your API key from Dashboard . Ensure you keep your API key secure.
Please note that our Documentation is currently being rebuild. Some pages may be unfinished or contain mistakes.
Cookie API is community based project developed by The_Cookie and redxXxkiller. Started developing endpoints for Botghost afterwards for larger audience of developers.
API Key
The Cookie API uses API keys to authenticate requests. You can get your API key from Dashboard . Ensure you keep your API key secure.
How to Use Your API Key
Include your API key in the URL Params or Request Headers of every request
For security reasons, we recommend using the API key in the request headers. You will find more information about your API Key: here
To ensure fair usage, the Cookie API imposes rate limits. Each account is allowed 80 requests per minute. If you exceed this limit, you will receive a 429 Too Many Requests
response.
{ "message": "Requests limit reached. Please try again later.", "resets_in": "55", "success": false}
The Cookie API uses standard HTTP status codes to indicate the success or failure of an API request. Here are some common status codes:
HTTP Status Code Summary | ||
---|---|---|
200 | OK | The request was successful. |
400 | Bad Request | The request was invalid or cannot be otherwise served. |
401 | Unauthorize | Missing or Invalid API Key. |
404 | Not Found | The requested resource could not be found. |
500 | Internal Server Error | Something went really wrong. (Report it in the Discord Server) |
502 | Bad Gateway | Usually happens when the server restarted or is restarting. |
402 | Payment Required | Premium is required to able to use this feature |
For all Possible errors along with a detailed description and a way on how to resolve it, you will find on our Status Codes here
Badges Summary | |
---|---|
WIP | Work in Progress, Feature is currently in the works, no exact eta when it will come. |
Depracted | This feature will still be hosted but no longer updated. |
Offline | Feature was taken offline for update or maintanace, no exact eta when it would come back online |
Planned | Feature is on our plan, but no exact eta will be announced |
Paid / Premium | Feature requires payment to be able to be used |
If you need further assistance, join our Discord Server to get help from our community and the Cookie API team. Our support team is active and ready to assist you with any issues you may face.