Wish API endpoint
Returns Wish's own search-suggestion (typeahead) result for a partial search term: a flat list of suggested search terms, no product data. A partial term with no matches returns a normal, empty result rather than an error.
/wish/suggestquery is required, 1 to 200 characters (a partial term, e.g. shoe).
Notable response behavior:
suggestions is a single flat list.count: 0, empty suggestions) rather than an error.| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| query | string | Yes | Partial search term | shoe | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/wish/suggest?query=shoe" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "shoe",
"count": 10,
"suggestions": [
"shoes for men",
"shoes for women",
"shoe storage organizer",
"shoe rack",
"shoe horn",
"shoe rack organizer",
"shoe laces",
"shoei x 14",
"shoe goo",
"shoe covers"
],
"source_url": "https://www.wish.com/api/search/autcomplete",
"fetched_at": "2026-08-11T10:00:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/wish.suggestResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | wish.SuggestResponse | No | ||||
| data.count | integer | No | ||||
| data.fetched_at | string | No | ||||
| data.query | string | No | ||||
| data.source_url | string | No | ||||
| data.suggestions | array | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/wish/suggest?query=shoe" \
-H "x-api-key: $CRAWLORA_API_KEY"