The Nunu List API gives your bot or website the public data of servers and members on Nunu List, and tells your server's bot who voted. It answers in JSON at https://list.nunubot.org/api/v1.
1. Read a server, no key needed
curl https://list.nunubot.org/api/v1/servers/112233445566778899
Public routes work without a key at 30 requests a minute per IP address.
2. Make a key for your server
Open My servers, pick your server and press API & webhooks. Press Make a key and copy it: it is shown only once. Send it in the Authorization header.
curl -H "Authorization: nl_your_key" https://list.nunubot.org/api/v1/servers/112233445566778899/voted/123456789012345678
3. Get every vote as it happens
On the same page, save a webhook address (https). Nunu List sends a signed POST for every bump and every new heart. See Webhooks for the payload and how to check the signature.
Next
All endpoints · Rate limits · Errors · Widgets · Changelog
Listed a bot?
Bots get a key the same way, on the bot's API & webhooks page. Post your server count with POST /bots/{id}/stats and check votes with GET /bots/{id}/voted/{userId}. See Endpoints.