Mastodon Profile Posts Scraper
Pricing
from $2.99 / 1,000 results
Mastodon Profile Posts Scraper
Mastodon Profile Posts Scraper is a Python tool to extract public statuses, author bios, follower counts, timestamps, and engagement metrics from Mastodon user profile endpoints. It exports normalized decentralized social media data into clean CSV or JSON formats
Pricing
from $2.99 / 1,000 results
Rating
0.0
(0)
Developer
ZeroBreak
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
11 days ago
Last modified
Categories
Features
Share
Mastodon Profile and Posts Scraper — Account Information and Recent Public Posts

Overview
Look up Mastodon accounts and optionally collect their recent public posts from any supported Mastodon instance. Provide an instance hostname, enter one or more usernames, and choose whether to include posts.
Collect structured profile information such as account IDs, usernames, display names, follower counts, and profile links. Export the results as JSON, CSV, Excel, or other supported Apify dataset formats.
Features
- Look up multiple Mastodon accounts in one run.
- Collect account IDs, usernames, and display names.
- Retrieve account creation dates and bot indicators.
- Extract follower, following, and status counts.
- Collect public profile links.
- Optionally retrieve recent public posts.
- Deduplicate collected records.
- Control the total number of output records.
- Support different Mastodon instance hosts.
Collection Mode
| Mode | Description |
|---|---|
profileLookup | Looks up account profiles using the supplied usernames. Optionally collects recent public posts when includePosts is enabled. |
Input Parameters
| Parameter | Description | Example |
|---|---|---|
mode | Collection mode. | profileLookup |
instance | Mastodon instance hostname. | mastodon.social |
accounts | Array of Mastodon usernames to look up. | ["Gargron"] |
includePosts | Whether to collect recent public posts for each account. | false |
maxItems | Maximum number of records to collect. | 50 |
requestDelaySecs | Delay between requests in seconds. | 1 |
Example Input
{"mode": "profileLookup","instance": "mastodon.social","accounts": ["Gargron"],"includePosts": false,"maxItems": 50,"requestDelaySecs": 1}
To collect recent public posts as well, set includePosts to true.
What Data Does This Actor Extract?
The actor produces profile records and, when enabled, public post records.
Profile records
| Field | Description |
|---|---|
recordType | Identifies the record as a profile. |
accountId | Unique Mastodon account identifier. |
username | Account username. |
acct | Mastodon account handle. |
displayName | Account display name. |
bot | Indicates whether the account is marked as a bot. |
createdAt | Account creation date. |
followersCount | Number of followers. |
followingCount | Number of accounts followed. |
statusesCount | Number of statuses published by the account. |
url | Public profile link. |
scraped_at | Date and time the record was collected. |
When includePosts is enabled, the actor also collects recent public statuses. Post records contain post information returned by the selected Mastodon instance.
Example Output
{"recordType": "profile","accountId": "1","username": "Gargron","acct": "Gargron","displayName": "Eugen Rochko","bot": false,"createdAt": "2016-03-16T00:00:00.000Z","followersCount": 383119,"followingCount": 748,"statusesCount": 82482,"url": "https://mastodon.social/@Gargron","scraped_at": "2026-10-26T00:00:00+00:00"}
Use Cases
- Creator research: Review profile information and follower counts for selected Mastodon accounts.
- Social listening: Collect recent public posts for content and topic analysis.
- Instance research: Compare account information across different Mastodon instances.
- Community analysis: Examine account activity and public posting patterns.
- Research exports: Save profile and post records in spreadsheets or structured datasets.
- Social media monitoring: Refresh selected account information periodically.
Working with Your Dataset
Export collected records as JSON, CSV, Excel, or another supported Apify dataset format.
You can use the results to:
- Build Mastodon account directories.
- Compare follower and following counts.
- Organize profiles by instance and username.
- Analyze recent public posts.
- Import account and post information into research databases.
FAQ
Who is this actor for?
It is designed for researchers, journalists, marketers, and developers who need structured public Mastodon account information and recent posts.
What can I export?
You can export records as JSON, CSV, Excel, and other supported Apify dataset formats.
Can I collect posts as well as profile information?
Yes. Set includePosts to true to collect recent public posts for the selected accounts.
Can I look up accounts on different Mastodon instances?
Yes. Enter the desired instance hostname in the instance field.
How many records can it collect per run?
You can collect up to 1,000 records per run. Use maxItems to control the collection size.
Can I run it on a schedule?
Yes. You can configure an Apify schedule to refresh account information and collect recent posts periodically.
Disclaimer
This is an independent data collection tool and is not affiliated with, endorsed by, sponsored by, or officially associated with Mastodon. It collects publicly available account information and posts. Users are responsible for respecting instance rules, applicable privacy laws, and copyright requirements when accessing, storing, or reusing collected content.
Is Web Scraping Legal?
Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same thing as republishing someone's article or photo.
This actor collects information from public pages. It does not log in and it does not bypass access controls.
For a longer explanation, see Apify's article Is web scraping legal?.