GroundsocialDocs

API · Gab

GET /gab/posts/{id}/comments

Comments under a Gab post, newest, oldest or top first.

RequestGET /v1/gab/posts/{id}/comments
Operation idgab.post.comments
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Comments under a Gab post, newest, oldest or top first.

Path parameters

NameTypeRequiredDescription
idstringyesA post id or its gab.com URL. Example: 117672526190050854.

Query parameters

NameTypeRequiredDescription
sort"newest" | "oldest" | "top"noOne of newest, oldest, top.
afterstringnoThe previous page’s meta.next_token.
sincestringnoOnly rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Example: 2026-01-01.
untilstringnoOnly rows published on or before this date: YYYY-MM-DD (that whole UTC day) or an ISO 8601 timestamp. Example: 2026-12-31.

Responses

StatusMeaningSchema
200A page of comments.GabComments
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The account or post does not exist or was deleted.Error
429Too many requests. Wait for Retry-After seconds.Error
503Gab is temporarily unavailable. Retryable; nothing was charged.Error

GabComments fields

FieldTypeDescription
dataGabStatus[]
metaobject

Errors use one shape everywhere; see Errors for every code and what to do.