Posting Bot Stats

To post your bot stats to the InfinityBotList API you first need to find out your Client ID this can be located on the Discord Developer Portal in your bot application, now follow the steps below to get started!

Domain

api.infinitybotlist.com/bot/:id Where is says :id please replace with your bot's ID / Client ID. (Example: :12345678910)

Domain Parameters

":id" means botID or your clientID

Headers

"authorization": Your bot's API token, which can be found on its page "Content-Type": application/json

Body Parameters

"servers": Bot servers count "shards": Bot shards count if sharding

JSON

res.json: receive response from our API handler

RESPONSE

Success: [200] "MESSAGE"

Not Found: [404] "MESSAGE"

Rate Limit: [429] "MESSAGE"

Internal Server Error: [500] "MESSAGE"

Error: [400] "MESSAGE"

Example:

post
Posting Stats

https://api.infinitybotlist.com/bot/:id
Posting The Stats To The API.
Request
Response
Request
Headers
Content-Type
optional
string
‚Äč
authorization
required
string
YOUR_TOKEN
Response
200: OK
SUCCESS: res.json
404: Not Found
Not Found!
429: Too Many Requests
RATE LIMITED