POST
/
v3
/
search
/
results
{
  "n_hits": 123,
  "sorts": [
    {
      "field": "<string>",
      "order": "asc",
      "meta": {
        "title": "<string>",
        "values": [
          "asc"
        ],
        "names": [
          "<string>"
        ]
      }
    }
  ],
  "filters": [
    {
      "field": "<string>",
      "op": "eq",
      "data": "true",
      "meta": {
        "group_title": "<string>",
        "group_expanded": true,
        "type": "range",
        "min": 123,
        "max": 123,
        "unit": "<string>",
        "currency": "<string>"
      },
      "id": "<string>"
    }
  ],
  "search_request_id": "<string>",
  "cursor": "<string>",
  "content_search_links": [
    {
      "type": "content_link",
      "title": "<string>",
      "description": "<string>",
      "image_url": "<string>",
      "page_url": "<string>",
      "highlights": [
        {
          "field": "<string>",
          "snippet": "<string>",
          "matched_tokens": [
            "<string>"
          ]
        }
      ]
    }
  ],
  "displays": [
    {}
  ],
  "debug_info": "<any>"
}

Query Parameters

port
integer | null

Body

application/json
cursor
string | null

Used for cursor-based pagination. Set it to the cursor from the last response. If not set, will return the first results.

limit
integer | null

Used for cursor-based pagination. Maximum number of results per response.

page
integer | null

Used for Page-based pagination. 1-based index

hits_per_page
integer | null

Used for Page-based pagination. If using page-based pagination, this is a required field.

market
string
required
filters
object[] | null

List of filters to apply to the results.

sort
object | null

Specifies the sorting method. By default, the results are ordered by relevance. To find the possible values for this field, query the endpoint and look at the sorts field.

session_id
string | null

Session identifier

metadata
object | null

Metadata that can be used to modify the behaviour of the search.

merchant
string
required
locale
string
required
query
string | null

The search query.

Response

200 - application/json
n_hits
integer
required

Total number of results for this query. Not necessarily exact.

sorts
object[] | null

Available methods for sorting the response. Any element from this list can be sent as sort in subsequent requests.

filters
object[] | null

Available filters that can be used for filtering in the subsequent request.

search_request_id
string
required
cursor
string | null

Cursor that can be used in the next request to get subsequent results. If this is not set, there are no more results.

content_search_links
object[]

List of links to content pages that match the search query.

displays
object[]
required

The search results.

debug_info
any | null