APIs / Mastodon / Status

Mastodon: Status

Status from Mastodon as JSON. 1 credit per successful call.

GET /v1/mastodon/statusNeeds terms

Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
instancestringOptionalUp to 253 characters
idstringRequiredUp to 64 characters

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/mastodon/status?instance=mastodon.social&id=117429466327292556" \
  -H "X-API-Key: $API_KEY"

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.ancestors has these 18 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
created_atstring
sensitiveboolean
spoiler_textstring
visibilitystring
languagestring
uriurl
urlurl
replies_countinteger
reblogs_countinteger
favourites_countinteger
quotes_countinteger
contentstring
accountobject
tagsobject[]
quoteobject
quote_approvalobject
content_textstring