InsightSocial

Discord scraper API

The InsightSocial Discord API has 17 endpoints, from 20 credits a call. A invite call costs 20 credits, about $0.02 on Pro, and your first 10 calls up to 100 credits each are free.

The Discord API for public server data without a bot: invite and member counts, the public server and app directories, trending games and announcement channel posts, as JSON.

17 endpoints · from 20 credits a call · 10 free calls up to 100 credits each · no credit card

curl "https://api.insightsocial.app/v1/discord/invite?code=python" \
-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
200 OKJSON
{
"success": true,
"platform": "discord",
"endpoint": "/v1/discord/invite",
"schema_version": "2",
"data": {
"invite": {
"code": "python",
"type": "guild",
"expires_at": null,
"channel": {
"id": "267631170882240512",
"name": "welcome",
"type": "text"
}
},
"server": {
"id": "267624335836053506",
"name": "Python",
"icon_url": "https://cdn.discordapp.com/icons/267624335836053506/example.png",
"members": 428389,
"online": 34216,
"boosts": {
"count": 29,
"tier": 3
},
"verification_level": "medium",
"vanity_code": "python"
}
},
"unavailable": [],
"credits_used": 0,
"charge_reason": "miss",
"free_call": true
}

What Discord data can you get?

Public Discord data only, in the same JSON envelope as every other platform. Every Discord endpoint is beta: inside data it returns Discord's own structure under our naming rules (snake_case keys, string ids, ISO times where Discord gives a timestamp), not the shared profile and post schema, and fields may change.

Invites and servers

The server behind an invite with its member and online counts and boosts, a server's public page, and its public widget.

Server directory

The public server directory by category, largest servers first, and directory search.

Apps and games

App-directory records and similar apps, curated collections, game pages with genres and review scores, and the weekly trending games.

Announcement channels

The latest public posts of an announcement channel with text, attachments and reactions, and one post by id.

What people build with the Discord API

  • Community size tracking

    Read the invites of your community and its peers on a schedule to follow member and online counts over time.

  • Finding communities

    Search the public server directory for a topic and rank what comes back by members.

  • Game and app research

    Follow the weekly trending games and app-directory collections to see what Discord users pick up.

Discord API endpoints

All 17 Discord endpoints and their price in credits. Every one has a fixed price.

EndpointCreditsWhat it returns
/announcement-channel20List the latest public posts of a Discord announcement channel, with text, attachments and reactions.
/announcement-channel/post20Get one public Discord announcement post by channel and message id.
/announcements/index20List public announcement channel and post ids from the public Discord catalogue.
/application20Get a public Discord application record, with its app-directory detail when the application is discoverable.
/application/similar20List the applications Discord's app directory shows as similar to one application, paged.
/applications/collections20List Discord's curated app-directory collections and the applications in each.
/applications/index20List application ids from the public Discord app-directory catalogue.
/game20Get a Discord game page with its genres, platforms, links, media, review scores and official server.
/games/index20List game ids and slugs from the public Discord game catalogue.
/games/trending20List Discord's ten weekly trending games, by week and optional category, with their official servers.
/invite20Get a Discord invite's live member and online counts, the server behind it, its boosts, tag, traits and games.
/server20Get a Discord server's public page with its members, categories, keywords, links and announcements.
/server/widget20Get a Discord server's public widget with its online count, voice channels and invite.
/servers20List the public Discord server directory by category, with the largest servers first on the first page.
/servers/index20List Discord server ids and slugs from the public directory.
/servers/search20Search the public Discord server directory by relevance, with an optional category filter.
/template20Get a Discord guild template by code: its name, usage count, creator id and serialized channel and role layout.

Parameters, response fields and examples for each endpoint are in the Discord API reference.

InsightSocial vs the official Discord API

Discord's API works through bots and OAuth2 apps, and a bot reads the servers it has been added to.

InsightSocial APIOfficial Discord API
Whose serversAny public server, invite or directory listingServers your bot has joined
SetupSign in and copy a keyA Discord application, a bot token and an invite into each server
Cost per call20 creditsNo per-call price; a bot must be in each server

The official API is the right tool for posting, messaging or managing accounts you own. This one is read-only public data.

How much does the Discord API cost?

Discord calls start at 20 credits. Every endpoint's price is in the table above and in the free GET /v1/endpoints catalogue, so you know the cost before you call. Pro's 10,000 monthly credits cover about 500 invite lookups at 20 credits each.

  • Failed calls are free

    A call that errors or finds nothing costs 0 credits.

  • Repeats and retries

    A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.

  • One balance

    API calls and Chrome extension exports share the same credits. The free plan includes 500 a month.

Not writing code?

Connect InsightSocial to Claude or ChatGPT and ask for Discord data in plain English. Same account, same credits.

Use it from Claude or ChatGPT

Discord API: frequently asked questions

Yes. /v1/discord/invite takes an invite code and returns the server behind it with its member and online counts, boosts and verification level. /v1/discord/server reads a server from the public directory by id.