Goldin API endpoint
Goldin's own search-suggestions/autocomplete for a partial keyword, matching the site's own search box typeahead. keyword is optional -- when omitted, returns Goldin's current trending/popular searches instead of an error.
/goldin/suggestQuery parameters:
keyword (optional) — the partial search query, e.g. Jordan. Omit to
get Goldin's current trending/popular searches instead of matching
suggestions.limit (optional) — max suggestions to return, defaults to 8, capped
at 20.Notable response behavior:
suggestions array rather than an error.total is Goldin's own count of lots the raw keyword itself would
match in a full search — not the number of suggestions returned.| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| keyword | string | No | Partial search query, e.g. \ | ||
| limit | integer | No | 8 | Max suggestions to return, defaults to 8, capped at 20 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/goldin/suggest?keyword=coffee&limit=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"keyword": "Jordan",
"suggestions": [
"jordan",
"jordan auto",
"jordan love",
"jordan star",
"jordan rookie",
"jordan jersey",
"jordan fleer",
"jordan signed"
],
"total": 603
}
}Request schema
No body schema
Response schema
#/definitions/goldin.suggestResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | goldin.SuggestResponse | No | ||||
| data.keyword | string | No | ||||
| data.suggestions | array | No | ||||
| data.total | integer | No | Total is Goldin's own count of lots the raw keyword itself would match, not the number of suggestions returned. | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 500 | Internal Server Error | #/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/goldin/suggest?keyword=coffee&limit=10" \
-H "x-api-key: $CRAWLORA_API_KEY"