Get a Mastodon profile
/v1/mastodon/profileBuild a fediverse creator directory from names, bios, verified links and follower, following and post counts.
Read Mastodon profiles, posts, replies, boosts and favourites, followers, hashtags, trends and server details. Look up accounts on any server by their user@server address.
WHAT YOU CAN BUILD / 10 ENDPOINTS
Find your use case, then explore the request and response.
/v1/mastodon/profileBuild a fediverse creator directory from names, bios, verified links and follower, following and post counts.
/v1/mastodon/user/postsBuild an account monitor from original posts, replies, boosts or media posts with reply, boost and favourite counts.
/v1/mastodon/user/connectionsMap an account’s community from its followers or following, with each account’s profile and audience size.
/v1/mastodon/postSave a Mastodon post as a source record with its text, media, link preview, poll and engagement counts.
/v1/mastodon/post/repliesRebuild a conversation from the posts above a post and its replies, linked by in_reply_to_id.
/v1/mastodon/post/interactionsFind who amplified a post from the accounts that boosted or favourited it, with their profiles.
/v1/mastodon/hashtagTrack a campaign or topic from recent hashtag posts and seven days of daily hashtag usage.
/v1/mastodon/searchFind accounts or hashtags for a topic, with profile details or daily hashtag usage for each result.
/v1/mastodon/trendsBuild a trends dashboard from a server’s trending posts, hashtags and news links with their share history.
/v1/mastodon/serverCompare Mastodon servers by monthly active users, weekly posts and sign-ups, languages, rules and registration settings.
HOW IT WORKS
Run a sample below without a key.
Create a free account and copy your key. You start with 100 free credits; no card needed.
Pick one of the 10 Mastodon endpoints and add its input, such as a public handle.
Call it with your key in the x-api-key header. ScrapeAtlas reads the public Mastodon data and retries when a read fails.
Get structured JSON with a coverage status. Only successful requests use a credit.
TRY IT HERE / LIVE SAMPLE
Try the Mastodon API right here. This sample uses the Get a Mastodon profile endpoint and returns live JSON. No API key needed.
Start with Gargron@mastodon.social, or change the handle field to your own value.
Execute the sample code and see the response in the JSON response tab.
Open the full playground to try more parameters and copy code for your app.
// Run this sample here — no API key needed.
const value = "Gargron@mastodon.social";
const url = new URL("/website/demo/mastodon",
"https://api.scrapeatlas.com");
url.searchParams.set("value", value);
const response = await fetch(url);
const data = await response.json();
console.log(data);
Run the sample to see the live JSON response here.
/v1/mastodon/profileA live example from our playground. Change the value above, then select Run sample.
CUSTOMER STORIES
Watch Nigel’s story
Watch Janu’s storyEmail Viktor with a testimonial & receive 10,000 free credits.
Pay as you go
One-time credit packs, priced in US dollars. Credits never expire, and there is no monthly commitment.
Try the API with your next idea.
$0No credit card needed
100 free credits
One starter grant per account
For a new idea or a one-off project.
$19USD / one-time
10,000 credits
$1.90 per 1,000 successful requests
For regular workflows and bigger builds.
$89USD / one-time
50,000 credits
$1.78 per 1,000 successful requests
Enterprise Plan
Let’s talk about a plan that fits your scale.
Mastodon API
Retrieve public profiles, account posts, single posts with their replies, the accounts that boosted or favourited a post, followers and following, hashtag posts, account and hashtag search, trends and server details. Each endpoint returns structured JSON with a cursor wherever the results continue on another page.
Yes. Pass user@server or a profile URL to Profile. Accounts on 28 major servers are read from their own server; accounts elsewhere, including other fediverse software, are read from mastodon.social’s copy and marked with a federated_view warning. Use Connections for the account’s followers or following.
Call User Posts with the account’s user@server address. Each page returns up to 40 posts and boosts with content, media, hashtags and reply, boost and favourite counts. Pass the returned cursor for older posts, and set filter to original, posts, media or pinned to narrow the timeline.
Yes. Server returns a server’s title, description, software version, monthly active users, languages, rules and registration settings, plus up to 12 weeks of post, login and sign-up counts. Set the server parameter to any of the 28 supported servers to compare them side by side.
Call Trends with type posts, hashtags or links. Trending posts include their reply, boost and favourite counts; trending hashtags and links include daily usage history. Set server to read another server’s trends and pass the returned cursor for the next page.
Call Search with a query and type accounts or hashtags. Account results include profile details and follower counts; hashtag results include daily usage. To read the posts behind a hashtag, call Hashtag, which returns recent posts newest first with a cursor for older ones.
Create a ScrapeAtlas account and generate an API key in the dashboard. Send the key in the x-api-key request header when calling https://api.scrapeatlas.com. The API playground lets you enter an endpoint’s parameters and inspect its JSON response.
Yes. Send authenticated HTTP requests from Python, JavaScript or another language that supports HTTP. The endpoint reference includes request examples and response fields. Use the ScrapeAtlas CLI for terminal workflows and pass the returned pagination values when requesting additional result pages.
Yes. Connect an MCP-compatible assistant to the ScrapeAtlas MCP server to discover and call the public platform tools with your ScrapeAtlas account. The agent reference also gives coding assistants a readable guide to the endpoints and their request schemas.
Make something with it
Bring social data into your next project.
Start with 100 free credits and see what you can build.
We use essential storage to keep the site working. With your permission, optional analytics cookies help us understand visits. You can change your choice anytime. Privacy policy
Google Analytics and PostHog measure visits, page engagement, signup-link clicks and website performance. Rejecting optional cookies does not affect access to the site.
Allow Affonso to record your referral visit and store a cookie for 30 days. If you sign up, we share your verified email with Affonso to attribute purchases. Privacy policy