Get category page results
Returns search results for the category page whose URL pattern matches the provided url.
The url is matched against the URL patterns configured for the given search engine.
The highest-priority matching pattern determines the base filter and facets applied to
the search. Client-supplied filter params are merged on top: keys that overlap with
the pattern filter are ignored, the rest are added to the query.
Sort order: If sort params are provided they take precedence. Otherwise, the sort
configured in the category page settings is applied. If neither is configured, results
are returned in the engine’s default order.
Authorizations
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.
Authorization: Token abc123xyzPath Parameters
Search Engine ID (also known as hashid).
"abc1234de"
Query Parameters
Full URL of the category page to match against the configured URL patterns. Query string and fragment are stripped before matching.
"https://example.com/categories/shoes.html"
ISO 4217 currency code. When provided, prices are converted to this currency using the exchange rates configured in the search engine.
"EUR"
Page number (1-indexed). Defaults to 1.
x >= 12
Number of results per page. Defaults to 50.
x >= 124
Sort criteria in indexed map format. N is a 0-based integer that defines the
sort priority. field is the name of the field to sort by, and the value is the
direction (asc or desc).
Example: sort[0][price]=asc&sort[1][brand]=desc sorts first by price ascending,
then by brand descending.
If omitted, the sort configured in the category page settings is used.
asc, desc Additional filter values to narrow the result set. field is the name of the
indexed field. Repeat the parameter with different values to match any of them
(OR logic within the same field).
Example: filter[brand][]=Nike&filter[brand][]=Adidas
Fields that conflict with the URL pattern filter are silently ignored.
Exclude items with these field values from the results. field is the name of
the indexed field. Repeat the parameter to exclude multiple values.
Example: exclude[dfid][]=abc123&exclude[dfid][]=def456
List of Doofinder item IDs (dfid) representing items the user has recently
interacted with. When provided, results are reordered to surface contextually
relevant items.
[
"abc1234de@product@a1b2c3",
"abc1234de@product@d4e5f6"
]Response
Search results for the matched category page.
Search results and metadata for the matched category page.
Ordered list of result items for the current page.
Total number of items matching the effective filter (across all pages).
243
Aggregations for the result set. Fields used by the URL pattern filter are excluded, as those dimensions cannot be changed by facet navigation.
Current page number.
1
Number of results per page.
50
The URL pattern filter applied to this category page, expressed as a list of field/values pairs. This filter is always present and is derived from the matched URL pattern. It cannot be overridden by client-supplied filters.
The additional client-supplied filters applied to the search, expressed as a list of
field/values pairs. This reflects only the filters passed by the caller via
filter[field][]=value query parameters, excluding any keys that conflict with
base_filter.
A promotional banner associated with the current category filter, if one is configured.
null when no banner is configured for the matched category.