Discovery
Category lookup
GET
/v1/categoriesCategory 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
| Parameter | Type and limits | Description |
|---|---|---|
qoptional | string | Text to match in the category ID (up to 120 characters). |
limitoptional | integer1–100, default 50 | Items, 1–100. |
countryoptional | string | ISO 3166-1 alpha-2 country code. |
afteroptional | string | Next 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 (0when nothing was charged).Retry-After: 429 only: seconds until the rate window ends.
Errors
| Status | Meaning |
|---|---|
401 | Missing, invalid or revoked API key (WWW-Authenticate: Bearer). Not charged. |
422 | Invalid parameter or combination, or an invalid cursor. Not charged. |
429 | Workspace rate limit exceeded; retry after Retry-After seconds. Not charged. |
Errors are JSON, {"detail": "..."}. See Errors and rate limits.