Mastodon

Get a Mastodon user’s posts

Retrieve up to 40 public posts and boosts from an account, newest first. Filter to original posts, posts without replies, media posts or pinned posts, and page with the returned cursor. Each successful request costs 1 account credit, including partial results. Failed requests cost 0 credits.

get/v1/mastodon/user/posts

Request

  • Base URL: https://api.scrapeatlas.com
  • URL: https://api.scrapeatlas.com/v1/mastodon/user/posts
  • Auth: API key in header x-api-key

Query parameters

handlestring required

Required account address: user@server, @user@server, a profile URL such as https://fosstodon.org/@user, or a bare username on mastodon.social. Accounts on servers outside the supported list, including other fediverse software, are read from mastodon.social's federated copy (warning federated_view).

filter'all' | 'posts' | 'original' | 'media' | 'pinned'

Optional: all (default: posts, replies and boosts), posts (no replies), original (no replies or boosts), media (posts with media) or pinned.

cursorstring

Optional cursor from the previous response. Omit for the first page.

number
OR
string

Earliest publication time to include, ISO 8601 or Unix seconds.

number
OR
string

Publication time to stop before, ISO 8601 or Unix seconds; later than since.

Response

Inspect the response status and failure or coverage fields.

OR

Changes

No recorded changes to this operation across all 1 revision of this API.