Skip to main content
GET
Retrieve search results
Kameleoon Search サービスは 2 種類の検索を提供します。
  • 即時検索(タイプアヘッド検索): ユーザーが検索クエリを入力するたびに結果を表示および更新します。
  • 完全検索: ユーザーが検索クエリを送信した後に完全でフィルタリングされた検索結果を返します。
両方のオプションは同じエンドポイントを使用します。検索タイプを指定するには type パラメーターを使用します。

クエリパラメーター

これらのクエリパラメーターは完全検索と即時検索の両方に適用されます。追加のパラメーターは完全検索でのみ使用してください。

追加のクエリパラメーター(完全検索のみ)

これらの追加パラメーターは完全検索リクエスト(type=full_search)で使用してください。

レスポンス(即時検索)

レスポンス(完全検索)

クエリパラメータ

did
string
必須

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
必須

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
必須

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>
必須

Specifies the search type.

利用可能なオプション:
instant_search,
full_search
search_query
string
必須

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.

利用可能なオプション:
popular,
price,
discount,
sales_rate,
date
order
enum<string>
デフォルト:desc

Sort direction. Full search only. Default is desc.

利用可能なオプション:
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.

レスポンス

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.