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 | Mandatory | Description |
|---|---|---|---|
| limit | Integer | No | Maximum number of items to return. Default: 30. Minimum: 1. Maximum: 200. |
| page_lang | String | No | Page language code. 2 to 8 characters. |
| country_code | String | No | 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 | Mandatory | Description |
|---|---|---|---|
country_code | String | No | Country code used to filter the category facet data. |
page_lang | String | No | Page language used to filter the category facet data. |
total | Integer | No | Total number of records represented by the response. |
categories | Array | No | List of category facets with their associated counts. |
categories[].val | String | No | Category path, represented as a hierarchical path. |
categories[].count | Integer | No | Number of records associated with the category. |


