X API (v2) vs Discord API
X API (v2)by X Corp.Paid fromNot statedAccessHTTP, SDK, Webhooks, OtherAgentsNot statedAPI QA score[SCORE]View API
Discord APIby DiscordPaid fromNot statedAccessHTTP, SDKAgentsNot agent-friendlyAPI QA score[SCORE]View API
Fact by fact
3 different10 stated by only one
The basics
What it isX API (v2): Read, search, stream and post on X: posts, users, follows, lists, Spaces, communities, DMs, media, complianceDiscord API: Runs bots and apps in Discord servers: send and read messages, manage channels and members, and answer slash commands
AccessX API (v2): HTTP, SDK, Webhooks, OtherDiscord API: HTTP, SDK
Still on saleX API (v2): Not statedDiscord API: Yes
What they work on
BothCommunity
Price
PricesX API (v2): Discord API: Not stated
- Pay per use: Post: Create$0.015 /request
Buying and paying
Agent gets a key aloneX API (v2): Not statedDiscord API: Nobot token made in the developer portal
Subscription requiredX API (v2): Not statedDiscord API: No
Pay per callX API (v2): Not statedDiscord API: Nono charge
Reading and signing up
Public pricesX API (v2): Not statedDiscord API: Nono price stated for the API
Self-serve sign-upX API (v2): Not statedDiscord API: Yescreate an app in the developer portal
Free useX API (v2): Not statedDiscord API: Yesno fee stated
OpenAPIX API (v2): Not statedDiscord API: Yesgithub.com/discord/discord-api-spec
Docs without loginX API (v2): Not statedDiscord API: Yesdiscord.com/developers/docs
Jobs both do
Open a job to see every API that does it.

