Quince API endpoint
Returns Quince's own search-box typeahead suggestions for a partial query: a flat list of suggested search phrases, no product data. Pass a suggestion straight through to quince-search's own q parameter for product results. A query with no genuine matches returns a well-formed empty result rather than an error.
/quince/suggestq is required, 1 to 200 characters, the search query prefix.
Notable response behavior:
quince-search's own q parameter for product results.suggestions: []) rather than an error.| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| q | string | Yes | Search query prefix | cash | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/quince/suggest?q=cash" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "cash",
"suggestions": [
"cotton cashmere",
"cashmere",
"cashmere cardigan"
]
}
}Request schema
No body schema
Response schema
#/definitions/quince.suggestResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | quince.SuggestResponse | 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/quince/suggest?q=cash" \
-H "x-api-key: $CRAWLORA_API_KEY"