Gab

Get Gab post

Get a Gab post by URL with its text, media, reactions, poll, group and author.

GET/v1/gab/posts
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
urlstringrequiredquery

Link to the Gab post (https://gab.com/{username}/posts/{id}) or its numeric id.

min 1 chars · max 512 chars

Response fields
321

Endpoint-specific response payload.

datalookupStatus
string

`not_found` for a deleted post, a post only followers can see, or an id that never existed: Gab does not tell them apart.

one of: found, not_found

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

datapostid
string

Gab post id.

dataposturl
stringnullable

Post page.

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 HTML.

dataposttext
stringnullable

Post body as plain text.

datapostcontentWarning
stringnullable

Content warning text.

datapostisSensitive
booleannullable

True when the author marked the post sensitive.

datapostvisibility
stringnullable

`public` or `unlisted`.

The account that wrote the post.

datapostauthorid
string

Gab account id.

datapostauthorhandle
string

Username without the @.

datapostauthorusername
string

Username as Gab spells it.

datapostauthorurl
stringnullable

Profile page.

datapostauthordisplayName
stringnullable

Display name.

datapostauthorbioHtml
stringnullable

Bio as HTML.

datapostauthorbio
stringnullable

Bio as plain text.

Profile picture.

datapostauthoravatarurl
stringnullable

Image URL.

datapostauthoravatarstaticUrl
stringnullable

Still frame of an animated image.

Cover image.

datapostauthorheaderurl
stringnullable

Image URL.

datapostauthorheaderstaticUrl
stringnullable

Still frame of an animated image.

datapostauthorcreatedAt
stringnullable

When the account was created.

Gab's own counters.

datapostauthorstatsfollowers
integernullable

Accounts following this account.

datapostauthorstatsfollowing
integernullable

Accounts this account follows.

datapostauthorstatsposts
integernullable

Posts by this account.

datapostauthorisBot
booleannullable

True when the account is marked as a bot.

datapostauthorisLocked
booleannullable

True when only approved followers can see its posts.

datapostauthorisVerified
booleannullable

True when Gab verified the account.

datapostauthorisPro
booleannullable

True for a GabPRO subscriber.

datapostauthorisDonor
booleannullable

True when the account donated.

datapostauthorisInvestor
booleannullable

True when the account invested in Gab.

datapostauthorisParody
booleannullable

True when the account is labelled a parody.

datapostauthorisDiscoverable
booleannullable

The owner's opt-in to suggestions and the directory.

datapostauthorcountryCode
stringnullable

Two-letter country code Gab shows on the profile.

Profile metadata fields, in the owner's order.

datapostauthorfields[]name
string

Label.

datapostauthorfields[]valueHtml
string

Value as HTML.

datapostauthorfields[]value
string

Value as plain text.

datapostauthorfields[]verifiedAt
stringnullable

When a link in the value was verified.

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.

The post this replies to, or null for a top-level post.

datapostreplyTopostId
stringnullable

Post this one replies to.

datapostreplyToaccountId
stringnullable

Account this post replies to.

datapostconversationId
stringnullable

Thread the post belongs to.

Engagement counters as Gab reports them.

datapoststatsreplies
integernullable

Replies in the whole thread under the post.

datapoststatsdirectReplies
integernullable

Replies to this post itself.

datapoststatsboosts
integernullable

Reposts.

datapoststatsfavourites
integernullable

Likes.

datapoststatsquotes
integernullable

Quote posts.

Reaction counts by Gab's reaction type id, largest first. Empty when the post has none.

datapostreactions[]id
string

Gab's id for the reaction type.

datapostreactions[]count
integer

Reactions of this type.

Media attached to the post.

datapostmedia[]id
string

Media id.

datapostmedia[]type
string

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

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

datapostmedia[]url
stringnullable

The file: the image, or the video's MP4.

datapostmedia[]previewUrl
stringnullable

Preview image.

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.

Hashtags in the post.

dataposthashtags[]name
string

Hashtag name without the `#`.

dataposthashtags[]url
stringnullable

Hashtag page.

Accounts mentioned in the post.

datapostmentions[]id
string

Account id.

datapostmentions[]handle
string

Username of the mentioned account.

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
stringnullable

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.

datapostcardimageUrl
stringnullable

Preview image.

Poll, when the post has one.

datapostpollid
string

Poll id.

datapostpollexpiresAt
stringnullable

When voting closes.

datapostpollexpired
booleannullable

True when voting has closed.

datapostpollmultiple
booleannullable

True when a voter may choose more than one option.

datapostpollvotes
integernullable

Total votes.

Poll choices, in the author's order.

datapostpolloptions[]title
string

Option text.

datapostpolloptions[]votes
integernullable

Votes for this option.

The group the post was published in, when any.

datapostgroupid
string

Group id.

datapostgrouptitle
stringnullable

Group name.

datapostgroupurl
stringnullable

Group page.

datapostgroupmemberCount
integernullable

Members.

datapostgroupisPrivate
booleannullable

True when only members can see the group.

datapostisBoost
boolean

True when this is a repost of another post.

The reposted post when `isBoost` is true.

datapostboostOfid
string

Gab post id.

datapostboostOfurl
stringnullable

Post page.

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 HTML.

datapostboostOftext
stringnullable

Post body as plain text.

datapostboostOfcontentWarning
stringnullable

Content warning text.

datapostboostOfisSensitive
booleannullable

True when the author marked the post sensitive.

datapostboostOfvisibility
stringnullable

`public` or `unlisted`.

The account that wrote the post.

datapostboostOfauthorid
string

Gab account id.

datapostboostOfauthorhandle
string

Username without the @.

datapostboostOfauthorusername
string

Username as Gab spells it.

datapostboostOfauthorurl
stringnullable

Profile page.

datapostboostOfauthordisplayName
stringnullable

Display name.

datapostboostOfauthorbioHtml
stringnullable

Bio as HTML.

datapostboostOfauthorbio
stringnullable

Bio as plain text.

Profile picture.

datapostboostOfauthoravatarurl
stringnullable

Image URL.

datapostboostOfauthoravatarstaticUrl
stringnullable

Still frame of an animated image.

Cover image.

datapostboostOfauthorheaderurl
stringnullable

Image URL.

datapostboostOfauthorheaderstaticUrl
stringnullable

Still frame of an animated image.

datapostboostOfauthorcreatedAt
stringnullable

When the account was created.

Gab's own counters.

datapostboostOfauthorstatsfollowers
integernullable

Accounts following this account.

datapostboostOfauthorstatsfollowing
integernullable

Accounts this account follows.

datapostboostOfauthorstatsposts
integernullable

Posts by this account.

datapostboostOfauthorisBot
booleannullable

True when the account is marked as a bot.

datapostboostOfauthorisLocked
booleannullable

True when only approved followers can see its posts.

datapostboostOfauthorisVerified
booleannullable

True when Gab verified the account.

datapostboostOfauthorisPro
booleannullable

True for a GabPRO subscriber.

datapostboostOfauthorisDonor
booleannullable

True when the account donated.

datapostboostOfauthorisInvestor
booleannullable

True when the account invested in Gab.

datapostboostOfauthorisParody
booleannullable

True when the account is labelled a parody.

datapostboostOfauthorisDiscoverable
booleannullable

The owner's opt-in to suggestions and the directory.

datapostboostOfauthorcountryCode
stringnullable

Two-letter country code Gab shows on the profile.

Profile metadata fields, in the owner's order.

datapostboostOfauthorfields[]name
string

Label.

datapostboostOfauthorfields[]valueHtml
string

Value as HTML.

datapostboostOfauthorfields[]value
string

Value as plain text.

datapostboostOfauthorfields[]verifiedAt
stringnullable

When a link in the value was verified.

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.

The post this replies to, or null for a top-level post.

datapostboostOfreplyTopostId
stringnullable

Post this one replies to.

datapostboostOfreplyToaccountId
stringnullable

Account this post replies to.

datapostboostOfconversationId
stringnullable

Thread the post belongs to.

Engagement counters as Gab reports them.

datapostboostOfstatsreplies
integernullable

Replies in the whole thread under the post.

datapostboostOfstatsdirectReplies
integernullable

Replies to this post itself.

datapostboostOfstatsboosts
integernullable

Reposts.

datapostboostOfstatsfavourites
integernullable

Likes.

datapostboostOfstatsquotes
integernullable

Quote posts.

Reaction counts by Gab's reaction type id, largest first. Empty when the post has none.

datapostboostOfreactions[]id
string

Gab's id for the reaction type.

datapostboostOfreactions[]count
integer

Reactions of this type.

Media attached to the post.

datapostboostOfmedia[]id
string

Media id.

datapostboostOfmedia[]type
string

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

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

datapostboostOfmedia[]url
stringnullable

The file: the image, or the video's MP4.

datapostboostOfmedia[]previewUrl
stringnullable

Preview image.

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.

Hashtags in the post.

datapostboostOfhashtags[]name
string

Hashtag name without the `#`.

datapostboostOfhashtags[]url
stringnullable

Hashtag page.

Accounts mentioned in the post.

datapostboostOfmentions[]id
string

Account id.

datapostboostOfmentions[]handle
string

Username of the mentioned account.

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
stringnullable

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.

datapostboostOfcardimageUrl
stringnullable

Preview image.

Poll, when the post has one.

datapostboostOfpollid
string

Poll id.

datapostboostOfpollexpiresAt
stringnullable

When voting closes.

datapostboostOfpollexpired
booleannullable

True when voting has closed.

datapostboostOfpollmultiple
booleannullable

True when a voter may choose more than one option.

datapostboostOfpollvotes
integernullable

Total votes.

Poll choices, in the author's order.

datapostboostOfpolloptions[]title
string

Option text.

datapostboostOfpolloptions[]votes
integernullable

Votes for this option.

The group the post was published in, when any.

datapostboostOfgroupid
string

Group id.

datapostboostOfgrouptitle
stringnullable

Group name.

datapostboostOfgroupurl
stringnullable

Group page.

datapostboostOfgroupmemberCount
integernullable

Members.

datapostboostOfgroupisPrivate
booleannullable

True when only members can see the group.

The quoted post, when this post quotes one.

datapostquoteid
string

Gab post id.

datapostquoteurl
stringnullable

Post page.

datapostquotecreatedAt
stringnullable

ISO-8601 UTC.

datapostquoteeditedAt
stringnullable

When the post was last edited, or null.

datapostquotelanguage
stringnullable

ISO code, or null when unset.

datapostquotecontentHtml
stringnullable

Post body as HTML.

datapostquotetext
stringnullable

Post body as plain text.

datapostquotecontentWarning
stringnullable

Content warning text.

datapostquoteisSensitive
booleannullable

True when the author marked the post sensitive.

datapostquotevisibility
stringnullable

`public` or `unlisted`.

The account that wrote the post.

datapostquoteauthorid
string

Gab account id.

datapostquoteauthorhandle
string

Username without the @.

datapostquoteauthorusername
string

Username as Gab spells it.

datapostquoteauthorurl
stringnullable

Profile page.

datapostquoteauthordisplayName
stringnullable

Display name.

datapostquoteauthorbioHtml
stringnullable

Bio as HTML.

datapostquoteauthorbio
stringnullable

Bio as plain text.

Profile picture.

datapostquoteauthoravatarurl
stringnullable

Image URL.

datapostquoteauthoravatarstaticUrl
stringnullable

Still frame of an animated image.

Cover image.

datapostquoteauthorheaderurl
stringnullable

Image URL.

datapostquoteauthorheaderstaticUrl
stringnullable

Still frame of an animated image.

datapostquoteauthorcreatedAt
stringnullable

When the account was created.

Gab's own counters.

datapostquoteauthorstatsfollowers
integernullable

Accounts following this account.

datapostquoteauthorstatsfollowing
integernullable

Accounts this account follows.

datapostquoteauthorstatsposts
integernullable

Posts by this account.

datapostquoteauthorisBot
booleannullable

True when the account is marked as a bot.

datapostquoteauthorisLocked
booleannullable

True when only approved followers can see its posts.

datapostquoteauthorisVerified
booleannullable

True when Gab verified the account.

datapostquoteauthorisPro
booleannullable

True for a GabPRO subscriber.

datapostquoteauthorisDonor
booleannullable

True when the account donated.

datapostquoteauthorisInvestor
booleannullable

True when the account invested in Gab.

datapostquoteauthorisParody
booleannullable

True when the account is labelled a parody.

datapostquoteauthorisDiscoverable
booleannullable

The owner's opt-in to suggestions and the directory.

datapostquoteauthorcountryCode
stringnullable

Two-letter country code Gab shows on the profile.

Profile metadata fields, in the owner's order.

datapostquoteauthorfields[]name
string

Label.

datapostquoteauthorfields[]valueHtml
string

Value as HTML.

datapostquoteauthorfields[]value
string

Value as plain text.

datapostquoteauthorfields[]verifiedAt
stringnullable

When a link in the value was verified.

Custom emojis used in the display name or bio.

datapostquoteauthoremojis[]shortcode
string

Shortcode without colons.

datapostquoteauthoremojis[]url
stringnullable

Emoji image.

datapostquoteauthoremojis[]staticUrl
stringnullable

Still frame.

The post this replies to, or null for a top-level post.

datapostquotereplyTopostId
stringnullable

Post this one replies to.

datapostquotereplyToaccountId
stringnullable

Account this post replies to.

datapostquoteconversationId
stringnullable

Thread the post belongs to.

Engagement counters as Gab reports them.

datapostquotestatsreplies
integernullable

Replies in the whole thread under the post.

datapostquotestatsdirectReplies
integernullable

Replies to this post itself.

datapostquotestatsboosts
integernullable

Reposts.

datapostquotestatsfavourites
integernullable

Likes.

datapostquotestatsquotes
integernullable

Quote posts.

Reaction counts by Gab's reaction type id, largest first. Empty when the post has none.

datapostquotereactions[]id
string

Gab's id for the reaction type.

datapostquotereactions[]count
integer

Reactions of this type.

Media attached to the post.

datapostquotemedia[]id
string

Media id.

datapostquotemedia[]type
string

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

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

datapostquotemedia[]url
stringnullable

The file: the image, or the video's MP4.

datapostquotemedia[]previewUrl
stringnullable

Preview image.

datapostquotemedia[]description
stringnullable

Alt text.

datapostquotemedia[]blurhash
stringnullable

Blurhash placeholder for the preview.

datapostquotemedia[]width
integernullable

Width in pixels, when known.

datapostquotemedia[]height
integernullable

Height in pixels, when known.

datapostquotemedia[]durationSeconds
numbernullable

Duration in seconds for video or audio, when known.

Hashtags in the post.

datapostquotehashtags[]name
string

Hashtag name without the `#`.

datapostquotehashtags[]url
stringnullable

Hashtag page.

Accounts mentioned in the post.

datapostquotementions[]id
string

Account id.

datapostquotementions[]handle
string

Username of the mentioned account.

datapostquotementions[]url
stringnullable

Profile page of the mentioned account.

Custom emojis used in the post.

datapostquoteemojis[]shortcode
string

Shortcode without colons.

datapostquoteemojis[]url
stringnullable

Emoji image.

datapostquoteemojis[]staticUrl
stringnullable

Still frame.

Link preview card, when the post has one.

datapostquotecardurl
string

The link the card points to.

datapostquotecardtitle
stringnullable

Title of the linked page.

datapostquotecarddescription
stringnullable

Short description of the linked page.

datapostquotecardtype
stringnullable

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

datapostquotecardproviderName
stringnullable

Site that published the linked page.

datapostquotecardimageUrl
stringnullable

Preview image.

Poll, when the post has one.

datapostquotepollid
string

Poll id.

datapostquotepollexpiresAt
stringnullable

When voting closes.

datapostquotepollexpired
booleannullable

True when voting has closed.

datapostquotepollmultiple
booleannullable

True when a voter may choose more than one option.

datapostquotepollvotes
integernullable

Total votes.

Poll choices, in the author's order.

datapostquotepolloptions[]title
string

Option text.

datapostquotepolloptions[]votes
integernullable

Votes for this option.

The group the post was published in, when any.

datapostquotegroupid
string

Group id.

datapostquotegrouptitle
stringnullable

Group name.

datapostquotegroupurl
stringnullable

Group page.

datapostquotegroupmemberCount
integernullable

Members.

datapostquotegroupisPrivate
booleannullable

True when only members can see the group.

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

metastale
booleanoptional

Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.

one of: true

metafetchedAt
stringoptional

When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.

Code example

curl "https://api.socialfetch.dev/v1/gab/posts?url=https://gab.com/a/posts/117618813576291643" \
  -H "x-api-key: YOUR_API_KEY"

Responses

A Gab post.