cURL
curl --request GET \ --url 'https://app.uselayers.com/api/storefront/v1/search/complete?query={partialQuery}' \ --header 'Accept: <accept>' \ --header 'Content-Type: <content-type>' \ --header 'X-Storefront-Access-Token: <x-storefront-access-token>'
{ "matchedQueries": [ { "query_text": "sup", "num_searches": 1 }, { "query_text": "supreme", "num_searches": 11 } ], "originalQuery": "sup", "normalizedQuery": "sup" }
Enhance user search experience with real-time predictive search and autocomplete functionality.
<YOUR_LAYERS_TOKEN>
Show Properties
Was this page helpful?