# Search Amazon products (v1)

Returns one page of Amazon search results for `query` in `market`, in the store's order, with ASIN, price, rating, sales label and a `sponsored` flag. Sort and price filters match the store's own. No matches returns an empty `products` list.

- Platform: Amazon
- Request: `GET https://api.toolzerhub.com/v1/amazon/search`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/amazon/search-amazon-products

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Search terms, as typed into the store's search box. |
| `market` | query | no | string | Amazon store, by country code: US is amazon.com, GB amazon.co.uk, DE amazon.de, JP amazon.co.jp. Default: US. |
| `page` | query | no | integer | Result page, 1 to 20. total_pages says how many the query has. Default: 1. |
| `sort` | query | no | enum: relevance, price-asc, price-desc, reviews, newest, best-sellers | relevance (the store's default), price-asc, price-desc, reviews (average rating), newest or best-sellers. Default: relevance. |
| `min_price` | query | no | number | Lowest price, in the store's currency (50 is $50.00 on amazon.com). |
| `max_price` | query | no | number | Highest price, in the store's currency. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/amazon/search?query=<query>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
