GET /v1/autocomplete
Primary ranked search endpoint.
When the tenant is in search proxy mode, this path forwards to the connected search API. Hosted mode, merchandising, synonyms, personalization, and graph ranking are not applied.
Important query params
queryrequired, minimum 1 characterindexlogical index ID, defaults todefaultlimitfrom 1 to 50modeone offts_only,vector_only,hybrid,fts_rerankbypass_cacheorX-Bypass-Cacheto skip cached responsesfiltersas a JSON string for exact and range filteringuser_idfor personalization-aware ranking
Response shape
The response includes:
- normalized and optionally corrected query values
- the effective mode used
suggestionswith titles, subtitles, descriptions, URLs, images, price, currency, score, and extra metadata
Example
curl "https://api.suggestapi.com/v1/autocomplete?index=products&query=diaphragm%20pump&limit=8&mode=hybrid" \
-H "x-api-key: <public-key>"
GET /v1/typeahead
Fast prefix suggestion endpoint for search-as-you-type experiences.
Important query params
queryrequiredindexlogical index IDlimitfrom 1 to 50bypass_cacheorX-Bypass-Cache
Notes
- optimized for low-latency suggestion UIs
- supports spell correction and typo-tolerant fuzzy matching on hosted search
- returns simpler suggestion payloads than
/autocomplete - in search proxy mode, suggestions come from the connected search API