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"
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.
| Endpoint | Credits | What it returns |
|---|---|---|
| /announcement-channel | 20 | List the latest public posts of a Discord announcement channel, with text, attachments and reactions. |
| /announcement-channel/post | 20 | Get one public Discord announcement post by channel and message id. |
| /announcements/index | 20 | List public announcement channel and post ids from the public Discord catalogue. |
| /application | 20 | Get a public Discord application record, with its app-directory detail when the application is discoverable. |
| /application/similar | 20 | List the applications Discord's app directory shows as similar to one application, paged. |
| /applications/collections | 20 | List Discord's curated app-directory collections and the applications in each. |
| /applications/index | 20 | List application ids from the public Discord app-directory catalogue. |
| /game | 20 | Get a Discord game page with its genres, platforms, links, media, review scores and official server. |
| /games/index | 20 | List game ids and slugs from the public Discord game catalogue. |
| /games/trending | 20 | List Discord's ten weekly trending games, by week and optional category, with their official servers. |
| /invite | 20 | Get a Discord invite's live member and online counts, the server behind it, its boosts, tag, traits and games. |
| /server | 20 | Get a Discord server's public page with its members, categories, keywords, links and announcements. |
| /server/widget | 20 | Get a Discord server's public widget with its online count, voice channels and invite. |
| /servers | 20 | List the public Discord server directory by category, with the largest servers first on the first page. |
| /servers/index | 20 | List Discord server ids and slugs from the public directory. |
| /servers/search | 20 | Search the public Discord server directory by relevance, with an optional category filter. |
| /template | 20 | Get 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 API | Official Discord API | |
|---|---|---|
| Whose servers | Any public server, invite or directory listing | Servers your bot has joined |
| Setup | Sign in and copy a key | A Discord application, a bot token and an invite into each server |
| Cost per call | 20 credits | No 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.
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.
No. It reads only what Discord makes public: invites, the server and app directories, game pages and announcement channels that are published. Chat inside a server is not available.
They return the source's own record structure under our naming rules (snake_case keys, string ids, ISO times where a timestamp is given) rather than the shared profile and post entities, so fields may change. Every Discord endpoint is 20 credits a call. Calls that fail or find nothing are free.
No. There is no Discord app, OAuth flow or review. One API key in the x-api-key header works for Discord and the other 60 platforms.
Yes. Your first 10 calls priced at 100 credits or less are free, and the free plan includes 500 credits every month. No credit card is needed to get a key.
60 requests a minute and 10 requests in flight at once, per API key. Going over either returns a 429 with a Retry-After header, and a rejected request costs nothing. There is no daily quota: past those two limits, your credit balance is what bounds volume.
List endpoints return rows in data.items and a pagination object with next_cursor and has_more. Send next_cursor back unchanged as the cursor parameter for the next page, and stop when has_more is false. A handful of endpoints page with their own parameter instead; their reference pages name it.
No. A call that errors or finds nothing costs 0 credits. A live fetch costs the endpoint's price, or for a metered endpoint what it actually read. 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.
A call fetches live unless a recent copy is in the shared cache, and every response says which with the cached field; a cached answer costs 2 credits. Add fresh=1 or send Cache-Control: no-cache to skip the cache; that call is charged at the normal price.
Collecting publicly available data is generally treated differently from accessing private data, but the answer depends on your jurisdiction, Discord's terms and what you do with personal data afterwards. The API reads public data only. Talk to a lawyer for anything commercial.
Discord API guides
The same key works for 60 more platforms
- TikTok scraper API
- LinkedIn scraper API
- Twitter/X scraper API
- YouTube scraper API
- Reddit scraper API
- Pinterest scraper API
- Bluesky scraper API
- Truth Social scraper API
- Snapchat scraper API
- Telegram scraper API
- Twitch scraper API
- Kick scraper API
- Rumble scraper API
- Kwai scraper API
- Douyin scraper API
- Xiaohongshu (RedNote) scraper API
- Quora scraper API
- TikTok Shop scraper API
- Weibo scraper API
- Zhihu scraper API
- Substack scraper API
- Nextdoor scraper API
- Amazon scraper API
- App Store scraper API
- Apple Music scraper API
- Behance scraper API
- Dailymotion scraper API
- Deezer scraper API
- DEV Community scraper API
- Dribbble scraper API
- Fandom scraper API
- Flickr scraper API
- GitHub scraper API
- Google Ads Transparency scraper API
- Google News scraper API
- Google Trends scraper API
- Gumroad scraper API
- Hacker News scraper API
- Hugging Face scraper API
- Ko-fi scraper API
- Lemmy scraper API
- Letterboxd scraper API
- Linktree scraper API
- Lnk.Bio scraper API
- Mastodon scraper API
- Medium scraper API
- MyAnimeList scraper API
- npm scraper API
- Polymarket scraper API
- Product Hunt scraper API
- Shopify scraper API
- SoundCloud scraper API
- Spotify scraper API
- Stack Overflow scraper API
- Stan Store scraper API
- Steam scraper API
- Vimeo scraper API
- Wikipedia scraper API
- Yahoo Finance scraper API
- Yelp scraper API