Zara API endpoint
Returns Zara's own search-suggestion (typeahead) results for a partial keyword, the same suggestions shown while typing into Zara's search box. A nonsense query returns a normal response with an empty suggestions array rather than a fallback/recommended set.
/zara/suggestquery is required, 1 to 200 characters.
Notable response behavior:
query returns a normal 200 with an empty suggestions array, a genuine no-results signal -- unlike zara-search, which falls back to a broader recommended result set instead of returning an empty list for an obscure keyword.query to zara-search.| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| query | string | Yes | Partial search keyword | j | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/zara/suggest?query=j" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "j",
"count": 10,
"suggestions": [
"jeans",
"jacket",
"leather jacket",
"jumpsuit",
"white jeans",
"jorts",
"jean shorts",
"denim jacket",
"baggy jeans",
"low rise jeans"
]
}
}Request schema
No body schema
Response schema
#/definitions/zara.suggestResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | zara.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/zara/suggest?query=j" \
-H "x-api-key: $CRAWLORA_API_KEY"