Mastodon Trending Scraper avatar

Mastodon Trending Scraper

Pricing

from $2.99 / 1,000 results

Go to Apify Store
Mastodon Trending Scraper

Mastodon Trending Scraper

Discover trending posts and hashtags from any Mastodon instance. Collect public social media trends, engagement statistics, and post details, then export structured results as JSON, CSV, Excel, or other dataset formats for research and analysis.

Pricing

from $2.99 / 1,000 results

Rating

0.0

(0)

Developer

B2B Lead Generation

B2B Lead Generation

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Categories

Features

Limited permissions

Share

Discover trending posts and hashtags from Mastodon instances. Collect public social media trends, engagement statistics, post details, and tag information. Choose an instance and collection mode, then export structured results as JSON, CSV, Excel, or other supported dataset formats.

What It Does

This actor collects trending content from Mastodon instances and saves each result as a separate dataset item. Depending on the selected mode, it gathers trending posts or hashtags, including available identifiers, timestamps, visibility information, engagement counts, and public links.

Modes

ModeDescription
statusesCollect trending public posts with engagement information.
tagsCollect trending hashtags, including their names and public links.

Input Example

{
"mode": "statuses",
"instance": "mastodon.social",
"maxItems": 40,
"userAgent": "BigiByteActorResearch/1.0 ()",
"proxyConfiguration": {
"useApifyProxy": false
}
}

Input Parameters

ParameterTypeDefaultDescription
modestringstatusesSelects the collection mode: statuses for trending posts or tags for trending hashtags.
instancestringmastodon.socialMastodon instance hostname to collect trends from, without the URL scheme.
maxItemsinteger100Maximum number of successful records to collect.
userAgentstringb2b lead generation research UAIdentifies the scraper when making requests.
timeoutSecsinteger300Overall actor run timeout in seconds.
requestTimeoutSecsinteger30Timeout for individual requests in seconds.
proxyConfigurationobjectNo proxyOptional proxy configuration.

What Data Does This Actor Extract?

The actor preserves available Mastodon field names and adds scrapedAt to each successful record.

Example output — Trending post

{
"id": "117425715157708337",
"created_at": "2026-10-12T03:03:38.108Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": "en",
"uri": "https://mastodon.social/users/donni/statuses/117425715157708337",
"url": "https://mastodon.social/@donni/117425715157708337",
"replies_count": 5,
"reblogs_count": 72,
"favourites_count": 146,
"quotes_count": 0,
"scrapedAt": "2026-10-12T05:00:00+00:00",
}

Output Fields

FieldTypeDescription
idstringMastodon record identifier. Tag names are used when a tag does not have an ID.
created_atstringPost creation timestamp. Null for tags.
in_reply_to_idstring or nullIdentifier of the parent post.
in_reply_to_account_idstring or nullIdentifier of the parent account.
sensitivebooleanIndicates whether a post is marked as sensitive.
spoiler_textstringPost content warning or spoiler text. For tags, contains the tag name.
visibilitystringVisibility setting of a post.
languagestringLanguage code when available.
uristringActivityPub or tag URI.
urlstringPublic web URL of the post or tag.
replies_countintegerNumber of replies to a post.
reblogs_countintegerNumber of reblogs.
favourites_countintegerNumber of favourites.
quotes_countintegerNumber of quotes.
scrapedAtstringISO timestamp added when the actor collects the record.

Fields that do not apply to a particular record type may be null or unavailable.

Use Cases

  • Fediverse Research: Explore trending discussions and hashtags across Mastodon communities.
  • Trend Monitoring: Track popular posts and hashtags through scheduled collections.
  • Content Discovery: Find public posts receiving engagement for research and analysis.
  • Instance Comparison: Compare trending topics across different Mastodon servers.
  • Social Media Analysis: Review engagement counts, post visibility, and language information.
  • Data Integration: Export structured trends for dashboards, spreadsheets, and research workflows.

FAQ

Can I collect trends from different Mastodon instances?

Yes. Set the instance parameter to the hostname of your preferred server. Available trends may vary between instances.

What is the difference between statuses and tags?

statuses collects trending posts with engagement information, while tags collects trending hashtags and their available details.

Does it collect engagement statistics?

Yes. Trending post records can include reply, reblog, favourite, and quote counts.

Can I schedule recurring collections?

Yes. Use Apify schedules to collect updated trends automatically at your preferred intervals.

Trademark Notice

Mastodon is a trademark of its respective owner. This actor is an independent tool and is not affiliated with or endorsed by Mastodon.

Disclaimer

This actor is provided for public trend discovery and research purposes. Users are responsible for ensuring that their collection and use of posts, hashtags, personal information, and other content comply with applicable laws, licensing requirements, and the policies of the relevant Mastodon instance.

This actor collects publicly accessible Mastodon posts and trending hashtags without bypassing login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and the policies of the relevant Mastodon instance.

  • Personal Data: Public posts may contain usernames, account information, and other personal details. Handle such information responsibly and follow applicable privacy regulations, including GDPR and CCPA where relevant.
  • Copyright and Licensing: Posts, images, videos, and other user-created content may be protected by copyright. Respect content licences, attribution requirements, and creators' rights before reproducing or redistributing material.
  • Platform Terms and Rate Limits: Respect Mastodon's policies and the terms and usage requirements of the instance being accessed.
  • Disclaimer: This information is general guidance, not legal advice. Consult a qualified legal professional if you have questions about your intended use.

For more information, read Is web scraping legal?.