Mastodon API
Track hashtag trends across the Fediverse
Pull toots, timelines, trending hashtags, and account stats from any Mastodon instance. Build a cross-instance trend monitor.
Free. Each instance has its own API. ~300 requests/5 min.
How it works with Loony
Describe it.
Deploy it.
Query it.
Managed database.
Your Mastodon data lives in its own Postgres instance. Zero config. Data accumulates over time.
Scheduled syncs.
Cron jobs run on Loony infra. Every minute on free. Your data stays fresh without you thinking about it.
REST + MCP endpoints.
Query from your agent, your dashboard, or connect BI tools directly. Full OpenAPI spec included.
$ "Pull trending hashtags and popular toots from 3 Mastodon instances daily. Build a unified trend tracker across the Fediverse." ✓ Schema validated ✓ Database provisioned ✓ Scripts deployed ✓ Schedules registered Done. # Your data is now at: REST /data/v1/mastodon/query MCP /mcp/v1/mastodon/mcp SQL psql $DATABASE_URL
What you get
Mastodon is decentralised, which means trends are fragmented across instances. Loony can pull from multiple instances into one database, giving you a unified view of what's trending across the Fediverse.
mv_fediverse_trends date date -- observation date hashtag text -- trending tag instance_count integer -- seen on N instances toot_count integer -- total uses today top_toot text -- highest engagement accounts integer -- unique posters
Even better together
Pair Fediverse trends with HN and NewsAPI for a complete picture of what the tech community is talking about across platforms.