Gucci API endpoint
Returns Gucci's own search-box typeahead suggestions for a partial query. The current public suggestion source does not provide per-phrase result counts. Not product data -- pass a suggestion's query into gucci-search for results.
/gucci/suggestq is required. limit (default 5, maximum 20) caps the number of suggestions returned.
Notable response behavior:
suggestions list, not an error.result_count is omitted.| Field | Filled in, of 5 checked | Values in the sample |
|---|---|---|
| query | 5 | “belts” and 4 other values |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| q | string | Yes | Partial search query | bel | |
| limit | integer | No | 5 | Maximum suggestions to return, defaults to 5, maximum 20 | 5 |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/gucci/suggest?q=bel&limit=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "bel",
"suggestions": [
{
"query": "belts"
},
{
"query": "belt bag"
},
{
"query": "belts for women"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/gucci.suggestResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | gucci.SuggestResponse | No | ||||
| data.fetched_at | string | No | ||||
| data.query | string | No | ||||
| data.source_url | string | No | ||||
| data.suggestions | array | No | ||||
| data.suggestions[].query | string | No | ||||
| data.suggestions[].result_count | integer | 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/gucci/suggest?q=bel&limit=10" \
-H "x-api-key: $CRAWLORA_API_KEY"