Mastodon

Get Mastodon post

Get a public Mastodon post by its URL: text, media, polls, link card, counts and author.

GET/v1/mastodon/posts
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
urlstringrequiredquery

Public URL of a post, e.g. `https://mastodon.social/@Gargron/117555039933723776`. The server in the URL is the server asked, because post ids belong to a server.

Response fields
413

Endpoint-specific response payload.

datalookupStatus
string

`found`, `not_found`, `restricted` (login required or closed), `unsupported` (this server does not offer it) or `not_compatible` (the host is not a Mastodon-compatible server). See `reason`.

one of: found, not_found, restricted, unsupported, not_compatible

datahost
string

The server that was asked.

datasoftware
stringnullableoptional

Only on a `not_compatible` result (and always on the server endpoint): the software the host runs, from its NodeInfo, e.g. `misskey` or `lemmy`; null when it does not say. Absent otherwise.

Why `lookupStatus` is not `found`, or null when it is `found`.

datareasoncode
string

Machine-readable reason.

one of: login_required, closed_by_operator, hidden_by_owner, suspended, not_implemented, disabled_by_operator, not_a_mastodon_server, unsupported_server_software, host_not_found, post_not_visible

datareasonmessage
string

Plain-language explanation.

The post when `lookupStatus` is `found`; otherwise null.

datapostid
string

Post id on `host`.

dataposthost
string

The server this record came from.

dataposturl
stringnullable

Post page.

dataposturi
stringnullable

ActivityPub id. Stable across servers.

datapostcreatedAt
stringnullable

ISO-8601 UTC.

dataposteditedAt
stringnullable

When the post was last edited, or null.

datapostlanguage
stringnullable

ISO code, or null when unset.

datapostcontentHtml
stringnullable

Post body as sanitised HTML.

dataposttext
stringnullable

Post body as plain text.

datapostcontentWarning
stringnullable

Content warning text.

datapostisSensitive
boolean

True when the author marked the post sensitive.

datapostvisibility
stringnullable

`public` or `unlisted`.

The account that wrote the post.

datapostauthorid
string

Account id on `host`.

datapostauthorhost
string

The server this record came from.

datapostauthorhandle
string

`user@host`, with the account's home server.

datapostauthorusername
string

Username without the host.

datapostauthorurl
stringnullable

Profile page.

datapostauthoractorUri
stringnullable

ActivityPub id, when the server shows it.

datapostauthordisplayName
stringnullable

Display name.

datapostauthorbioHtml
stringnullable

Bio as sanitised HTML.

datapostauthorbio
stringnullable

Bio as plain text.

An avatar or header image.

datapostauthoravatarurl
stringnullable

Image URL on the server or its media store.

datapostauthoravatarstaticUrl
stringnullable

Still frame of an animated image.

datapostauthoravatardescription
stringnullable

Alt text.

An avatar or header image.

datapostauthorheaderurl
stringnullable

Image URL on the server or its media store.

datapostauthorheaderstaticUrl
stringnullable

Still frame of an animated image.

datapostauthorheaderdescription
stringnullable

Alt text.

datapostauthorcreatedAt
stringnullable

Account creation, rounded to midnight UTC by the server.

datapostauthorlastPostDate
stringnullable

Date of the latest post (a date, not a time).

The server's own counters.

datapostauthorstatsfollowers
integernullable

Accounts following this account.

datapostauthorstatsfollowing
integernullable

Accounts this account follows.

datapostauthorstatsposts
integernullable

Posts by this account.

datapostauthorisBot
boolean

True when the account is marked as a bot.

datapostauthorisGroup
boolean

True when the account is a group.

datapostauthorisLocked
boolean

Follow requests need approval. Public posts are still public.

datapostauthorisLimited
boolean

The server's moderators limited (silenced) the account.

datapostauthorisSuspended
boolean

True when the server suspended the account.

datapostauthorisDiscoverable
booleannullable

The owner's opt-in to the profile directory and recommendations. null on servers that do not report it.

datapostauthorisIndexable
booleannullable

The owner's opt-in to search engines indexing public posts. null when not reported.

datapostauthornoIndex
booleannullable

The owner asks search engines to skip the profile. null when not reported.

datapostauthorhidesNetwork
booleannullable

The owner hides the follower and following lists. null when not reported.

The account this one moved to.

datapostauthormovedToid
stringnullable

Account id on the server that returned it.

datapostauthormovedTohandle
string

`user@host` of the account this one moved to.

datapostauthormovedTourl
stringnullable

Profile page of the new account.

datapostauthormovedTodisplayName
stringnullable

Display name of the new account.

Profile metadata fields, in the owner's order.

datapostauthorfields[]name
string

Label.

datapostauthorfields[]valueHtml
string

Value as sanitised HTML.

datapostauthorfields[]value
string

Value as plain text.

datapostauthorfields[]verifiedAt
stringnullable

When a link in the value was verified with rel=me.

Custom emojis used in the display name or bio.

datapostauthoremojis[]shortcode
string

Shortcode without colons.

datapostauthoremojis[]url
stringnullable

Emoji image.

datapostauthoremojis[]staticUrl
stringnullable

Still frame.

Public badges such as Owner or Moderator.

datapostauthorroles[]id
stringnullable

Role id on `host`.

datapostauthorroles[]name
string

Role name, such as Owner or Moderator.

datapostauthorroles[]color
stringnullable

Badge colour as a hex value, when set.

The post this replies to. Ids belong to `host`.

datapostreplyTopostId
stringnullable

Id of the post this one replies to, on `host`.

datapostreplyToaccountId
stringnullable

Id of the account this post replies to, on `host`.

Engagement counters as the server reports them.

datapoststatsreplies
integernullable

Replies the server counts.

datapoststatsboosts
integernullable

Boosts the server counts.

datapoststatsfavourites
integernullable

Favourites the server counts.

datapoststatsquotes
integernullable

Quotes the server counts, when it reports them.

Media attached to the post.

datapostmedia[]id
string

Media id on `host`.

datapostmedia[]type
string

`image`, `video`, `gifv` or `audio`.

one of: image, video, gifv, audio, unknown

datapostmedia[]url
stringnullable

File on the author's server. Never copied.

datapostmedia[]previewUrl
stringnullable

Preview image.

datapostmedia[]originUrl
stringnullable

Where the file lives on the author's own server.

datapostmedia[]description
stringnullable

Alt text.

datapostmedia[]blurhash
stringnullable

Blurhash placeholder for the preview.

datapostmedia[]width
integernullable

Width in pixels, when known.

datapostmedia[]height
integernullable

Height in pixels, when known.

datapostmedia[]durationSeconds
numbernullable

Duration in seconds for video or audio, when known.

Focal point, -1 to 1.

datapostmedia[]focusx
number

Horizontal focal point, -1 to 1.

datapostmedia[]focusy
number

Vertical focal point, -1 to 1.

Hashtags in the post.

dataposthashtags[]name
string

Hashtag name without the `#`.

dataposthashtags[]url
stringnullable

Hashtag page on the server.

Accounts mentioned in the post.

datapostmentions[]id
string

Account id on `host`.

datapostmentions[]handle
string

`user@host` of the mentioned account.

datapostmentions[]username
string

Username without the host.

datapostmentions[]url
stringnullable

Profile page of the mentioned account.

Custom emojis used in the post.

datapostemojis[]shortcode
string

Shortcode without colons.

datapostemojis[]url
stringnullable

Emoji image.

datapostemojis[]staticUrl
stringnullable

Still frame.

Link preview card, when the post has one.

datapostcardurl
string

The link the card points to.

datapostcardtitle
string

Title of the linked page.

datapostcarddescription
stringnullable

Short description of the linked page.

datapostcardtype
stringnullable

`link`, `photo`, `video` or `rich`.

datapostcardproviderName
stringnullable

Site that published the linked page.

datapostcardproviderUrl
stringnullable

The publisher's own page.

Authors of the linked page.

datapostcardauthors[]name
stringnullable

Author name.

datapostcardauthors[]url
stringnullable

Author page.

datapostcardpublishedAt
stringnullable

When the linked page was published, when known.

datapostcardlanguage
stringnullable

ISO language code of the linked page, when known.

Preview image, when the link has one.

datapostcardimageurl
string

Preview image.

datapostcardimagedescription
stringnullable

Alt text.

datapostcardimageblurhash
stringnullable

Blurhash placeholder for the preview.

datapostcardimagewidth
integernullable

Width in pixels, when known.

datapostcardimageheight
integernullable

Height in pixels, when known.

Poll, when the post has one.

datapostpollid
string

Poll id on `host`.

datapostpollexpiresAt
stringnullable

When voting closes, when the poll has an end.

datapostpollexpired
boolean

True when voting has closed.

datapostpollmultiple
boolean

True when a voter may choose more than one option.

datapostpollvotes
integernullable

Total votes, or null when the server does not report it.

datapostpollvoters
integernullable

Distinct voters, or null when the server does not count them.

Poll choices, in the author's order.

datapostpolloptions[]title
string

Option text.

datapostpolloptions[]votes
integernullable

Votes for this option, when reported.

Custom emojis used in the poll.

datapostpollemojis[]shortcode
string

Shortcode without colons.

datapostpollemojis[]url
stringnullable

Emoji image.

datapostpollemojis[]staticUrl
stringnullable

Still frame.

The client the author posted from.

datapostappname
string

Name of the client.

datapostappwebsite
stringnullable

The client's website.

datapostisBoost
boolean

True when this is a boost of another post.

The boosted post when `isBoost` is true.

datapostboostOfid
string

Post id on `host`.

datapostboostOfhost
string

The server this record came from.

datapostboostOfurl
stringnullable

Post page.

datapostboostOfuri
stringnullable

ActivityPub id. Stable across servers.

datapostboostOfcreatedAt
stringnullable

ISO-8601 UTC.

datapostboostOfeditedAt
stringnullable

When the post was last edited, or null.

datapostboostOflanguage
stringnullable

ISO code, or null when unset.

datapostboostOfcontentHtml
stringnullable

Post body as sanitised HTML.

datapostboostOftext
stringnullable

Post body as plain text.

datapostboostOfcontentWarning
stringnullable

Content warning text.

datapostboostOfisSensitive
boolean

True when the author marked the post sensitive.

datapostboostOfvisibility
stringnullable

`public` or `unlisted`.

The account that wrote the post.

datapostboostOfauthorid
string

Account id on `host`.

datapostboostOfauthorhost
string

The server this record came from.

datapostboostOfauthorhandle
string

`user@host`, with the account's home server.

datapostboostOfauthorusername
string

Username without the host.

datapostboostOfauthorurl
stringnullable

Profile page.

datapostboostOfauthoractorUri
stringnullable

ActivityPub id, when the server shows it.

datapostboostOfauthordisplayName
stringnullable

Display name.

datapostboostOfauthorbioHtml
stringnullable

Bio as sanitised HTML.

datapostboostOfauthorbio
stringnullable

Bio as plain text.

An avatar or header image.

datapostboostOfauthoravatarurl
stringnullable

Image URL on the server or its media store.

datapostboostOfauthoravatarstaticUrl
stringnullable

Still frame of an animated image.

datapostboostOfauthoravatardescription
stringnullable

Alt text.

An avatar or header image.

datapostboostOfauthorheaderurl
stringnullable

Image URL on the server or its media store.

datapostboostOfauthorheaderstaticUrl
stringnullable

Still frame of an animated image.

datapostboostOfauthorheaderdescription
stringnullable

Alt text.

datapostboostOfauthorcreatedAt
stringnullable

Account creation, rounded to midnight UTC by the server.

datapostboostOfauthorlastPostDate
stringnullable

Date of the latest post (a date, not a time).

The server's own counters.

datapostboostOfauthorstatsfollowers
integernullable

Accounts following this account.

datapostboostOfauthorstatsfollowing
integernullable

Accounts this account follows.

datapostboostOfauthorstatsposts
integernullable

Posts by this account.

datapostboostOfauthorisBot
boolean

True when the account is marked as a bot.

datapostboostOfauthorisGroup
boolean

True when the account is a group.

datapostboostOfauthorisLocked
boolean

Follow requests need approval. Public posts are still public.

datapostboostOfauthorisLimited
boolean

The server's moderators limited (silenced) the account.

datapostboostOfauthorisSuspended
boolean

True when the server suspended the account.

datapostboostOfauthorisDiscoverable
booleannullable

The owner's opt-in to the profile directory and recommendations. null on servers that do not report it.

datapostboostOfauthorisIndexable
booleannullable

The owner's opt-in to search engines indexing public posts. null when not reported.

datapostboostOfauthornoIndex
booleannullable

The owner asks search engines to skip the profile. null when not reported.

datapostboostOfauthorhidesNetwork
booleannullable

The owner hides the follower and following lists. null when not reported.

The account this one moved to.

datapostboostOfauthormovedToid
stringnullable

Account id on the server that returned it.

datapostboostOfauthormovedTohandle
string

`user@host` of the account this one moved to.

datapostboostOfauthormovedTourl
stringnullable

Profile page of the new account.

datapostboostOfauthormovedTodisplayName
stringnullable

Display name of the new account.

Profile metadata fields, in the owner's order.

datapostboostOfauthorfields[]name
string

Label.

datapostboostOfauthorfields[]valueHtml
string

Value as sanitised HTML.

datapostboostOfauthorfields[]value
string

Value as plain text.

datapostboostOfauthorfields[]verifiedAt
stringnullable

When a link in the value was verified with rel=me.

Custom emojis used in the display name or bio.

datapostboostOfauthoremojis[]shortcode
string

Shortcode without colons.

datapostboostOfauthoremojis[]url
stringnullable

Emoji image.

datapostboostOfauthoremojis[]staticUrl
stringnullable

Still frame.

Public badges such as Owner or Moderator.

datapostboostOfauthorroles[]id
stringnullable

Role id on `host`.

datapostboostOfauthorroles[]name
string

Role name, such as Owner or Moderator.

datapostboostOfauthorroles[]color
stringnullable

Badge colour as a hex value, when set.

The post this replies to. Ids belong to `host`.

datapostboostOfreplyTopostId
stringnullable

Id of the post this one replies to, on `host`.

datapostboostOfreplyToaccountId
stringnullable

Id of the account this post replies to, on `host`.

Engagement counters as the server reports them.

datapostboostOfstatsreplies
integernullable

Replies the server counts.

datapostboostOfstatsboosts
integernullable

Boosts the server counts.

datapostboostOfstatsfavourites
integernullable

Favourites the server counts.

datapostboostOfstatsquotes
integernullable

Quotes the server counts, when it reports them.

Media attached to the post.

datapostboostOfmedia[]id
string

Media id on `host`.

datapostboostOfmedia[]type
string

`image`, `video`, `gifv` or `audio`.

one of: image, video, gifv, audio, unknown

datapostboostOfmedia[]url
stringnullable

File on the author's server. Never copied.

datapostboostOfmedia[]previewUrl
stringnullable

Preview image.

datapostboostOfmedia[]originUrl
stringnullable

Where the file lives on the author's own server.

datapostboostOfmedia[]description
stringnullable

Alt text.

datapostboostOfmedia[]blurhash
stringnullable

Blurhash placeholder for the preview.

datapostboostOfmedia[]width
integernullable

Width in pixels, when known.

datapostboostOfmedia[]height
integernullable

Height in pixels, when known.

datapostboostOfmedia[]durationSeconds
numbernullable

Duration in seconds for video or audio, when known.

Focal point, -1 to 1.

datapostboostOfmedia[]focusx
number

Horizontal focal point, -1 to 1.

datapostboostOfmedia[]focusy
number

Vertical focal point, -1 to 1.

Hashtags in the post.

datapostboostOfhashtags[]name
string

Hashtag name without the `#`.

datapostboostOfhashtags[]url
stringnullable

Hashtag page on the server.

Accounts mentioned in the post.

datapostboostOfmentions[]id
string

Account id on `host`.

datapostboostOfmentions[]handle
string

`user@host` of the mentioned account.

datapostboostOfmentions[]username
string

Username without the host.

datapostboostOfmentions[]url
stringnullable

Profile page of the mentioned account.

Custom emojis used in the post.

datapostboostOfemojis[]shortcode
string

Shortcode without colons.

datapostboostOfemojis[]url
stringnullable

Emoji image.

datapostboostOfemojis[]staticUrl
stringnullable

Still frame.

Link preview card, when the post has one.

datapostboostOfcardurl
string

The link the card points to.

datapostboostOfcardtitle
string

Title of the linked page.

datapostboostOfcarddescription
stringnullable

Short description of the linked page.

datapostboostOfcardtype
stringnullable

`link`, `photo`, `video` or `rich`.

datapostboostOfcardproviderName
stringnullable

Site that published the linked page.

datapostboostOfcardproviderUrl
stringnullable

The publisher's own page.

Authors of the linked page.

datapostboostOfcardauthors[]name
stringnullable

Author name.

datapostboostOfcardauthors[]url
stringnullable

Author page.

datapostboostOfcardpublishedAt
stringnullable

When the linked page was published, when known.

datapostboostOfcardlanguage
stringnullable

ISO language code of the linked page, when known.

Preview image, when the link has one.

datapostboostOfcardimageurl
string

Preview image.

datapostboostOfcardimagedescription
stringnullable

Alt text.

datapostboostOfcardimageblurhash
stringnullable

Blurhash placeholder for the preview.

datapostboostOfcardimagewidth
integernullable

Width in pixels, when known.

datapostboostOfcardimageheight
integernullable

Height in pixels, when known.

Poll, when the post has one.

datapostboostOfpollid
string

Poll id on `host`.

datapostboostOfpollexpiresAt
stringnullable

When voting closes, when the poll has an end.

datapostboostOfpollexpired
boolean

True when voting has closed.

datapostboostOfpollmultiple
boolean

True when a voter may choose more than one option.

datapostboostOfpollvotes
integernullable

Total votes, or null when the server does not report it.

datapostboostOfpollvoters
integernullable

Distinct voters, or null when the server does not count them.

Poll choices, in the author's order.

datapostboostOfpolloptions[]title
string

Option text.

datapostboostOfpolloptions[]votes
integernullable

Votes for this option, when reported.

Custom emojis used in the poll.

datapostboostOfpollemojis[]shortcode
string

Shortcode without colons.

datapostboostOfpollemojis[]url
stringnullable

Emoji image.

datapostboostOfpollemojis[]staticUrl
stringnullable

Still frame.

The client the author posted from.

datapostboostOfappname
string

Name of the client.

datapostboostOfappwebsite
stringnullable

The client's website.

The quoted post, on servers that support quotes.

datapostquotestate
stringnullable

`accepted`, `pending`, `deleted`...

The quoted post, when it is public.

datapostquotepostid
string

Post id on `host`.

datapostquoteposthost
string

The server this record came from.

datapostquoteposturl
stringnullable

Post page.

datapostquoteposturi
stringnullable

ActivityPub id. Stable across servers.

datapostquotepostcreatedAt
stringnullable

ISO-8601 UTC.

datapostquoteposteditedAt
stringnullable

When the post was last edited, or null.

datapostquotepostlanguage
stringnullable

ISO code, or null when unset.

datapostquotepostcontentHtml
stringnullable

Post body as sanitised HTML.

datapostquoteposttext
stringnullable

Post body as plain text.

datapostquotepostcontentWarning
stringnullable

Content warning text.

datapostquotepostisSensitive
boolean

True when the author marked the post sensitive.

datapostquotepostvisibility
stringnullable

`public` or `unlisted`.

The account that wrote the post.

datapostquotepostauthorid
string

Account id on `host`.

datapostquotepostauthorhost
string

The server this record came from.

datapostquotepostauthorhandle
string

`user@host`, with the account's home server.

datapostquotepostauthorusername
string

Username without the host.

datapostquotepostauthorurl
stringnullable

Profile page.

datapostquotepostauthoractorUri
stringnullable

ActivityPub id, when the server shows it.

datapostquotepostauthordisplayName
stringnullable

Display name.

datapostquotepostauthorbioHtml
stringnullable

Bio as sanitised HTML.

datapostquotepostauthorbio
stringnullable

Bio as plain text.

An avatar or header image.

datapostquotepostauthoravatarurl
stringnullable

Image URL on the server or its media store.

datapostquotepostauthoravatarstaticUrl
stringnullable

Still frame of an animated image.

datapostquotepostauthoravatardescription
stringnullable

Alt text.

An avatar or header image.

datapostquotepostauthorheaderurl
stringnullable

Image URL on the server or its media store.

datapostquotepostauthorheaderstaticUrl
stringnullable

Still frame of an animated image.

datapostquotepostauthorheaderdescription
stringnullable

Alt text.

datapostquotepostauthorcreatedAt
stringnullable

Account creation, rounded to midnight UTC by the server.

datapostquotepostauthorlastPostDate
stringnullable

Date of the latest post (a date, not a time).

The server's own counters.

datapostquotepostauthorstatsfollowers
integernullable

Accounts following this account.

datapostquotepostauthorstatsfollowing
integernullable

Accounts this account follows.

datapostquotepostauthorstatsposts
integernullable

Posts by this account.

datapostquotepostauthorisBot
boolean

True when the account is marked as a bot.

datapostquotepostauthorisGroup
boolean

True when the account is a group.

datapostquotepostauthorisLocked
boolean

Follow requests need approval. Public posts are still public.

datapostquotepostauthorisLimited
boolean

The server's moderators limited (silenced) the account.

datapostquotepostauthorisSuspended
boolean

True when the server suspended the account.

datapostquotepostauthorisDiscoverable
booleannullable

The owner's opt-in to the profile directory and recommendations. null on servers that do not report it.

datapostquotepostauthorisIndexable
booleannullable

The owner's opt-in to search engines indexing public posts. null when not reported.

datapostquotepostauthornoIndex
booleannullable

The owner asks search engines to skip the profile. null when not reported.

datapostquotepostauthorhidesNetwork
booleannullable

The owner hides the follower and following lists. null when not reported.

The account this one moved to.

datapostquotepostauthormovedToid
stringnullable

Account id on the server that returned it.

datapostquotepostauthormovedTohandle
string

`user@host` of the account this one moved to.

datapostquotepostauthormovedTourl
stringnullable

Profile page of the new account.

datapostquotepostauthormovedTodisplayName
stringnullable

Display name of the new account.

Profile metadata fields, in the owner's order.

datapostquotepostauthorfields[]name
string

Label.

datapostquotepostauthorfields[]valueHtml
string

Value as sanitised HTML.

datapostquotepostauthorfields[]value
string

Value as plain text.

datapostquotepostauthorfields[]verifiedAt
stringnullable

When a link in the value was verified with rel=me.

Custom emojis used in the display name or bio.

datapostquotepostauthoremojis[]shortcode
string

Shortcode without colons.

datapostquotepostauthoremojis[]url
stringnullable

Emoji image.

datapostquotepostauthoremojis[]staticUrl
stringnullable

Still frame.

Public badges such as Owner or Moderator.

datapostquotepostauthorroles[]id
stringnullable

Role id on `host`.

datapostquotepostauthorroles[]name
string

Role name, such as Owner or Moderator.

datapostquotepostauthorroles[]color
stringnullable

Badge colour as a hex value, when set.

The post this replies to. Ids belong to `host`.

datapostquotepostreplyTopostId
stringnullable

Id of the post this one replies to, on `host`.

datapostquotepostreplyToaccountId
stringnullable

Id of the account this post replies to, on `host`.

Engagement counters as the server reports them.

datapostquotepoststatsreplies
integernullable

Replies the server counts.

datapostquotepoststatsboosts
integernullable

Boosts the server counts.

datapostquotepoststatsfavourites
integernullable

Favourites the server counts.

datapostquotepoststatsquotes
integernullable

Quotes the server counts, when it reports them.

Media attached to the post.

datapostquotepostmedia[]id
string

Media id on `host`.

datapostquotepostmedia[]type
string

`image`, `video`, `gifv` or `audio`.

one of: image, video, gifv, audio, unknown

datapostquotepostmedia[]url
stringnullable

File on the author's server. Never copied.

datapostquotepostmedia[]previewUrl
stringnullable

Preview image.

datapostquotepostmedia[]originUrl
stringnullable

Where the file lives on the author's own server.

datapostquotepostmedia[]description
stringnullable

Alt text.

datapostquotepostmedia[]blurhash
stringnullable

Blurhash placeholder for the preview.

datapostquotepostmedia[]width
integernullable

Width in pixels, when known.

datapostquotepostmedia[]height
integernullable

Height in pixels, when known.

datapostquotepostmedia[]durationSeconds
numbernullable

Duration in seconds for video or audio, when known.

Focal point, -1 to 1.

datapostquotepostmedia[]focusx
number

Horizontal focal point, -1 to 1.

datapostquotepostmedia[]focusy
number

Vertical focal point, -1 to 1.

Hashtags in the post.

datapostquoteposthashtags[]name
string

Hashtag name without the `#`.

datapostquoteposthashtags[]url
stringnullable

Hashtag page on the server.

Accounts mentioned in the post.

datapostquotepostmentions[]id
string

Account id on `host`.

datapostquotepostmentions[]handle
string

`user@host` of the mentioned account.

datapostquotepostmentions[]username
string

Username without the host.

datapostquotepostmentions[]url
stringnullable

Profile page of the mentioned account.

Custom emojis used in the post.

datapostquotepostemojis[]shortcode
string

Shortcode without colons.

datapostquotepostemojis[]url
stringnullable

Emoji image.

datapostquotepostemojis[]staticUrl
stringnullable

Still frame.

Link preview card, when the post has one.

datapostquotepostcardurl
string

The link the card points to.

datapostquotepostcardtitle
string

Title of the linked page.

datapostquotepostcarddescription
stringnullable

Short description of the linked page.

datapostquotepostcardtype
stringnullable

`link`, `photo`, `video` or `rich`.

datapostquotepostcardproviderName
stringnullable

Site that published the linked page.

datapostquotepostcardproviderUrl
stringnullable

The publisher's own page.

Authors of the linked page.

datapostquotepostcardauthors[]name
stringnullable

Author name.

datapostquotepostcardauthors[]url
stringnullable

Author page.

datapostquotepostcardpublishedAt
stringnullable

When the linked page was published, when known.

datapostquotepostcardlanguage
stringnullable

ISO language code of the linked page, when known.

Preview image, when the link has one.

datapostquotepostcardimageurl
string

Preview image.

datapostquotepostcardimagedescription
stringnullable

Alt text.

datapostquotepostcardimageblurhash
stringnullable

Blurhash placeholder for the preview.

datapostquotepostcardimagewidth
integernullable

Width in pixels, when known.

datapostquotepostcardimageheight
integernullable

Height in pixels, when known.

Poll, when the post has one.

datapostquotepostpollid
string

Poll id on `host`.

datapostquotepostpollexpiresAt
stringnullable

When voting closes, when the poll has an end.

datapostquotepostpollexpired
boolean

True when voting has closed.

datapostquotepostpollmultiple
boolean

True when a voter may choose more than one option.

datapostquotepostpollvotes
integernullable

Total votes, or null when the server does not report it.

datapostquotepostpollvoters
integernullable

Distinct voters, or null when the server does not count them.

Poll choices, in the author's order.

datapostquotepostpolloptions[]title
string

Option text.

datapostquotepostpolloptions[]votes
integernullable

Votes for this option, when reported.

Custom emojis used in the poll.

datapostquotepostpollemojis[]shortcode
string

Shortcode without colons.

datapostquotepostpollemojis[]url
stringnullable

Emoji image.

datapostquotepostpollemojis[]staticUrl
stringnullable

Still frame.

The client the author posted from.

datapostquotepostappname
string

Name of the client.

datapostquotepostappwebsite
stringnullable

The client's website.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/mastodon/posts?url=https://mastodon.social/@Gargron/117555039933723776" \
  -H "x-api-key: YOUR_API_KEY"

Responses

The post, or why it cannot be shown.