Mastodon Status Detail Scraper avatar

Mastodon Status Detail Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Mastodon Status Detail Scraper

Mastodon Status Detail Scraper

Fetch a Mastodon status (post) by URL with optional reply context.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Farhan Febrian Nauval

Farhan Febrian Nauval

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Fetch the full detail of any Mastodon status (toot) by URL — text, media, favourites, reblogs, replies count, and the optional reply thread — across any Fediverse instance.

Why use this actor

  • No account / no login required — works against any public Mastodon instance, just paste the status URL.
  • Full status content — the original HTML body, language, visibility, edited timestamp, sensitive flag, content warning, mentions, hashtags, and the attached application.
  • Media attachments — every image, video, audio, or GIF on the toot with its CDN URL, preview URL, type, dimensions, and alt-text description.
  • Reply thread in one call — set includeContext: true and you get the full ancestors chain and descendant replies attached as _context, perfect for archiving discussions.
  • Engagement counters — favourites_count, reblogs_count, replies_count, and quotes_count straight from the source instance.
  • Stable JSON output — every row carries _input, _instance, _source, _scrapedAt so you can join results back to your input list and audit which instance served the data.

How it works

  1. You provide a list of Mastodon status URLs (e.g. https://mastodon.social/@Gargron/116591902390182432).
  2. The actor reads the host instance from the URL and asks that instance for the toot the same way the web app does, then attaches the reply thread when includeContext is on.
  3. Results stream into your dataset, ready to download as JSON, CSV, or Excel.

You do not need to manage scrapers, browsers, or rotating IPs — all handled internally.

Input

{
"statuses": [
"https://mastodon.social/@Gargron/116591902390182432",
"https://mastodon.social/@Gargron/116573430454779827"
],
"instance": "mastodon.social",
"includeContext": true,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["DATACENTER"]
}
}
FieldTypeDescription
statusesarrayList of Mastodon status URLs to scrape. Use the full canonical URL https://instance.tld/@user/status_id. Bare numeric IDs are also accepted when instance is set.
instancestringDefault Mastodon instance hostname (without https://). Only used when an input is a bare status ID instead of a full URL.
accessTokenstringOptional access token for instances that require authentication. Leave blank for public Fediverse toots.
includeContextbooleanWhen true (default), each record carries _context.ancestors (parent chain) and _context.descendants (replies).
proxyConfigurationobjectApify Proxy settings. Datacenter proxy works for most public instances.

Output

Input: https://mastodon.social/@Gargron/116591902390182432

{
"id": "116591902390182432",
"created_at": "2026-05-17T20:54:04.971Z",
"in_reply_to_id": "116591878874980653",
"in_reply_to_account_id": "115576270601199442",
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": "de",
"uri": "https://mastodon.social/users/Gargron/statuses/116591902390182432",
"url": "https://mastodon.social/@Gargron/116591902390182432",
"replies_count": 1,
"reblogs_count": 5,
"favourites_count": 30,
"quotes_count": 0,
"edited_at": null,
"content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://mastodon.social/@AwetTesfaiesus\" class=\"u-url mention\">@<span>AwetTesfaiesus</span></a></span> Stört mich nur dass bei Bluesky immer die Zahl der registrierten Konten angegeben wird, und nicht die monatlich aktive Nutzerzahl. ...</p>",
"reblog": null,
"application": { "name": "Web", "website": null },
"account": {
"id": "1",
"username": "Gargron",
"acct": "Gargron",
"display_name": "Eugen Rochko",
"url": "https://mastodon.social/@Gargron",
"avatar": "https://files.mastodon.social/accounts/avatars/000/000/001/original/a0a49d80c3de5f75.png",
"followers_count": 380126,
"following_count": 711,
"statuses_count": 81382,
"last_status_at": "2026-05-17"
},
"media_attachments": [],
"mentions": [
{
"id": "115576270601199442",
"username": "AwetTesfaiesus",
"url": "https://mastodon.social/@AwetTesfaiesus",
"acct": "AwetTesfaiesus"
}
],
"tags": [],
"emojis": [],
"quote": null,
"card": null,
"poll": null,
"_context": {
"ancestors": [
{
"id": "116591878874980653",
"created_at": "2026-05-17T20:48:06.165Z",
"url": "https://mastodon.social/@AwetTesfaiesus/116591878874980653",
"content": "<p>Es kommt nicht auf die Größe an. #mastodon #fediverse Tagesschau</p>",
"replies_count": 8,
"reblogs_count": 18,
"favourites_count": 42,
"account": { "username": "AwetTesfaiesus", "display_name": "Awet Tesfaiesus, MdB" },
"media_attachments": [
{
"id": "116591867934036051",
"type": "image",
"url": "https://files.mastodon.social/media_attachments/files/116/591/867/934/036/051/original/e19f2e90c62e68df.jpeg",
"meta": { "original": { "width": 757, "height": 307 } }
}
]
}
],
"descendants": [
{
"id": "116592105338871552",
"url": "https://mastodon.social/@AwetTesfaiesus/116592105338871552",
"content": "<p>...</p>",
"favourites_count": 6,
"account": { "username": "AwetTesfaiesus" }
}
]
},
"_input": "https://mastodon.social/@Gargron/116591902390182432",
"_instance": "mastodon.social",
"_source": "S1-api",
"_scrapedAt": "2026-05-18T11:13:57.029611+00:00"
}
FieldTypeDescription
_inputstringThe status URL exactly as you supplied it. Use this to join results back to your input list.
_instancestringHostname of the Mastodon instance that served this record (e.g. mastodon.social).
_sourcestringInternal tag for the path used to fetch the record. S1-api is the primary, fastest path.
_scrapedAtstringISO-8601 UTC timestamp when the record was scraped.
idstringThe status ID on its home instance.
created_atstringWhen the toot was posted (ISO-8601).
edited_atstringWhen the toot was last edited, or null if never edited.
urlstringCanonical URL of the toot.
uristringActivityPub URI used in federation.
visibilitystringpublic, unlisted, private, or direct.
sensitivebooleantrue when the author marked the toot as sensitive.
spoiler_textstringContent-warning text shown before the body, or empty string.
languagestringISO 639 language tag set by the author (e.g. en, de).
contentstringThe toot body as HTML. Mentions, hashtags, and links are inline anchors.
replies_countintegerNumber of direct replies the home instance has seen.
reblogs_countintegerNumber of reblogs (boosts).
favourites_countintegerNumber of favourites (likes).
quotes_countintegerNumber of quotes (when the instance supports quoting).
in_reply_to_idstringID of the toot this one replies to, or null.
in_reply_to_account_idstringAccount ID being replied to, or null.
reblogobjectThe original toot when this record is itself a reblog, otherwise null.
applicationobjectClient app used to post (name, website).
accountobjectThe author profile (username, display name, avatar, follower/following counts, statuses count, …).
media_attachmentsarrayEach item has id, type (image/video/gifv/audio), url, preview_url, and meta with dimensions. Empty array when no media.
mentionsarrayAccounts mentioned in the body — id, username, acct, url.
tagsarrayHashtags used in the body — name, url.
emojisarrayCustom emoji shortcodes used in the body and their image URLs.
quoteobjectThe quoted toot when this record quotes another, otherwise null.
cardobjectLink preview card (title, description, image, provider) when the toot links out, otherwise null.
pollobjectPoll attached to the toot (options, vote counts, expiry), otherwise null.
_contextobjectPresent when includeContext is on. Contains ancestors (parent chain) and descendants (reply tree), each an array of status objects with the same shape as the top-level record.

Error envelope

Statuses that don't exist or fail to fetch return a structured error instead of crashing the run:

{
"_input": "https://mastodon.social/@Gargron/110000000000000000",
"_instance": "mastodon.social",
"_statusId": "110000000000000000",
"_error": "not_found",
"_errorDetail": "NotFound https://mastodon.social/api/v1/statuses/110000000000000000",
"_source": "S1-api",
"_scrapedAt": "2026-05-18T11:14:02.001234+00:00"
}

Filter on _error to triage failed rows. Possible values: not_found, invalid_input, fetch_failed, exception.

Pricing

This actor is billed per result: $1.50 per 1,000 statuses. Each successful status = 1 result. Errors (not-found, unreachable instance) are not billed.

Other Sosmed Actors

PlatformActorBest for
MastodonMastodon Account ScraperProfile data, follower counts, recent toots for a Fediverse account
BlueskyBluesky Post Detail ScraperFull post detail + thread on atproto
ThreadsThreads Post Detail ScraperPost text, media, replies for a Threads URL
X / TwitterX Post Detail ScraperTweet text, media, engagement metrics
RedditReddit Post Detail ScraperSubmission body, comments, vote counts
TumblrTumblr Post Detail ScraperPost HTML, tags, notes on Tumblr

Browse the full catalog at apify.com/xtracto.

Notes

  • The actor fetches data from the home instance of the toot (parsed from the URL). Per-instance rate limits and policies therefore apply — high-traffic instances like mastodon.social are generous; smaller instances may be slower.
  • includeContext is optional. Disable it when you only need the toot itself and want lower latency and smaller dataset rows.
  • Reply threads pulled from a federated instance can be partial: an instance only shows the replies it has actually received from the rest of the Fediverse. For the most complete thread, point the URL at the toot's home instance.
  • For instances that require authentication to read public toots, supply an accessToken from that instance's developer settings.
  • Counters (favourites_count, reblogs_count, replies_count) are eventually-consistent and may lag the live network by a few minutes as the Fediverse syncs.