Skip to main content
POST
Get category page results

Authorizations

Authorization
string
header
default:Token <your_token>
required

API token in the format Token {your_token}. Required for server-side requests. Browser requests from allowed origins are authenticated automatically via CORS and do not need this token.

Path Parameters

hashid
string
required

Search Engine ID (also known as hashid).

Example:

"abc1234de"

Body

application/json
base_filter
object
required

The category to render: exactly one field with a non-empty string value, typically the field and value configured for the category in the admin panel. It is not checked against that configuration: any field and value are searched.

Example:
filter
object

Additional filter values to narrow the result set, keyed by indexed field. Values for the same field are combined with OR logic, including the base filter field.

Example:
exclude
object

Exclude items with these field values from the results, keyed by indexed field.

Example:
sort
object[]

Sort criteria in priority order. Each item maps a field name to a direction (asc or desc). If omitted, the sort configured for the category is used.

Example:
page
integer
default:1

Page number (1-indexed). Defaults to 1; invalid values fall back to the default.

Required range: x >= 1
rpp
integer
default:50

Number of results per page. Defaults to 50; invalid values fall back to the default.

Required range: x >= 1
currency
string | null

ISO 4217 currency code. When provided, prices are converted to this currency using the exchange rates configured in the search engine.

Example:

"EUR"

results_personalization_dfids
string[]

Doofinder item IDs (dfid) the user has recently interacted with. When provided, results are reordered to surface contextually relevant items.

Example:

Response

Search results for the category page.

Search results and metadata for the category page.

results
object[]

Ordered list of result items for the current page.

total
integer

Total number of items matching the effective filter (across all pages).

Example:

243

facets
object

Aggregations for the result set, as configured for the category page.

page
integer

Current page number.

Example:

1

rpp
integer

Number of results per page.

Example:

50

base_filter
object[]

The base filter applied to this category page, expressed as a list of field/values pairs. It comes from the request's base_filter (or, on the deprecated endpoint, from the matched URL pattern) and is always applied.

filter
object[]

The additional client-supplied filters applied to the search, expressed as a list of field/values pairs.

banner
object | null

A promotional banner associated with the current category filter, if one is configured. null when no banner is configured for the matched category.