What is Autocomplete?

Autocomplete is a search feature that suggests likely search queries or phrases as the user types. It predicts suggestions based on history, location, and past searches, saving users time and reducing errors. Suggestions appear in a dropdown list and guide users to relevant information more quickly.

Autocomplete API

The Autocomplete feature offered by Zevi can be utilized at the below endpoint

Endpoint

GET
Sample Request :
curl --request GET 'https://api.zevi.ai/2023-01/autocomplete?store=63b5a4f23d3d68e12be783d9&q=wa' -H 'X-Zevi-Org-Id: 63b5a4f23d3d68e12be783d9' \ -H 'X-Zevi-Api-Key: 9a940c8f-4609-4fa8-acab-5f4d55facfef' \ -H 'Content-Type: application/json'
Parameter
Type
Description

store
String
Store name or Org Id (Required)

q
String
Any search string which user enters (Required)
Sample Response :
{"autocomplete_list": [ "walnut trees", "walnut brook", "walnut soap", "walnut wood flower pot", "walnut wood pen holder", "walnut wood book stand", "walnut wooden ledge", "walnut wood chinar stand", "walnut wood chinar tray", "walnut wood flower vase" ] }