API · Gab
GET /gab/posts/{id}/comments
Comments under a Gab post, newest, oldest or top first.
| |
|---|
| Request | GET /v1/gab/posts/{id}/comments |
| Operation id | gab.post.comments |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Comments under a Gab post, newest, oldest or top first.
| Name | Type | Required | Description |
|---|
id | string | yes | A post id or its gab.com URL. Example: 117672526190050854. |
| Name | Type | Required | Description |
|---|
sort | "newest" | "oldest" | "top" | no | One of newest, oldest, top. |
after | string | no | The previous page’s meta.next_token. |
since | string | no | Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Example: 2026-01-01. |
until | string | no | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day) or an ISO 8601 timestamp. Example: 2026-12-31. |
| Status | Meaning | Schema |
|---|
200 | A page of comments. | GabComments |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The account or post does not exist or was deleted. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Gab is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
data | GabStatus[] | |
meta | object | |
Errors use one shape everywhere; see Errors for every code and what to do.