Sync your bot's server count
Bot cards show how many servers a bot is in, when the developer chooses to share it. This guide keeps that number current from your bot’s own code.
You’ll need an API key from the bot’s owner or from a developer listed on the bot. Co-developers can use their own keys.
The endpoint
{id} can be your bot’s Fluxer bot ID, its FluxerList UUID, or its listing slug. The body is a single field.
serverCount must be a non-negative integer. On success you get the stored value back. Full details are in the API reference.
Post on a schedule
Post every 30 minutes or so. Posting on every guild join and leave adds requests without making the number meaningfully more accurate, and this endpoint is capped at 12 requests/hour per key (see Rate limits).
Troubleshooting
I get 403 Forbidden
The key isn’t tied to the bot’s owner or a listed developer. Use the owner’s key, or ask the owner to add you as a co-developer on the listing. Bots can have up to 5.
I get 404 Bot not found
Double-check the ID. It should match the bot’s Fluxer bot ID, FluxerList UUID, or listing slug.
I get 400
serverCount must be a whole number of 0 or more. Strings such as "12345" are rejected, so send a number.
I get 5xx errors or timeouts
FluxerList may be having problems. Check the status page. Your scheduled post will retry on its own next time, so there’s no need to retry in a tight loop.
The number on my card didn't change
The listing only shows a server count if you’ve chosen to share it. Check your bot’s edit page.