Skip to main content
GET
Retrieve search results
The Kameleoon Search service provides two search types:
  • Instant (typeahead) search: Displays and updates results as users type search queries.
  • Full search: Returns complete, filtered search results after the user submits a search query.
Both options use the same endpoint. Use the type parameter to specify the search type.

Query parameters

These query parameters apply to both full search and instant search. Use additional parameters only with full search.

Additional query parameters (full search only)

Use these additional parameters with full search requests (type=full_search).

Query Parameters

did
string
required

Device ID. Get this ID from the KameleoonProducts_device_id cookie. Retrieve it from the backend before calling this endpoint. Only provide did when using filters or algorithms that rely on historical device data, such as "Recently Viewed" or "Recommended for You."

sid
string
required

Temporary user session ID. Get this ID from the KameleoonProducts_session_code cookie. Retrieve it from the backend before calling this endpoint. Only provide sid when using filters or algorithms that rely on historical user data, such as "Recently Viewed" or "Recommended for You."

shop_id
string
required

Store Key. Find this in Recommendations > Settings > Store settings in the Kameleoon app. Contact your Customer Success Manager for the key if necessary.

type
enum<string>
required

Specifies the search type.

Available options:
instant_search,
full_search
search_query
string
required

Current search query.

locations
string[]

Comma-separated list of location IDs.

limit
integer

Maximum number of results the API returns. Full search only.

offset
integer

Result offset. Full search only.

category_limit
integer

Maximum number of categories for the sidebar filter. Full search only.

categories
string[]

Comma-separated list of categories for filtering. Full search only.

extended
integer

Adds extended information for product results. Supported values: 1 or empty. Kameleoon recommends setting this to 1 for full search.

sort_by
enum<string>

Sorting parameter. Full search only.

Available options:
popular,
price,
discount,
sales_rate,
date
order
enum<string>
default:desc

Sort direction. Full search only. Default is desc.

Available options:
asc,
desc
brands
string[]

Comma-separated list of brands for filtering. Full search only.

filters
string

Escaped JSON string with filter parameters. Full search only. Example: {"bluetooth":["yes"],"offers":["15% cashback"],"weight":["1.6"]}

price_min
integer

Minimum price. Full search only.

price_max
integer

Maximum price. Full search only.

colors
string[]

Comma-separated list of colors. Full search only.

exclude
string[]

Comma-separated list of product IDs to exclude from search results. Full search only.

Response

200 - application/json

Matching products for the search query. Verified against a live response on 2026-09-24. The exact response shape depends on type: instant search additionally returns queries, and full search additionally returns brands, price_ranges, price_median, and (with extended=1) industrial_filters.

Response shape verified against a live response on 2026-09-24. Fields kept from the original reference but not observed in that sample (search_query_redirects) may still appear conditionally. queries was observed for instant search; industrial_filters was observed for full search with extended=1.

search_query
string

The search query, as processed by Kameleoon.

search_query_original
string

The search query exactly as submitted.

collections
object[]

Matching product collections, if any.

categories
object[]

Category facet information.

filters
object

A map of filter name (for example, "Color", "Size") to that filter's aggregation. Verified against a live response on 2026-09-24; the original reference documented filters as an array, but the API actually returns an object keyed by filter name.

html
string

HTML code for the product block. Customize the template in the Kameleoon personal account.

price_range
object
price_ranges
object[]

Distribution of products across price ranges. Full search only.

price_median
number

Median product price. Full search only.

products
object[]

Matching products.

products_total
number

Total number of matching products.

search_query_redirects
object[]

Redirect information, when a matching redirect rule is configured. Not observed in the live sample; kept from the original reference.

brands
object[]

Brand facet information. Full search only.

clarification
boolean

Whether Kameleoon is asking for query clarification (for example, offering suggested queries) rather than returning a confident result set.

requests_count
integer

Number of search requests counted for this query in the current session.

queries
object[]

Suggested/corrected queries. Instant search only.

industrial_filters
object

Aggregated fashion-specific filter facets. Full search only, returned when extended=1.