Mastodon API vs X API (v2)
Mastodon APIby MastodonPaid fromNot statedAccessHTTP, Webhooks, OtherAgentsNot agent-friendlyAPI QA score[SCORE]View API
X API (v2)by X Corp.Paid fromNot statedAccessHTTP, SDK, Webhooks, OtherAgentsNot statedAPI QA score[SCORE]View API
Fact by fact
3 different14 stated by only one
The basics
What it isMastodon API: The REST and streaming API every Mastodon server exposes for posting statuses, reading timelines, accounts, notifications and media, open to any client appX API (v2): Read, search, stream and post on X: posts, users, follows, lists, Spaces, communities, DMs, media, compliance
AccessMastodon API: HTTP, Webhooks, OtherX API (v2): HTTP, SDK, Webhooks, Other
Still on saleMastodon API: YesX API (v2): Not stated
What they work on
Only one of themMastodon API: ImageNotificationHashtagX API (v2): ArticleCommunityCommunity noteCompliance jobDirect messageLive streamPlaylistTranscriptTrendWebhook event
Price
PricesMastodon API: Not statedX API (v2):
- Pay per use: Post: Create$0.015 /request
Buying and paying
Agent gets a key aloneMastodon API: Noan app can register itself by API, but acting for a user needs that user's OAuth approvalX API (v2): Not stated
First call without a keyMastodon API: YesGET https://mastodon.social/api/v2/instance answered JSON with no tokenX API (v2): Not stated
Payment railsMastodon API: nonefree; the project is funded by donationsX API (v2): Not stated
Payment protocolsMastodon API: nonefreeX API (v2): Not stated
Subscription requiredMastodon API: NofreeX API (v2): Not stated
Smallest purchase (USD)Mastodon API: From $0freeX API (v2): Not stated
Price published as dataMastodon API: NoX API (v2): Not stated
Reading and signing up
Public pricesMastodon API: Yesfree and open source; servers are free to join or runX API (v2): Not stated
Self-serve sign-upMastodon API: Yesan app registers with POST /api/v1/apps on any server; user tokens by OAuthX API (v2): Not stated
Free useMastodon API: Yesno charge for API useX API (v2): Not stated
OpenAPIMastodon API: Nono OpenAPI file published by the projectX API (v2): Not stated
Docs without loginMastodon API: Yesdocs.joinmastodon.org publicX API (v2): Not stated
Jobs both do
Open a job to see every API that does it.

