Skip to content
//Mastodon Scraper example\\

Open source hashtag posts with replies, 5 posts

Hashtag posts including replies and thread replies.

Updated November 25, 2026

What this example returns

This example returns up to 5 posts.

The dataset’s “Posts” view shows 10 columns: Posted, Author, Text, Favourites, Boosts, Replies, Hashtags, Media, Thread, and URL. See every output field.

What each setting does

The input this example runs Mastodon Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Hashtags hashtags

opensource

Hashtags to scrape, with or without #, for example opensource or #photography. Read from the instance below; if it needs a login for hashtag feeds, a large open instance is used instead.

Max results maxItems

5

Maximum number of items (posts, profiles, tags or links) to save in total. Use 0 for no limit.

Default: 20 → this example uses 5

Instance instance

mastodon.social

Mastodon server used for hashtags, timelines, trends, account search and bare usernames, for example mastodon.social, fosstodon.org or infosec.exchange.

Include replies includeReplies

Yes

Keep posts that are replies to other posts. Replies under a post URL are always kept.

Default: No → this example uses Yes

.json
{
  "hashtags": [
    "opensource"
  ],
  "accounts": [],
  "startUrls": [],
  "maxItems": 5,
  "instance": "mastodon.social",
  "searchAccounts": [],
  "languages": [],
  "includeReplies": true
}

What it costs

From about $0.0014 for 5 posts

An estimate at the lowest plan price: 5 × $0.0002883 per result (One saved Mastodon post, profile, trending tag or link). A run is charged for the events it reports, so one that finds fewer posts costs less. Platform usage is included in the event price.

Full pricing

Other ways to run Mastodon Scraper

All examples of Mastodon Scraper

About Mastodon Scraper

Scrape public Mastodon and fediverse data without a login: posts from accounts and hashtags, threads with replies, public timelines, trending posts, hashtags and links, and profiles. Text and HTML, favourites, boosts, replies, media, mentions, tags and author info.

Price:
From $0.288 / 1,000 results
Developer:
Echofield

Mastodon Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.