Skip to content
OpenAPI JSON ↗

Mastodon · List an account's statuses

Provide one of: acct, id. One page of public statuses. Pass acct, or id together with instance. max_id is the older-than cursor. An empty page costs 0 credits.

1 credit default · rule-based0 credits on error & cache
GET
/v1/mastodon/account/statuses

Credit Cost & Caching

View credit packs ↗

Default: 1 credit when no rule matches.

  1. 0 credits when response field statuses is empty or absent.

An empty result costs 0 credits.

How charges are determined

Cost is decided per call, not per endpoint: the same operation can cost different amounts depending on what it returns.

A call that fails costs 0 credits. A result served from cache costs 0 credits.

`default` is the cost when no rule matches. Rules are evaluated in order and the first whose conditions all hold wins.

A `when` condition is one of: `param` (the request parameter is true), `outcome` (the classifier's outcome), `empty` / `nonEmpty` (a response field is empty and absent, or a non-empty array or string), `flag` (a response field is exactly true).

A cost of `{ perStartedMinute: n, of: [fields] }` is n x max(1, ceil(seconds / 60)), so even a short result bills at least one minute.

Cache control

Serve a cached response when it is newer than this. A cache hit costs 0 credits.

Pagination

{"cursor":"max_id","response_field":"next_max_id"}

Authorizations · Headers

x-api-keystringheaderrequired

Your Fetchproof API key (starts with fp_live_). Create one at app.fetchproof.com.

Query Parameters

5 parameters
Provide at least one of these parameters: acctid
acctstringqueryoptional

Account in the form user@instance.

idstringqueryoptional

Account id on the instance, used with instance instead of acct.

instancestringqueryoptional

Instance hostname. Required when id is used instead of acct.

max_idstringqueryoptional

Return statuses older than this id.

cache_max_agestringqueryoptional

Serve a cached response when it is newer than this. A cache hit costs 0 credits.

Response Schemas

200Success. Envelope: success / credits_remaining / credits_charged.
Content-Typeapplication/json
object
successbooleanrequired
credits_remainingintegerrequired
credits_chargedintegerrequired
statusesobject[]required
Array itemsobject
idstringoptional
created_atstringoptional
urlstringoptional
contentstringoptional

HTML as returned by the instance.

textstringoptional

content with tags removed.

spoiler_textstringoptional
sensitivebooleanoptional
languagestringoptional
replies_countintegeroptional
reblogs_countintegeroptional
favourites_countintegeroptional
in_reply_to_idstringoptional
accountobjectoptional
mediaobject[]optional
Array itemsobject
object
tagsstring[]optional
Array itemsstring
string
reblogobjectoptional
next_max_idstringoptional

Pass as max_id for the next page. Null when this page is the last.

401Invalid or missing x-api-key
402No credits remaining
404Resource not found. Costs 0 credits.
GET

/v1/mastodon/account/statuses

Parameters

string query

Account in the form user@instance.

string query

Account id on the instance, used with instance instead of acct.

string query

Instance hostname. Required when id is used instead of acct.

string query

Return statuses older than this id.

string query

Serve a cached response when it is newer than this. A cache hit costs 0 credits.

Request URL

https://api.fetchproof.com/v1/mastodon/account/statuses

Snippets use a $FETCHPROOF_API_KEY placeholder. To run a live call, use the dashboard Playground.

 
↑↓ navigate · ↵ open · esc close