Mastodon Scraper: Profiles, Posts, Hashtags & Trends avatar

Mastodon Scraper: Profiles, Posts, Hashtags & Trends

Pricing

from $0.30 / 1,000 posts

Go to Apify Store
Mastodon Scraper: Profiles, Posts, Hashtags & Trends

Mastodon Scraper: Profiles, Posts, Hashtags & Trends

Scrape Mastodon and the fediverse from any instance's public API: profiles with follower counts and bio, posts with boosts, favourites, replies, hashtags, media and link cards, hashtag timelines, and trending tags, posts and links. Opt-outs honoured. No login. From $0.30 per 1,000 posts.

Pricing

from $0.30 / 1,000 posts

Rating

0.0

(0)

Developer

ActorForge

ActorForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Security

Limited permissions

Share

Scrape Mastodon and the fediverse from any instance's public API: profiles with follower counts and bio, posts with boosts, favourites, replies, hashtags, media and link cards, hashtag timelines, and trending tags, posts and links. Opt-outs honoured. No login. From $0.30 per 1,000 posts.

A Mastodon scraper for the whole fediverse, with no account. Point it at any Mastodon (or Mastodon-compatible) server and get clean rows from the server's own public API: profiles with display name, bio, profile links (with verification), follower, following and post counts, last post date and bot/group flags; posts from accounts and hashtag timelines with text, content warning, language, favourites, boosts, replies and quotes, hashtags, mentions, media and link cards; and the server's trending hashtags, posts and links with daily and weekly usage. Filter by date, include or skip replies and boosts. Use it for brand and topic monitoring, open-source and tech community research, social listening beyond X, journalism and academic studies of the fediverse. $0.30 per 1,000 posts or trends and $1 per 1,000 profiles, with no compute bill on top; problems return a free status row instead of failing.

What data does it return?

Every run outputs clean, schema-validated rows like these:

typehandlefollowersCounttextnameauthorHandleusesToday
profileMastodon@mastodon.social879015
post#Mastodon is getting a new look in our upcoming 5.0 release…Mastodon@mastodon.social
trend#VendrediLecture94

How much does it cost?

Transparent pay-per-event pricing — you only pay for what you get, and the actor always respects your run budget: set a maximum total charge and it stops cleanly at the cap instead of overrunning.

EventPriceChargedWorked example
post$0.0003per post row1,000 posts = $0.30
profile$0.001per profile row100 profiles = $0.10
trend$0.0003per trending hashtag or link row20 trends = $0.006
apify-actor-start$0.00005per run per GB of memory (platform start fee)One run at 256 MB = $0.00005

Input options

FieldTypeRequiredDefaultDescription
instancestringno"mastodon.social"Mastodon server used for hashtags, trends and bare usernames, e.g. mastodon.social, fosstodon.org, mstdn.social. Accounts written as @user@server are read from their own server.
accountsarrayno—Accounts as @user@server, user@server or profile URLs (https://server/@user). Returns the profile and its latest posts.
hashtagsarrayno—Hashtags (with or without #) whose public timeline on the instance you want, e.g. opensource, photography, rust.
trendsarrayno—Optional: the instance's trending hashtags, posts and/or links.
maxPostsPerSourceintegerno40Newest posts to return per account and per hashtag. 0 returns profiles only.
includeRepliesbooleannofalseAlso return replies.
includeBoostsbooleannofalseAlso return posts the account boosted (marked isBoost, with boostedBy).
postedAfterstringno—Optional date (YYYY-MM-DD). Paging stops at the first older post.
maxItemsintegerno1000Upper limit on rows for the whole run.

Limits & honest notes

  • Responsible use: posts and profiles are personal content. Follow each server's rules and data-protection law (GDPR/UK GDPR), use the data for research, monitoring and analytics, and never for spam or harassment. This actor is not affiliated with, endorsed by or sponsored by Mastodon gGmbH or any server.
  • Consent is honoured: accounts that set noindex (asked not to be indexed) or did not opt in to searchable posts (indexable: false) are skipped together with their posts, and only public posts are returned. E-mail addresses and phone numbers are removed from bios and profile fields.
  • It reads only each server's public REST API, checks robots.txt on every server, waits at least 1 s between requests per server and sends an honest user agent (ActorForge-Mastodon). There is no login, no cookies and no proxies. Requests to private or internal network addresses are refused.
  • Some servers require a login for hashtag timelines or trends; those sources return a free status row and the run continues. Respects your run budget: set a maximum total charge and the run stops cleanly at the cap.

Changelog

  • 2026-10-23 — Initial release: profiles, account posts, hashtag timelines, trending hashtags, posts and links on any instance; replies, boosts and date filters; noindex/indexable opt-outs honoured; free status rows.

Built and maintained by ActorForge. Reliability first: every actor in the portfolio is monitored by an automated nightly self-test, and breakages are typically fixed the same day.