About this endpoint
What it does
Returns category facet data as a JSON object. The endpoint accepts query parameters to control pagination and localization, and the response schema is an object with additional properties allowed.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| limit | Integer | Maximum number of items to return. Default: 30. Minimum: 1. Maximum: 200. |
| page_lang | String | Page language code. 2 to 8 characters. |
| country_code | String | Country code. 2 to 3 characters. |
Response
Returns category facet data, including the selected country and page language, the total number of records, and a list of categories with their associated counts.
| Field | Type | Description |
|---|---|---|
country_code | String | Country code used to filter the category facet data. |
page_lang | String | Page language used to filter the category facet data. |
total | Integer | Total number of records represented by the response. |
categories | Array | List of category facets with their associated counts. |
categories[].val | String | Category path, represented as a hierarchical path. |
categories[].count | Integer | Number of records associated with the category. |


