Autocomplete API
Use the Autocomplete API when you want to render the experience yourself in the browser, on the server, or in a mobile app. Start with the main autocomplete endpoint, then add optional top items and trending queries where they make sense for your UX.
Endpoints
Section titled “Endpoints”Autocomplete endpoint
Fetch live query suggestions and typed results for the main autocomplete flow.
Top Items API
Show popular or personalized products when the search field gains focus.
Trending Queries API
Highlight popular search phrases inside your autocomplete interface.
Quickstarts
Section titled “Quickstarts”Query suggestions
Call the main autocomplete endpoint and render suggestions in a custom UI.
Top items on focus
Display top products before the customer starts typing.
Trending queries
Surface popular queries alongside typed autocomplete suggestions.
Banner campaigns
Render merchandising campaigns inside your custom autocomplete layout.
Guides
Section titled “Guides”Was this page helpful?
Thanks.