Mastodon Scraper — Hashtag Posts, Accounts & Trending Toots avatar

Mastodon Scraper — Hashtag Posts, Accounts & Trending Toots

Pricing

Pay per event

Go to Apify Store
Mastodon Scraper — Hashtag Posts, Accounts & Trending Toots

Mastodon Scraper — Hashtag Posts, Accounts & Trending Toots

Mastodon Scraper: export public Mastodon posts (toots) by hashtag, account or trending list from any instance, with text, boosts, favourites, replies, links, media and author followers, plus 7-day hashtag usage stats. Fediverse social listening. No login. No API key.

Pricing

Pay per event

Rating

0.0

(0)

Developer

IntelScrape

IntelScrape

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Features

Limited permissions

Share

Mastodon Scraper — Hashtag Posts, Accounts & Trending Toots

🇨🇳 Mastodon 爬虫:从任意实例按话题标签、账号或热门列表导出公开 Mastodon 帖子(toot),包括正文、转发、收藏、回复、链接、媒体和作者粉丝数,并附带 7 天话题标签使用统计。去中心化社交聆听,无需登录,无需 API 密钥。

🇸🇬 Pengikis Mastodon: eksport hantaran Mastodon awam mengikut tanda pagar, akaun atau senarai sohor kini daripada mana-mana instans, dengan teks, boost, kegemaran, balasan, pautan, media dan pengikut pengarang. Tiada log masuk.

🤖 NEW: Connect This To Your AI!

Use this actor from Claude, ChatGPT, Cursor or any MCP client through the IntelScrape MCP Server, or call it directly over the Apify API.

⚡ Works with n8n, Make, Zapier, Google Sheets and the Apify API.

price billing login network

Public Mastodon posts by hashtag, account or trending with engagement and author stats, plus hashtag usage trends.

Honest coverage & billing: Visibility depends on the chosen instance's federation. You pay only for results actually delivered, and a built-in cost guard stops the run at your max-charge limit.

🌍 Built for teams in the US, China and Singapore, and anyone who needs this data in a spreadsheet or pipeline.

⭐ Found it useful? Please leave a review; it helps others find it.

⚖️ Lawful business use only. Collect public data only, and comply with the source site's terms, copyright and data-protection laws (GDPR, CCPA, China PIPL, Singapore PDPA).

Examples below are illustrative; names and values may be fictional or out of date.

What is Mastodon Scraper?

Developers, journalists, researchers and open-source communities moved a lot of their public conversation to Mastodon and the wider fediverse, and most social listening tools still ignore it. Mastodon Scraper reads the public API of any instance to export posts by hashtag, by account or from the trending list, with engagement counts, links, media and author stats, plus a seven-day usage history for each hashtag so you can see whether a topic is growing.

What does it do?

  • Hashtag mode: newest public posts for each hashtag as seen by the chosen instance
  • Account mode: posts of any @user@instance, with or without replies
  • Trending mode: the instance's trending posts right now
  • Post data: text (clean), spoiler, language, replies, boosts, favourites, engagement total, hashtags, mentions, link card, media with alt text, boosted-by
  • Author data: handle, name, followers, following, post count, bot flag, account age, bio
  • Hashtag stats (on by default): daily uses and accounts for the last 7 days with a rising/falling hint
  • Any instance: mastodon.social, fosstodon.org, infosec.exchange and others

Why choose us over cheaper scrapers?

  • Honest output: limits are documented, missing data is labeled, never invented
  • Clean, consistent schema ready for Excel, Sheets, BI tools or an LLM
  • No account risk: no logins, no cookies, no API keys
  • Pay per result with a built-in cost guard; no subscription, failed items are never charged
  • Fast and light: no residential proxy, so runs finish in seconds and stay cheap
  • Maintained by IntelScrape and fixed fast when the source changes

Who is it for?

  • Brand and product mentions in tech and open-source communities
  • Social listening beyond X and Reddit
  • Journalism and research on fediverse discourse
  • Developer relations: track your project hashtag
  • Trend spotting with daily hashtag usage
  • Datasets for NLP research on public posts
  • Competitive intelligence: follow competitor and founder accounts
  • Event tracking: conference hashtags during and after the event

How to use it

In Apify Console (no code)

  1. Click Try for free / Start. The form is prefilled with a working example.
  2. Change the inputs (see examples below).
  3. Click Start, then export the results as JSON, CSV, Excel, XML or HTML, or open them in Google Sheets.
  4. Optional: Schedule the actor to run hourly, daily or weekly.

Via API

curl -X POST "https://api.apify.com/v2/acts/intelscrape~mastodon-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"mode": "hashtag", "hashtags": ["ai", "opensource"], "maxPostsPerTarget": 60}'

Or use the official Apify JavaScript and Python clients:

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("intelscrape/mastodon-scraper").call(run_input={"mode": "hashtag", "hashtags": ["ai", "opensource"], "maxPostsPerTarget": 60})
for item in client.dataset(run["default_dataset_id"]).iterate_items():
print(item)

With AI agents (MCP)

Add Apify's MCP server (https://mcp.apify.com) or the IntelScrape MCP Server to Claude Desktop, Cursor, ChatGPT or any MCP client, then ask in plain language, e.g. "Run intelscrape/mastodon-scraper with the default input and summarise the results."

Input examples

Two hashtags with stats (default)

{
"mode": "hashtag",
"hashtags": ["ai", "opensource"],
"maxPostsPerTarget": 60
}

An account

{
"mode": "account",
"accounts": ["@Gargron@mastodon.social"],
"maxPostsPerTarget": 200
}

Trending on fosstodon

{
"mode": "trending",
"instance": "fosstodon.org"
}

Output fields

FieldDescription
id / url / target / createdAt / languagePost identity
text / spoiler / sensitive / isReply / boostedByContent
replies / boosts / favourites / engagementEngagement
hashtags / mentions / linkCard / mediaEntities
author.handle / name / followers / following / posts / bot / createdAt / bioAuthor
type = hashtag-stats rowsdailyHistory, uses7d, accounts7d, avgUsesPerDay, trend

Sample output

{
"createdAt": "2026-10-22T01:34:53.919Z",
"text": "New open-source model release ...",
"boosts": 12,
"favourites": 30,
"replies": 4,
"hashtags": ["ai", "opensource"],
"author": { "handle": "@someone@mastodon.social", "followers": 2140 },
"url": "https://mastodon.social/@someone/117481989335669528"
}

Pricing (pay per event)

EventWhen it is chargedPrice
Actor startonce per run$0.005
Postper post row$0.0005
Hashtag statsper hashtag usage row (on by default; turn off to skip)$0.002

Cost examples

RunCost
Default run: 120 posts + 2 stats rows$0.069
10 hashtags × 500 posts$2.545
Daily trending export$0.015

Platform usage is included in these prices. Set Max charge per run in the run options to cap spend; the actor stops cleanly when the limit is reached and keeps everything collected so far.

Tips for best results

  • Large instances (mastodon.social) federate the most posts; niche instances give niche views.
  • Use language to cut noise for global hashtags.
  • Schedule hashtag mode hourly with a small max for near-real-time monitoring.
  • Hashtag stats are cheap trend signals even with a small post limit.

FAQ

Does it see every post in the fediverse?

No. Each instance only sees posts that federated to it. Query several instances for wider coverage.

Can I search full text?

Full-text search of posts needs a login on most instances; hashtags and accounts do not.

Are private posts included?

No, only public posts.

It uses the public API. Respect instance rules and user privacy when publishing results.

Do I need an account?

No.

How do I cover several instances?

Run the actor once per instance (or schedule several tasks with different instance values) and merge datasets; de-duplicate on url, because the same post can federate to many servers.

What do boosts and favourites mean?

A boost is a re-share to the booster's followers, like a repost; a favourite is a like. Both are counted as the instance last saw them, so counts on the origin server can be slightly higher.

Why is a hashtag empty?

No public posts with that tag reached the chosen instance recently.

Honest limits

  • Visibility depends on the chosen instance's federation.
  • Full-text keyword search is not available without login.
  • Some instances rate-limit; the actor retries politely.
  • Edited posts show their latest version only.

This actor collects publicly available data only. You are responsible for using the results lawfully and in line with the source's terms and applicable privacy laws (GDPR, CCPA, PIPL, PDPA). Process personal data only with a legitimate purpose. IntelScrape is not affiliated with, endorsed by or sponsored by the data source; all trademarks belong to their owners.