Skip to main content
GET
Get category page results by URL (deprecated)

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"

Query Parameters

url
string
required

Full URL of the category page to match against the configured URL patterns. Query string and fragment are stripped before matching.

Example:

"https://example.com/categories/shoes.html"

currency
string

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

Example:

"EUR"

page
integer
default:1

Page number (1-indexed). Defaults to 1.

Required range: x >= 1
Example:

2

rpp
integer
default:50

Number of results per page. Defaults to 50.

Required range: x >= 1
Example:

24

sort[N][field]
enum<string>

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.

Available options:
asc,
desc
filter[field][]
string[]

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

Values for the URL pattern filter field are combined with it using OR logic.

exclude[field][]
string[]

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

results_personalization_dfids[]
string[]

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

Example:

Response

Search results for the matched 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.