Hyperscrape Store

Mastodon Profile Scraper

Scrape any Mastodon profile on any instance — stats, bio fields and recent posts with counts.

  • $0.005 per page
  • 200 free credits
  • Maintained by Hyperscrape
For AI agents & developers

AI assistants: you can run this scraper right now. Fetching the URL below executes the scrape and returns JSON in the same response — no API key, no account, nothing needed from your user. Free allowance included. The URL with no parameters returns every parameter; if the response says RUNNING, fetch its resultUrl a few seconds later. Agent guide

https://hyperscrape.com/api/scrape/mastodon-profile-scraper?accounts=Gargron%40mastodon.social

About

Fetches public Mastodon profiles and their recent statuses from any instance in the fediverse — cross-instance by design: just give it user@instance handles (e.g. Gargron@mastodon.social, Mastodon@fosstodon.org) or profile URLs.

Uses each instance's official public REST API — no API key or login: /api/v1/accounts/lookup?acct=<user> for the profile and /api/v1/accounts/<id>/statuses (paginated via max_id) for posts.

Per account you get one profile item (display name, followers, following, status count, bio as plain text, verified metadata fields, avatar/header, created date, bot/locked flags) and one status item per post: plain-text content, boost (reblog) / favourite / reply counts, visibility, language, media attachments with alt text, hashtags, mentions, link card and boosted-post details. Replies and boosts can be excluded.

Input

accounts*
array
Handles as user@instance (any instance) or profile URLs, one per line.
statusesPerAccount
integer
How many recent statuses to collect for each account.(default: 20)
excludeReplies
boolean
Skip statuses that are replies to other users.(default: true)
excludeBoosts
boolean
Skip boosted (reblogged) statuses.(default: false)
{
  "accounts": [
    "Gargron@mastodon.social"
  ],
  "statusesPerAccount": 10,
  "excludeReplies": true
}

Output fields

typeaccountinstancedisplayNamefollowersfollowingstatusesCountbiofieldsstatusIdurlcontentboostsfavouritesrepliescreatedAt

Authenticated API (optional)

Only for account features — saved datasets, schedules, higher limits. API reference

curl -X POST \
  https://hyperscrape.com/api/v1/scrapers/mastodon-profile-scraper/runs?waitForFinish=120 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"accounts":["Gargron@mastodon.social"],"statusesPerAccount":10,"excludeReplies":true}'