Gab

Search Gab groups

Search Gab groups by name or topic, with a cursor.

GET/v1/gab/search/groups
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
querystringrequiredquery

Words to search for, up to 100 characters. Gab search only accepts Latin letters, digits and punctuation: no non-Latin letters or emoji. Accents are ignored.

min 1 chars · max 100 chars

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
26

Endpoint-specific response payload.

datalookupStatus
string

Always `found`: no match is an empty list.

one of: found, not_found

dataquery
string

The search text that was asked for.

Matching groups, in Gab's order.

datagroups[]id
string

Group id.

datagroups[]title
stringnullable

Group name.

datagroups[]description
stringnullable

About text, as plain text.

datagroups[]url
stringnullable

Group page.

datagroups[]coverImageUrl
stringnullable

Cover image.

datagroups[]memberCount
integernullable

Members.

datagroups[]category
stringnullable

Gab's category for the group.

datagroups[]createdAt
stringnullable

When the group was created.

datagroups[]isVerified
booleannullable

True when Gab verified the group.

datagroups[]isPrivate
booleannullable

True when only members can see the group.

datagroups[]isModerated
booleannullable

True when posts need a moderator's approval.

datagroups[]isArchived
booleannullable

True when the group is archived.

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/search/groups?query=news" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Matching Gab groups.