Skip to main content
idapt
HomeAI ModelsExploreResourcesPricing
Sign inUse for Free
All integrations

Mastodon

Post statuses, read timelines and follow accounts on any Mastodon server.

Social
Connect MastodonMastodon docs

How an agent reaches it

MCPREST APICLI

How you authenticate

API key
Get an API key
  1. On YOUR server open Preferences, then Development, then New application.
  2. Grant read and write scopes, then copy the access token.
  3. Set the URI rule to your own server's domain. A token from one Mastodon server is worthless on another.

Connection details

Base URL
https://mastodon.social/api/v1
Pagination
link_header

Common endpoints

who am IGET /accounts/verify_credentials
post a statusPOST /statuses
home timelineGET /timelines/home
searchGET /../v2/search?q={q}

Worth knowing

  • Mastodon is federated: the base URL is the user's OWN server. mastodon.social is only the largest instance, not the API.
  • Posting the same text twice in quick succession is deduplicated silently unless Idempotency-Key differs.
  • Character limits are per-server (500 by default) and are advertised at /api/v1/instance.
  • Home
  • Pricing
  • AI Models
  • Skills
  • Image models
  • Voice models
  • Video models
  • Rankings
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • Blog
  • About
  • Comparisons
  • Benchmarks
  • Model Match
  • Demos
  • Help center
  • FAQ
  • Privacy
  • Support
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Migrate
  • Downloads
  • Desktop
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)Discord