Toutes les API gratuites
API gratuiteRéseaux sociauxOAuthOfficiel

Mastodon API

Read public fediverse timelines and posts from any instance, often keyless

Every Mastodon instance exposes the same REST API. Public, local, and hashtag timelines plus individual statuses and public account posts can be read without authentication when the instance admin allows public preview (the default on large instances like mastodon.social). Posting and home timelines require an OAuth app token.

Palier gratuit

Free; public reads keyless, posting needs OAuth

Limites de débit

300 requests / 5 min per IP (default; instance-configurable)

Authentification

OAuth

URL de base

https://mastodon.social/api/v1

Ce que vous pourriez construire avec

  • Monitor a hashtag across the fediverse for brand or topic mentions
  • Mirror a public account's posts into a content feed
  • Auto-post automation announcements to a Mastodon account via OAuth

Endpoints clés

  • GET/timelines/publicFederated or local public timeline (no auth if instance allows)
  • GET/timelines/tag/{hashtag}Public posts for a hashtag
  • GET/accounts/{id}/statusesA public account's recent posts
  • POST/statusesCreate a post (Bearer token required)
Members

Members get the runnable recipe

Sign in free to copy the example request, see a sample response, and read the gotchas.

Tags

socialfediversetimelinecontent