↑ ↓ to move ↵ to open

Discord API reference

At a glance

Platform ID
discord
Endpoints
3
Price
From 1 credit per call; failed calls are free
Pin in MCP
https://data.upscrape.com/mcp?platforms=discord
Pin tools
OpenAPI
openapi.json
Download

The Discord API has 3 endpoints, called the same way: POST /execute with the endpoint ID as capability and its fields as input, or pin Discord in the MCP server and call each one as a tool. The data comes back as JSON in results[0].data, with what the call cost in billing.credits_charged.

Every endpoint costs 1 credit per call, and a failed call costs nothing.

Endpoints

Open an endpoint for its input, the fields it returns and the request in cURL, Python and Node.js.

EndpointWhat it returnsPrice
discord.server.get_widget Read a server's public widget: online presence count, voice channels, and a live sample of online members. 1 credit
discord.server.resolve_invite Resolve a Discord invite URL or code into its public server preview: name, description, features, booster tier, and member and online counts. 1 credit
discord.snowflake.inspect Decode any Discord snowflake ID into its UTC creation time and internal parts. 1 credit

Something missing or unclear? Ask the team that builds the Discord endpoints.