# Amazon Product Search API

> Search Amazon marketplace products by keyword or ASIN with country, sort, condition, Prime-only, deals, and page controls.

Source: https://www.sandbase.ai/model/amazon/search-products
API reference: https://www.sandbase.ai/model/amazon/search-products/docs

## Facts

- Provider: Amazon
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/amazon/search-products`
- Price: $0.02 per call
- Capabilities: api, amazon, ecommerce
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/amazon/search-products` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `keyword` | string | yes |  |
| `country` | string | no | US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE |
| `sortBy` | string | no | RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS |
| `productCondition` | string | no | ALL, NEW, USED, RENEWED, COLLECTIBLE |
| `isPrime` | boolean | no |  |
| `dealsAndDiscounts` | string | no | NONE, ALL_DISCOUNTS, TODAYS_DEALS |
| `page` | integer | no |  |

## FAQ

### How do I use the Amazon Product Search API?

Send a POST request to https://api.sandbase.ai/v1/api/amazon/search-products with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Amazon Product Search API cost?

$0.02 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Amazon Product Search API accept?

Required: keyword (string). Optional: country (one of US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE), sortBy (one of RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS), productCondition (one of ALL, NEW, USED, RENEWED, COLLECTIBLE), isPrime (boolean), dealsAndDiscounts (one of NONE, ALL_DISCOUNTS, TODAYS_DEALS) and page (integer). The Parameters table and the Playground on this page list every field.

### What does the Amazon Product Search API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Amazon developer account or API key?

No. Amazon Product Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Amazon API access separately.

## README

### Amazon Product Search API

Search Amazon marketplace products by keyword or ASIN with country, sort, condition, Prime-only, deals, and page controls.

The response is the platform's original data structure.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "amazon/search-products", "keyword": "iphone"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `keyword` | string | Yes | Search keyword or ASIN to find Amazon products. |
| `country` | string | No | Country code for the Amazon marketplace. |
| `sortBy` | string | No | Sort order for Amazon product search results. |
| `productCondition` | string | No | Product condition filter for Amazon search results. |
| `isPrime` | boolean | No | Whether to return only Prime-eligible products. |
| `dealsAndDiscounts` | string | No | Deals and discounts filter for Amazon search results. |
| `page` | integer | No | Page number for pagination. |

#### Pricing

Flat price per call. Failed calls and empty results are not charged.
