Mastodon Scraper — Posts, Hashtags & Timelines avatar

Mastodon Scraper — Posts, Hashtags & Timelines

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Mastodon Scraper — Posts, Hashtags & Timelines

Mastodon Scraper — Posts, Hashtags & Timelines

Scrape public posts from any Mastodon/Fediverse instance. Browse public timelines, search by hashtag, view account statuses, or search posts across the instance — no authentication required.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Giovanni Bucci

Giovanni Bucci

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Mastodon Scraper

Scrape public posts from any Mastodon or Fediverse instance — no authentication required.

Features

  • Public Timeline — Browse local or federated public posts from any instance
  • Hashtag Timeline — Find all public posts with a specific hashtag
  • Account Statuses — View all public posts by a specific account
  • Search — Full-text search across public posts on an instance

Input

FieldTypeDefaultDescription
instancestringhttps://mastodon.socialBase URL of the Mastodon instance
modeselectpublicTimelinepublicTimeline, hashtagTimeline, accountStatuses, search
hashtagstringHashtag (without #) for hashtagTimeline mode
accountIdstringNumeric account ID for accountStatuses mode
querystringSearch keyword for search mode
localbooleantrueLocal-only posts (publicTimeline mode)
limitint20Max results (1–40)

Output

Each result is pushed as a JSON record to the Apify dataset with standardized fields:

All modes — id, uri, created_at, content, url, visibility, language, favourites_count, reblogs_count, replies_count, sensitive, spoiler_text, account_id, account_username, account_display_name, account_acct, tags[], media_attachments[]

Mode-specific — type field indicates the source, plus hashtag/query/account_id metadata

Supported Instances

Works with any Mastodon, Pleroma, or compatible Fediverse instance that has public API access enabled. Tested with:

  • mastodon.social, fosstodon.org, tech.lgbt, hachyderm.io, and many more

Use Cases

  • Monitor brand mentions across the Fediverse
  • Track hashtag trends and community discussions
  • Research public discourse on topics
  • Build datasets for NLP and sentiment analysis
  • Follow specific accounts' public activity

Automation & Integration

  • Schedule daily scans via Apify's built-in scheduler — track hashtags over time
  • Connect to Make.com, Zapier, or n8n via Apify integrations
  • Export to Google Sheets, Slack, or any webhook from the Apify dataset
  • Combine with Bluesky Scraper for cross-platform social monitoring

Technical

  • Built with Python + httpx
  • Uses the Mastodon REST API at /api/v1/
  • Public endpoints only — no OAuth needed on most instances
  • Some instances may require OAuth if public preview is disabled (rare)