curl --request GET \
--url https://api.example.com/endpointQuery the Kameleoon Search service to retrieve instant or full product search results based on user input.
curl --request GET \
--url https://api.example.com/endpointThe Kameleoon Search service provides two search types:Documentation Index
Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
Use this file to discover all available pages before exploring further.
type parameter to specify the search type.
GET https://api.products.kameleoon.com/search
| Parameter | Type | Required | Description |
|---|---|---|---|
did | String | True | 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 | True | 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 | True | Store Key. Find this in Recommendations > Settings > Store settings in the Kameleoon app. Contact your Customer Success Manager for the key if necessary. |
type | String | True | Specifies the search type: instant_search or full_search. |
search_query | String | True | Current search query. |
locations | List | Optional | Comma-separated list of location IDs. |
type=full_search).
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | Integer | Optional | Maximum number of results the API returns. |
offset | Integer | Optional | Result offset. |
category_limit | Integer | Optional | Maximum number of categories for the sidebar filter. |
categories | List | Optional | Comma-separated list of categories for filtering. |
extended | Integer or empty | Optional | Adds extended information for product results. Supported values: 1 or empty. If 1, the API returns all product information. If empty, the API returns only product IDs. Kameleoon recommends setting this to 1 for full search. |
sort_by | String | Optional | Sorting parameter. Supported values: popular, price, discount, sales_rate, date. |
order | String | Optional | Sort direction: asc (ascending) or desc (descending). Default is desc. |
brands | List | Optional | Comma-separated list of brands for filtering. |
filters | String | Optional | Escaped JSON string with filter parameters. Example: {"bluetooth":["yes"],"offers":["15% cashback"],"weight":["1.6"]} |
price_min | Integer | Optional | Minimum price. |
price_max | Integer | Optional | Maximum price. |
colors | Integer | Optional | Comma-separated list of colors. |
exclude | Integer | Optional | Comma-separated list of product IDs to exclude from search results. |
| Name | Type | Description |
|---|---|---|
search_query | string | Search query. |
categories | array | Category information. Each object contains these properties:
|
filters | array | Filter information. Each object contains these properties:
|
html | string | HTML code for the product block. Customize the template in the Kameleoon personal account. |
price_range | object | Minimum and maximum product prices. Contains these properties:
|
products | array | Product information. Each object contains these properties:
|
search_query_redirects | array | Redirect information. Each object contains these properties:
|
products_total | number | Total number of products. |
| Name | Type | Description |
|---|---|---|
brands | array | Brand information. Each object contains these properties:
|
categories | array | Category information. Each object contains these properties:
|
filters | array | Filter information. Each object contains these properties:
|
html | string | HTML code for the product block. Customize the template in the Kameleoon personal account. |
price_range | object | Minimum and maximum product prices. Contains these properties:
|
products | array | Product information. Each object contains these properties:
|
products_total | number | Total count of products. |
search_query | string | Search query. |
Was this page helpful?