Mastodon Scraper (Hashtags, Accounts, Trending)
Pricing
from $0.30 / 1,000 posts
Mastodon Scraper (Hashtags, Accounts, Trending)
Scrape public Mastodon posts by hashtag, account or trending list on any instance: text, author, favourites, boosts, replies, hashtags, media, links. No login or API key.
Pricing
from $0.30 / 1,000 posts
Rating
0.0
(0)
Developer
Murat Uzun
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 days ago
Last modified
Categories
Features
Share
What is Mastodon Scraper?
Mastodon Scraper collects public posts from Mastodon and the fediverse. Give it hashtags (python; rust), accounts (Gargron@mastodon.social, https://fosstodon.org/@kev) or ask for trending posts, and it returns every post with its text, author, favourites, boosts and replies, hashtags, mentions, media, link previews and polls. It works with any Mastodon instance, reads each account from its home server, pages through the whole timeline, and needs no login or API key. $0.50 per 1,000 posts.
Use it for social listening and brand monitoring outside X/Twitter, research datasets, tracking tech communities, or archiving an account.
What data does Mastodon Scraper extract?
| Field | Description |
|---|---|
id, url, createdAt, editedAt | Post id, link and dates |
text, contentWarning, language, sensitive | Post text (HTML removed), content warning, language, sensitive flag |
favouritesCount, boostsCount, repliesCount, quotesCount | Engagement |
isReply, boostedBy | Whether it's a reply; for boosts, the account that boosted it (the row is the original post) |
authorAcct, authorName, authorUrl, authorFollowers, authorIsBot | Author (user@instance) |
hashtags, mentions | Tags and mentioned accounts |
mediaUrls, mediaTypes | Attached images, videos, audio |
linkUrl, linkTitle | Link preview card |
pollOptions | Poll options and votes |
instance, source, sourceValue | Where the post was read and which input found it |
scrapedAt | When the row was scraped |
How to use Mastodon Scraper
- Enter Hashtags and/or Accounts, several separated by
;. - Optional: tick Trending posts, or change the Instance used for hashtags and trending (default
mastodon.social, which federates posts from across the network). With no input at all, the Actor returns trending posts. - Set Max posts per source (default 100). For accounts you can skip replies and boosts.
- Run it and download the posts as JSON, CSV, Excel or HTML, or read them through the API.
Posts found by more than one source are kept once.
Example input
{"hashtags": "python; https://fosstodon.org/tags/rust","accounts": "Gargron@mastodon.social; kev@fosstodon.org","trending": true,"maxPosts": 200}
Example output
{"id": "117348440929571159","url": "https://www.urbanmind.net/@hackaday/…","createdAt": "2026-09-28T10:47:13.000Z","text": "…","language": "en","favouritesCount": 3,"boostsCount": 1,"repliesCount": 0,"authorAcct": "hackaday@www.urbanmind.net","authorName": "Hack a Day (unofficial)","authorIsBot": true,"hashtags": ["python"],"linkUrl": "https://dev.to/…","instance": "mastodon.social","source": "hashtag","sourceValue": "python"}
How much does it cost?
Pay per result: $0.0005 per post ($0.50 per 1,000), with volume discounts on paid Apify plans. Sources that fail (an unknown account, an instance that is down) are listed in the ERRORS record and cost nothing. Set Maximum cost per run to cap spend.
Limitations
Mastodon's full-text search and the public "firehose" timeline need a logged-in user on most big instances (mastodon.social answers "This method requires an authenticated user"), so the Actor doesn't offer keyword search. Use hashtags instead: they are how Mastodon posts are discovered. Private and followers-only posts are never visible.
Mastodon Scraper vs. alternatives
Dated Store check, 25 November 2026 (public Store API pricing, FREE tier per 1,000 rows; each row is one post or result):
| Actor | FREE price | Unit | Source |
|---|---|---|---|
| This Actor | $0.50 per 1,000 | one post row | https://apify.com/webdatatools/mastodon-scraper |
| goat255/mastodon-scraper | $0.46 per 1,000 | one post | https://apify.com/goat255/mastodon-scraper |
| hipersoft/mastodon-scraper | $1.50 per 1,000 | one post scraped | https://apify.com/hipersoft/mastodon-scraper |
| newpo/mastodon-scraper | $1.00 per 1,000 | one result | https://apify.com/newpo/mastodon-scraper |
On the FREE tier one competitor is cheaper per post ($0.46 against $0.50). On the paid tiers this Actor is at or below the same competitor. The competitors' feature sets differ: check the field list before choosing.
Using Mastodon Scraper with AI agents
The Actor is pay-per-event with limited permissions, so AI agents can call it through Apify's MCP server (mcp.apify.com), for example with {"hashtags": "opensource", "maxPosts": 50}. It also accepts hashtag, tags, account, profiles, url and urls.
FAQ
Is scraping Mastodon legal? The Actor reads only public posts through each server's public API, the same data any logged-out visitor sees. Respect the privacy of the people you collect and the rules of each instance.
Does it work with other fediverse servers? Hashtags and trending work on Mastodon-compatible servers. Accounts must be on a server that supports the Mastodon API.
How far back can it go? Account timelines go back through the account's whole history on its home server. Hashtag timelines hold what that instance has seen.
Related Actors
- Hacker News Search & Front Page Scraper — stories and comments by query
- Bluesky Scraper — posts and profiles on another decentralised network
The full webdatatools suite is listed on the publisher profile.
Support
Open an issue on the Actor's Issues tab on Apify. Include the instance, the hashtag or account, the run ID and the ERRORS record if one exists.