Developer API Docs
Seamlessly integrate your Discord bot with botliy. Post live stats, retrieve votes, and process real-time webhooks. Built for developers, by developers.
If you encounter issues or need help implementing the API, join our Discord server and ask in the
#api-support channel. We're here to help.
Quick Start
Get your bot integrated in three simple steps.
List your bot
Submit your bot for review. Once approved, head to the edit page to generate your API token and Webhook Secret.
Authenticate Requests
Include your token in the headers of
protected endpoints: Authorization: your_api_token.
Implement Logic
Set up an interval (e.g., 30 mins) to POST your server count, and create an HTTP endpoint on your server to receive Webhook vote events.
Rate Limits
To ensure platform stability, all API requests are subject to rate limiting based on your IP address.
- Global Limit: 1 request per second per IP.
- Stat Posting: We recommend posting stats every 15-30 minutes. Do not post on every guild join/leave event.
If you exceed the rate limit, the API will reject requests with a 429 status. Repeated abuse may result in temporary blacklisting.
Post Stats
| Parameter | Type | Description |
|---|---|---|
server_count Req |
integer | Total number of servers the bot is in. |
shard_count |
integer | Total number of active shards. |
Get Stats
Get Votes
Check Vote (Auth)
| Query Param | Type | Description |
|---|---|---|
userId Req |
string | Discord snowflake ID of the user. |
Get Bot Info
| Field | Type | Description |
|---|---|---|
id |
string | Bot's Discord ID |
username |
string | Bot's Username |
tags |
array | Array of category tags |
votes |
number | Total upvotes |
server_count |
number | Current server count |
average_rating |
number | Rating out of 5.0 |
presence |
string | online/idle/dnd/offline |
Search Bots
| Query Param | Type | Description |
|---|---|---|
q |
string | Search query matching username/description |
tag |
string | Filter by exact tag |
sort |
string | Sort by: votes, new, servers |
limit |
number | Results per page (1-50, default: 20) |
offset |
number | Pagination offset (default: 0) |
Get Reviews
Has User Voted (Public)
Platform Stats
Webhook Events
Receive real-time POST requests to your server immediately when a user votes for your bot. Configure the URL in your bot edit panel.