Amazon API endpoint
Returns Amazon's search-box autocomplete suggestions for a keyword prefix on `amazon.com`, as a plain list of suggested search phrases such as `apple watch bands`.
/amazon/suggest/{keyword}Path parameters:
keyword: suggestion prefix sent to Amazon's public completion API| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| keyword (path) | string | Yes | Suggestion prefix | apple | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/amazon/suggest/apple" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": [
"apple watch",
"apple watch bands",
"apple watch charger"
]
}Request schema
No body schema
Response schema
#/definitions/amazon.suggestResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | array | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/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/amazon/suggest/apple" \
-H "x-api-key: $CRAWLORA_API_KEY"