Mastodon Post Scraper
Pricing
Pay per usage
Go to Apify Store
Pricing
Pay per usage
Rating
0.0
(0)
Developer

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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
instance_url | string | No | https://mastodon.social | The Mastodon instance URL to scrape (e.g. 'https://mastodon.social', 'https://fosstodon.org'). |
search_queries | array | No | - | Search terms to find posts (e.g. 'python programming', 'open source'). Uses the instance search API. |
usernames | array | No | - | Mastodon usernames to scrape posts from (e.g. 'Gargron', 'nixCraft@mastodon.social'). |
scrape_public_timeline | boolean | No | false | Whether to scrape the public (federated) timeline of the instance. |
max_results | integer | No | 100 | Maximum 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
| Results | Cost |
|---|---|
| 50 | Free |
| 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