Mastodon Scraper - Hashtags & Public Timeline (No Login) avatar

Mastodon Scraper - Hashtags & Public Timeline (No Login)

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Mastodon Scraper - Hashtags & Public Timeline (No Login)

Mastodon Scraper - Hashtags & Public Timeline (No Login)

Scrape public Mastodon posts by hashtag across any instance, plus the public timeline where allowed. Clean text + engagement + author data. No login.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Arjun Annamalai

Arjun Annamalai

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Mastodon Scraper 🐘 — Hashtags & Public Timeline (No Login)

Scrape public Mastodon posts across the fediverse — by hashtag on any instance, plus the public timeline where allowed. Clean, HTML-stripped text with engagement and author data. No login required. Export to JSON/CSV/Excel.

For social listening, lead generation, and researchers tracking the migration off X/Twitter.

What makes it better

  • Works everywhere — hashtag timelines work even on instances (like mastodon.social) that now require login for the public timeline. Most scrapers break there; this one doesn't.
  • Any instance — point it at mastodon.social, mastodon.world, fosstodon.org, or your own.
  • Clean output — HTML stripped to plain text, with favourites/boosts/replies and author follower counts.

Example input

{
"instance": "mastodon.social",
"hashtags": ["ai", "opensource"],
"includePublicTimeline": false,
"maxItems": 200
}

Example output

{
"url": "https://mastodon.social/@user/123",
"text": "Just shipped a new open-source AI tool!",
"authorAcct": "user",
"authorFollowers": 1840,
"favourites": 23,
"reblogs": 7,
"tags": ["ai", "opensource"]
}

Use cases

  • Track a hashtag for brand/topic monitoring.
  • Build lead lists of people posting about your niche.
  • Research fediverse trends and sentiment.

Tip

For the public/federated timeline, use a permissive instance like mastodon.world — mastodon.social requires login for it (but hashtags work fine there).

Run locally

pip install -r requirements.txt
python3 local_test.py

Then apify push.


Reads public data via the Mastodon API. Not affiliated with Mastodon gGmbH.