Gab

List Gab post comments

List the comments on a Gab post, most liked, newest or oldest first.

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

API key (`sfk_...`)

Parameters
3
urlstringrequiredquery

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

min 1 chars · max 512 chars

sortstringoptionalquery

`newest` (default) or `oldest` page through every direct reply; `top` is Gab's 10 most liked, one page only (`page.truncated` is true when there may be more).

one of: top, newest, oldest

cursorstringoptionalquery

Pass `page.nextCursor` from the previous response to get the next page. It only works with the same input.

min 1 chars · max 4096 chars

Response fields
326

Endpoint-specific response payload.

datalookupStatus
string

`not_found` when the post does not exist or is not public.

one of: found, not_found

datasort
string

The order that was used.

one of: top, newest, oldest

Direct replies to the post. Each carries `stats.directReplies` for the replies under it.

datacomments[]id
string

Gab post id.

datacomments[]url
stringnullable

Post page.

datacomments[]createdAt
stringnullable

ISO-8601 UTC.

datacomments[]editedAt
stringnullable

When the post was last edited, or null.

datacomments[]language
stringnullable

ISO code, or null when unset.

datacomments[]contentHtml
stringnullable

Post body as HTML.

datacomments[]text
stringnullable

Post body as plain text.

datacomments[]contentWarning
stringnullable

Content warning text.

datacomments[]isSensitive
booleannullable

True when the author marked the post sensitive.

datacomments[]visibility
stringnullable

`public` or `unlisted`.

The account that wrote the post.

datacomments[]authorid
string

Gab account id.

datacomments[]authorhandle
string

Username without the @.

datacomments[]authorusername
string

Username as Gab spells it.

datacomments[]authorurl
stringnullable

Profile page.

datacomments[]authordisplayName
stringnullable

Display name.

datacomments[]authorbioHtml
stringnullable

Bio as HTML.

datacomments[]authorbio
stringnullable

Bio as plain text.

Profile picture.

datacomments[]authoravatarurl
stringnullable

Image URL.

datacomments[]authoravatarstaticUrl
stringnullable

Still frame of an animated image.

Cover image.

datacomments[]authorheaderurl
stringnullable

Image URL.

datacomments[]authorheaderstaticUrl
stringnullable

Still frame of an animated image.

datacomments[]authorcreatedAt
stringnullable

When the account was created.

Gab's own counters.

datacomments[]authorstatsfollowers
integernullable

Accounts following this account.

datacomments[]authorstatsfollowing
integernullable

Accounts this account follows.

datacomments[]authorstatsposts
integernullable

Posts by this account.

datacomments[]authorisBot
booleannullable

True when the account is marked as a bot.

datacomments[]authorisLocked
booleannullable

True when only approved followers can see its posts.

datacomments[]authorisVerified
booleannullable

True when Gab verified the account.

datacomments[]authorisPro
booleannullable

True for a GabPRO subscriber.

datacomments[]authorisDonor
booleannullable

True when the account donated.

datacomments[]authorisInvestor
booleannullable

True when the account invested in Gab.

datacomments[]authorisParody
booleannullable

True when the account is labelled a parody.

datacomments[]authorisDiscoverable
booleannullable

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

datacomments[]authorcountryCode
stringnullable

Two-letter country code Gab shows on the profile.

Profile metadata fields, in the owner's order.

datacomments[]authorfields[]name
string

Label.

datacomments[]authorfields[]valueHtml
string

Value as HTML.

datacomments[]authorfields[]value
string

Value as plain text.

datacomments[]authorfields[]verifiedAt
stringnullable

When a link in the value was verified.

Custom emojis used in the display name or bio.

datacomments[]authoremojis[]shortcode
string

Shortcode without colons.

datacomments[]authoremojis[]url
stringnullable

Emoji image.

datacomments[]authoremojis[]staticUrl
stringnullable

Still frame.

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

datacomments[]replyTopostId
stringnullable

Post this one replies to.

datacomments[]replyToaccountId
stringnullable

Account this post replies to.

datacomments[]conversationId
stringnullable

Thread the post belongs to.

Engagement counters as Gab reports them.

datacomments[]statsreplies
integernullable

Replies in the whole thread under the post.

datacomments[]statsdirectReplies
integernullable

Replies to this post itself.

datacomments[]statsboosts
integernullable

Reposts.

datacomments[]statsfavourites
integernullable

Likes.

datacomments[]statsquotes
integernullable

Quote posts.

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

datacomments[]reactions[]id
string

Gab's id for the reaction type.

datacomments[]reactions[]count
integer

Reactions of this type.

Media attached to the post.

datacomments[]media[]id
string

Media id.

datacomments[]media[]type
string

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

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

datacomments[]media[]url
stringnullable

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

datacomments[]media[]previewUrl
stringnullable

Preview image.

datacomments[]media[]description
stringnullable

Alt text.

datacomments[]media[]blurhash
stringnullable

Blurhash placeholder for the preview.

datacomments[]media[]width
integernullable

Width in pixels, when known.

datacomments[]media[]height
integernullable

Height in pixels, when known.

datacomments[]media[]durationSeconds
numbernullable

Duration in seconds for video or audio, when known.

Hashtags in the post.

datacomments[]hashtags[]name
string

Hashtag name without the `#`.

datacomments[]hashtags[]url
stringnullable

Hashtag page.

Accounts mentioned in the post.

datacomments[]mentions[]id
string

Account id.

datacomments[]mentions[]handle
string

Username of the mentioned account.

datacomments[]mentions[]url
stringnullable

Profile page of the mentioned account.

Custom emojis used in the post.

datacomments[]emojis[]shortcode
string

Shortcode without colons.

datacomments[]emojis[]url
stringnullable

Emoji image.

datacomments[]emojis[]staticUrl
stringnullable

Still frame.

Link preview card, when the post has one.

datacomments[]cardurl
string

The link the card points to.

datacomments[]cardtitle
stringnullable

Title of the linked page.

datacomments[]carddescription
stringnullable

Short description of the linked page.

datacomments[]cardtype
stringnullable

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

datacomments[]cardproviderName
stringnullable

Site that published the linked page.

datacomments[]cardimageUrl
stringnullable

Preview image.

Poll, when the post has one.

datacomments[]pollid
string

Poll id.

datacomments[]pollexpiresAt
stringnullable

When voting closes.

datacomments[]pollexpired
booleannullable

True when voting has closed.

datacomments[]pollmultiple
booleannullable

True when a voter may choose more than one option.

datacomments[]pollvotes
integernullable

Total votes.

Poll choices, in the author's order.

datacomments[]polloptions[]title
string

Option text.

datacomments[]polloptions[]votes
integernullable

Votes for this option.

The group the post was published in, when any.

datacomments[]groupid
string

Group id.

datacomments[]grouptitle
stringnullable

Group name.

datacomments[]groupurl
stringnullable

Group page.

datacomments[]groupmemberCount
integernullable

Members.

datacomments[]groupisPrivate
booleannullable

True when only members can see the group.

datacomments[]isBoost
boolean

True when this is a repost of another post.

The reposted post when `isBoost` is true.

datacomments[]boostOfid
string

Gab post id.

datacomments[]boostOfurl
stringnullable

Post page.

datacomments[]boostOfcreatedAt
stringnullable

ISO-8601 UTC.

datacomments[]boostOfeditedAt
stringnullable

When the post was last edited, or null.

datacomments[]boostOflanguage
stringnullable

ISO code, or null when unset.

datacomments[]boostOfcontentHtml
stringnullable

Post body as HTML.

datacomments[]boostOftext
stringnullable

Post body as plain text.

datacomments[]boostOfcontentWarning
stringnullable

Content warning text.

datacomments[]boostOfisSensitive
booleannullable

True when the author marked the post sensitive.

datacomments[]boostOfvisibility
stringnullable

`public` or `unlisted`.

The account that wrote the post.

datacomments[]boostOfauthorid
string

Gab account id.

datacomments[]boostOfauthorhandle
string

Username without the @.

datacomments[]boostOfauthorusername
string

Username as Gab spells it.

datacomments[]boostOfauthorurl
stringnullable

Profile page.

datacomments[]boostOfauthordisplayName
stringnullable

Display name.

datacomments[]boostOfauthorbioHtml
stringnullable

Bio as HTML.

datacomments[]boostOfauthorbio
stringnullable

Bio as plain text.

Profile picture.

datacomments[]boostOfauthoravatarurl
stringnullable

Image URL.

datacomments[]boostOfauthoravatarstaticUrl
stringnullable

Still frame of an animated image.

Cover image.

datacomments[]boostOfauthorheaderurl
stringnullable

Image URL.

datacomments[]boostOfauthorheaderstaticUrl
stringnullable

Still frame of an animated image.

datacomments[]boostOfauthorcreatedAt
stringnullable

When the account was created.

Gab's own counters.

datacomments[]boostOfauthorstatsfollowers
integernullable

Accounts following this account.

datacomments[]boostOfauthorstatsfollowing
integernullable

Accounts this account follows.

datacomments[]boostOfauthorstatsposts
integernullable

Posts by this account.

datacomments[]boostOfauthorisBot
booleannullable

True when the account is marked as a bot.

datacomments[]boostOfauthorisLocked
booleannullable

True when only approved followers can see its posts.

datacomments[]boostOfauthorisVerified
booleannullable

True when Gab verified the account.

datacomments[]boostOfauthorisPro
booleannullable

True for a GabPRO subscriber.

datacomments[]boostOfauthorisDonor
booleannullable

True when the account donated.

datacomments[]boostOfauthorisInvestor
booleannullable

True when the account invested in Gab.

datacomments[]boostOfauthorisParody
booleannullable

True when the account is labelled a parody.

datacomments[]boostOfauthorisDiscoverable
booleannullable

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

datacomments[]boostOfauthorcountryCode
stringnullable

Two-letter country code Gab shows on the profile.

Profile metadata fields, in the owner's order.

datacomments[]boostOfauthorfields[]name
string

Label.

datacomments[]boostOfauthorfields[]valueHtml
string

Value as HTML.

datacomments[]boostOfauthorfields[]value
string

Value as plain text.

datacomments[]boostOfauthorfields[]verifiedAt
stringnullable

When a link in the value was verified.

Custom emojis used in the display name or bio.

datacomments[]boostOfauthoremojis[]shortcode
string

Shortcode without colons.

datacomments[]boostOfauthoremojis[]url
stringnullable

Emoji image.

datacomments[]boostOfauthoremojis[]staticUrl
stringnullable

Still frame.

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

datacomments[]boostOfreplyTopostId
stringnullable

Post this one replies to.

datacomments[]boostOfreplyToaccountId
stringnullable

Account this post replies to.

datacomments[]boostOfconversationId
stringnullable

Thread the post belongs to.

Engagement counters as Gab reports them.

datacomments[]boostOfstatsreplies
integernullable

Replies in the whole thread under the post.

datacomments[]boostOfstatsdirectReplies
integernullable

Replies to this post itself.

datacomments[]boostOfstatsboosts
integernullable

Reposts.

datacomments[]boostOfstatsfavourites
integernullable

Likes.

datacomments[]boostOfstatsquotes
integernullable

Quote posts.

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

datacomments[]boostOfreactions[]id
string

Gab's id for the reaction type.

datacomments[]boostOfreactions[]count
integer

Reactions of this type.

Media attached to the post.

datacomments[]boostOfmedia[]id
string

Media id.

datacomments[]boostOfmedia[]type
string

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

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

datacomments[]boostOfmedia[]url
stringnullable

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

datacomments[]boostOfmedia[]previewUrl
stringnullable

Preview image.

datacomments[]boostOfmedia[]description
stringnullable

Alt text.

datacomments[]boostOfmedia[]blurhash
stringnullable

Blurhash placeholder for the preview.

datacomments[]boostOfmedia[]width
integernullable

Width in pixels, when known.

datacomments[]boostOfmedia[]height
integernullable

Height in pixels, when known.

datacomments[]boostOfmedia[]durationSeconds
numbernullable

Duration in seconds for video or audio, when known.

Hashtags in the post.

datacomments[]boostOfhashtags[]name
string

Hashtag name without the `#`.

datacomments[]boostOfhashtags[]url
stringnullable

Hashtag page.

Accounts mentioned in the post.

datacomments[]boostOfmentions[]id
string

Account id.

datacomments[]boostOfmentions[]handle
string

Username of the mentioned account.

datacomments[]boostOfmentions[]url
stringnullable

Profile page of the mentioned account.

Custom emojis used in the post.

datacomments[]boostOfemojis[]shortcode
string

Shortcode without colons.

datacomments[]boostOfemojis[]url
stringnullable

Emoji image.

datacomments[]boostOfemojis[]staticUrl
stringnullable

Still frame.

Link preview card, when the post has one.

datacomments[]boostOfcardurl
string

The link the card points to.

datacomments[]boostOfcardtitle
stringnullable

Title of the linked page.

datacomments[]boostOfcarddescription
stringnullable

Short description of the linked page.

datacomments[]boostOfcardtype
stringnullable

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

datacomments[]boostOfcardproviderName
stringnullable

Site that published the linked page.

datacomments[]boostOfcardimageUrl
stringnullable

Preview image.

Poll, when the post has one.

datacomments[]boostOfpollid
string

Poll id.

datacomments[]boostOfpollexpiresAt
stringnullable

When voting closes.

datacomments[]boostOfpollexpired
booleannullable

True when voting has closed.

datacomments[]boostOfpollmultiple
booleannullable

True when a voter may choose more than one option.

datacomments[]boostOfpollvotes
integernullable

Total votes.

Poll choices, in the author's order.

datacomments[]boostOfpolloptions[]title
string

Option text.

datacomments[]boostOfpolloptions[]votes
integernullable

Votes for this option.

The group the post was published in, when any.

datacomments[]boostOfgroupid
string

Group id.

datacomments[]boostOfgrouptitle
stringnullable

Group name.

datacomments[]boostOfgroupurl
stringnullable

Group page.

datacomments[]boostOfgroupmemberCount
integernullable

Members.

datacomments[]boostOfgroupisPrivate
booleannullable

True when only members can see the group.

The quoted post, when this post quotes one.

datacomments[]quoteid
string

Gab post id.

datacomments[]quoteurl
stringnullable

Post page.

datacomments[]quotecreatedAt
stringnullable

ISO-8601 UTC.

datacomments[]quoteeditedAt
stringnullable

When the post was last edited, or null.

datacomments[]quotelanguage
stringnullable

ISO code, or null when unset.

datacomments[]quotecontentHtml
stringnullable

Post body as HTML.

datacomments[]quotetext
stringnullable

Post body as plain text.

datacomments[]quotecontentWarning
stringnullable

Content warning text.

datacomments[]quoteisSensitive
booleannullable

True when the author marked the post sensitive.

datacomments[]quotevisibility
stringnullable

`public` or `unlisted`.

The account that wrote the post.

datacomments[]quoteauthorid
string

Gab account id.

datacomments[]quoteauthorhandle
string

Username without the @.

datacomments[]quoteauthorusername
string

Username as Gab spells it.

datacomments[]quoteauthorurl
stringnullable

Profile page.

datacomments[]quoteauthordisplayName
stringnullable

Display name.

datacomments[]quoteauthorbioHtml
stringnullable

Bio as HTML.

datacomments[]quoteauthorbio
stringnullable

Bio as plain text.

Profile picture.

datacomments[]quoteauthoravatarurl
stringnullable

Image URL.

datacomments[]quoteauthoravatarstaticUrl
stringnullable

Still frame of an animated image.

Cover image.

datacomments[]quoteauthorheaderurl
stringnullable

Image URL.

datacomments[]quoteauthorheaderstaticUrl
stringnullable

Still frame of an animated image.

datacomments[]quoteauthorcreatedAt
stringnullable

When the account was created.

Gab's own counters.

datacomments[]quoteauthorstatsfollowers
integernullable

Accounts following this account.

datacomments[]quoteauthorstatsfollowing
integernullable

Accounts this account follows.

datacomments[]quoteauthorstatsposts
integernullable

Posts by this account.

datacomments[]quoteauthorisBot
booleannullable

True when the account is marked as a bot.

datacomments[]quoteauthorisLocked
booleannullable

True when only approved followers can see its posts.

datacomments[]quoteauthorisVerified
booleannullable

True when Gab verified the account.

datacomments[]quoteauthorisPro
booleannullable

True for a GabPRO subscriber.

datacomments[]quoteauthorisDonor
booleannullable

True when the account donated.

datacomments[]quoteauthorisInvestor
booleannullable

True when the account invested in Gab.

datacomments[]quoteauthorisParody
booleannullable

True when the account is labelled a parody.

datacomments[]quoteauthorisDiscoverable
booleannullable

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

datacomments[]quoteauthorcountryCode
stringnullable

Two-letter country code Gab shows on the profile.

Profile metadata fields, in the owner's order.

datacomments[]quoteauthorfields[]name
string

Label.

datacomments[]quoteauthorfields[]valueHtml
string

Value as HTML.

datacomments[]quoteauthorfields[]value
string

Value as plain text.

datacomments[]quoteauthorfields[]verifiedAt
stringnullable

When a link in the value was verified.

Custom emojis used in the display name or bio.

datacomments[]quoteauthoremojis[]shortcode
string

Shortcode without colons.

datacomments[]quoteauthoremojis[]url
stringnullable

Emoji image.

datacomments[]quoteauthoremojis[]staticUrl
stringnullable

Still frame.

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

datacomments[]quotereplyTopostId
stringnullable

Post this one replies to.

datacomments[]quotereplyToaccountId
stringnullable

Account this post replies to.

datacomments[]quoteconversationId
stringnullable

Thread the post belongs to.

Engagement counters as Gab reports them.

datacomments[]quotestatsreplies
integernullable

Replies in the whole thread under the post.

datacomments[]quotestatsdirectReplies
integernullable

Replies to this post itself.

datacomments[]quotestatsboosts
integernullable

Reposts.

datacomments[]quotestatsfavourites
integernullable

Likes.

datacomments[]quotestatsquotes
integernullable

Quote posts.

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

datacomments[]quotereactions[]id
string

Gab's id for the reaction type.

datacomments[]quotereactions[]count
integer

Reactions of this type.

Media attached to the post.

datacomments[]quotemedia[]id
string

Media id.

datacomments[]quotemedia[]type
string

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

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

datacomments[]quotemedia[]url
stringnullable

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

datacomments[]quotemedia[]previewUrl
stringnullable

Preview image.

datacomments[]quotemedia[]description
stringnullable

Alt text.

datacomments[]quotemedia[]blurhash
stringnullable

Blurhash placeholder for the preview.

datacomments[]quotemedia[]width
integernullable

Width in pixels, when known.

datacomments[]quotemedia[]height
integernullable

Height in pixels, when known.

datacomments[]quotemedia[]durationSeconds
numbernullable

Duration in seconds for video or audio, when known.

Hashtags in the post.

datacomments[]quotehashtags[]name
string

Hashtag name without the `#`.

datacomments[]quotehashtags[]url
stringnullable

Hashtag page.

Accounts mentioned in the post.

datacomments[]quotementions[]id
string

Account id.

datacomments[]quotementions[]handle
string

Username of the mentioned account.

datacomments[]quotementions[]url
stringnullable

Profile page of the mentioned account.

Custom emojis used in the post.

datacomments[]quoteemojis[]shortcode
string

Shortcode without colons.

datacomments[]quoteemojis[]url
stringnullable

Emoji image.

datacomments[]quoteemojis[]staticUrl
stringnullable

Still frame.

Link preview card, when the post has one.

datacomments[]quotecardurl
string

The link the card points to.

datacomments[]quotecardtitle
stringnullable

Title of the linked page.

datacomments[]quotecarddescription
stringnullable

Short description of the linked page.

datacomments[]quotecardtype
stringnullable

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

datacomments[]quotecardproviderName
stringnullable

Site that published the linked page.

datacomments[]quotecardimageUrl
stringnullable

Preview image.

Poll, when the post has one.

datacomments[]quotepollid
string

Poll id.

datacomments[]quotepollexpiresAt
stringnullable

When voting closes.

datacomments[]quotepollexpired
booleannullable

True when voting has closed.

datacomments[]quotepollmultiple
booleannullable

True when a voter may choose more than one option.

datacomments[]quotepollvotes
integernullable

Total votes.

Poll choices, in the author's order.

datacomments[]quotepolloptions[]title
string

Option text.

datacomments[]quotepolloptions[]votes
integernullable

Votes for this option.

The group the post was published in, when any.

datacomments[]quotegroupid
string

Group id.

datacomments[]quotegrouptitle
stringnullable

Group name.

datacomments[]quotegroupurl
stringnullable

Group page.

datacomments[]quotegroupmemberCount
integernullable

Members.

datacomments[]quotegroupisPrivate
booleannullable

True when only members can see the group.

Pagination state for the current page.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Cursor to pass in the next request when more pages exist; null on the last page.

datapagetruncated
boolean

True when more rows exist than this list can reach: the list stops here before its end.

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/comments?url=https://gab.com/a/posts/117618813576291643" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Comments on a Gab post.