Skip to content
//Mastodon Scraper example\\

Posts from one account, 5 posts

Recent posts plus the account's profile data.

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.

Accounts accounts

@Gargron@mastodon.social

Accounts whose posts to scrape, as @user@instance (for example @Gargron@mastodon.social) or profile URLs. A bare username is looked up on the instance below.

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.

Save account profiles includeProfile

Yes

For each account, also save one profile row (bio, links, follower counts).

Default: No → this example uses Yes

.json
{
  "accounts": [
    "@Gargron@mastodon.social"
  ],
  "includeProfile": true,
  "maxItems": 5,
  "instance": "mastodon.social"
}

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.