Autocomplete API endpoint returning real-time suggestions, top products, and curated terms as shoppers type queries in your storefront search bar.
Documentation Index
Fetch the complete documentation index at: https://docs.uselayers.com/llms.txt
Use this file to discover all available pages before exploring further.
<YOUR_LAYERS_TOKEN>._meta.redirect object with the redirect URL. This allows you to redirect users directly from the typeahead experience before they submit a full search. Autocomplete suggestions are still returned alongside the redirect — your frontend decides whether to redirect immediately or show suggestions.matchedQueries, and curated clusters return their rewritten text in query_text. Matching against raw customer queries is unchanged. See Autocomplete curation for configuration details.