Mastodon Public Posts & Hashtag Scraper
Pricing
$1.00 / 1,000 results
Go to Apify Store
Mastodon Public Posts & Hashtag Scraper
Collect public posts, hashtag timelines and profile posts from Mastodon instances via their open JSON endpoints, with no login.
Pricing
$1.00 / 1,000 results
Rating
0.0
(0)
Developer
James Barnes
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Security
Limited permissionsShare
Monitor a hashtag, track a profile or sample an instance's public timeline on Mastodon, and get clean structured data with no login and no API key. It reads the open JSON endpoints that Mastodon servers expose to logged-out visitors.
Sample output
{"id": "112233445566778899","url": "https://mastodon.social/@Gargron/112233445566778899","instance": "mastodon.social","created_at": "2024-05-01T12:34:56.000Z","language": "en","text": "Example post text about #opensource","spoiler_text": null,"sensitive": false,"author_username": "Gargron","author_acct": "Gargron","author_display_name": "Eugen Rochko","author_url": "https://mastodon.social/@Gargron","author_followers": 300000,"replies_count": 12,"reblogs_count": 30,"favourites_count": 85,"hashtags": ["opensource"],"media": [],"is_reply": false,"boosted_by": null}
(Values above are illustrative of the format.)
Use cases
- Brand and topic monitoring through hashtags
- Research on discussions in the fediverse
- Tracking public posts from specific accounts
- Building datasets of public posts with engagement counts
Input
| Field | Description |
|---|---|
mode | public_timeline, hashtag or profile |
instance | Server domain, e.g. mastodon.social |
hashtags | Hashtags without # (hashtag mode) |
profiles | Handles like Gargron (profile mode) |
maxResults | Total posts to collect (up to 5000) |
localOnly | Only posts created on that instance |
excludeReplies / excludeReblogs | Filter replies or boosts |
minFavourites | Minimum favourites per post |
Pricing
$0.001 per result (per post saved to the dataset). 1,000 posts cost $1.
Limits
- Only public data visible to logged-out visitors is read.
- Some instances disable public timelines or hashtag access without login; those return no results and a warning is logged.
- A hashtag or timeline only shows posts known to the chosen instance, so different instances return different sets.
- Requests are paced at about one per second, with backoff on rate limiting (429).
- No CAPTCHAs are solved and no private contact details are collected.
- Maximum 5000 posts per run.