Mastodon Post Scraper avatar

Mastodon Post Scraper

Pricing

Pay per usage

Go to Apify Store
Mastodon Post Scraper

Mastodon Post Scraper

Scrapes posts and profiles from Mastodon instances.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Jan Bruinier

Jan Bruinier

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

Mastodon Social Scraper

Scrapes posts (toots) from Mastodon instances. Search by keywords, scrape user profiles, or get public timeline posts. Extracts post content, engagement metrics, media attachments, hashtags, and author info. Works with any Mastodon-compatible instance.

Features

  • Extract posts, profiles, engagement metrics, and media from Mastodon
  • Export to JSON, CSV, Excel, and other formats
  • Configurable result limits and pagination
  • Proxy support for reliable scraping
  • Pay-per-result pricing with free tier (50 results free per run)

Input Parameters

ParameterTypeRequiredDefaultDescription
instance_urlstringNohttps://mastodon.socialThe Mastodon instance URL to scrape (e.g. 'https://mastodon.social', 'https://fosstodon.org').
search_queriesarrayNo-Search terms to find posts (e.g. 'python programming', 'open source'). Uses the instance search API.
usernamesarrayNo-Mastodon usernames to scrape posts from (e.g. 'Gargron', 'nixCraft@mastodon.social').
scrape_public_timelinebooleanNofalseWhether to scrape the public (federated) timeline of the instance.
max_resultsintegerNo100Maximum number of posts to scrape per query, user, or timeline.

Output Example

{
"author": "username",
"text": "Post content...",
"likes": 42,
"reposts": 7,
"replies": 3,
"timestamp": "2025-01-15T10:30:00Z",
"url": "https://example.com/post/123"
}

Cost Calculator

ResultsCost
50Free
1,000$0.75
10,000$7.50
100,000$75.00

Plus $0.005 per actor run. First 50 results per run are free.

Use Cases

  • Social listening and brand monitoring
  • Influencer research and audience analysis
  • Trend detection and hashtag tracking
  • Content performance benchmarking
  • Community sentiment analysis

Limitations

  • Results depend on Mastodon's availability and structure
  • Some pages may require residential proxies for reliable access
  • Rate limiting may apply for very large scrapes
  • Website layout changes may temporarily affect data extraction

Changelog

  • v0.1 - Initial release