Discovery

Category lookup

GET/v1/categories

Category IDs present in the published data, by text match; use them in categories.

Authentication
Workspace API key: Authorization: Bearer YOUR_API_KEY
Price
FreeFree (fair use). Needs a Bearer API key; counts toward the workspace rate limit.

Parameters

ParameterType and limitsDescription
qoptionalstringText to match in the category ID (up to 120 characters).
limitoptionalinteger1–100, default 50Items, 1–100.
countryoptionalstringISO 3166-1 alpha-2 country code.
afteroptionalstringNext page: the last category ID of the previous page (IDs are in ascending order).

Response

JSON. The example on the right shows the shape with illustrative values.

  • X-Request-Id: Server-generated ID of this request; quote it to support.
  • X-Credits-Charged: Credits actually debited for this request (0 when nothing was charged).
  • Retry-After: 429 only: seconds until the rate window ends.

Errors

StatusMeaning
401Missing, invalid or revoked API key (WWW-Authenticate: Bearer). Not charged.
422Invalid parameter or combination, or an invalid cursor. Not charged.
429Workspace rate limit exceeded; retry after Retry-After seconds. Not charged.

Errors are JSON, {"detail": "..."}. See Errors and rate limits.