Wish Autocomplete API Documentation Get the public typeahead suggestions Wish shows for a search prefix. The answer is a flat list of terms. Use a term as the query of the search endpoint. Empty and failed requests are never charged. 1 credit per answer with data.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
string
Required
Search prefix, e.g. phone.
coffee shops
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"query": "phone",
"suggestions": [
"phone case",
"phone holder"
]
},
"meta": {
"billable": true,
"endpoint_family": "autocomplete"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
The query is missing or invalid.
{
"errors": {
"query": [
"A search prefix is required, e.g. phone."
]
},
"message": "The request validation failed"
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.