> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon Products API

> Complete Amazon product data by product, category or search URL from any marketplace, or by keyword. Full detail page for every product either way.

`POST /v1/data/amazon/products/run`

**Pricing:** $0.0015 per product ($1.50 per 1,000). Keyword mode adds a flat \$0.01 fee, charged even when nothing is found.

## Ways to call it

* **URL**: set `urls` (optional: `marketplace`)
* **Keyword**: set `keywords` (optional: `marketplace`, `maxResults`)

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**urls** `string[]`

Amazon product URLs or bare ASINs from any marketplace (amazon.com, .in, .de, …). One per line. Category/listing pages are not supported; use a keyword search instead.

**keywords** `string`

Keyword or phrase to search Amazon for (e.g. 'mechanical keyboard'). Returns the full product detail for each result, with its search rank (1 = top result).

**marketplace** `string` (default: com)

Which Amazon site to search. Applies to keyword search only; URLs always use their own marketplace.

Allowed values: `com` (Amazon.com (US)), `in` (Amazon.in (India)), `co.uk` (Amazon.co.uk (UK)), `de` (Amazon.de (Germany)), `fr` (Amazon.fr (France)), `it` (Amazon.it (Italy)), `es` (Amazon.es (Spain)), `ca` (Amazon.ca (Canada)), `com.au` (Amazon.com.au (Australia)), `co.jp` (Amazon.co.jp (Japan)), `com.mx` (Amazon.com.mx (Mexico)), `com.br` (Amazon.com.br (Brazil)).

**maxResults** `integer`

Number of products to return. Use 0 for all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/amazon/products/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "urls": [
      "https://www.amazon.com/dp/B0G4SW3XXP",
      "https://www.amazon.com/dp/B0FXY18C1J",
      "https://www.amazon.com/dp/B0FXY1DZ78"
    ]
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/amazon/products/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "urls": [
        "https://www.amazon.com/dp/B0G4SW3XXP",
        "https://www.amazon.com/dp/B0FXY18C1J",
        "https://www.amazon.com/dp/B0FXY1DZ78"
    ]
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/amazon/products/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "urls": [
    "https://www.amazon.com/dp/B0G4SW3XXP",
    "https://www.amazon.com/dp/B0FXY18C1J",
    "https://www.amazon.com/dp/B0FXY1DZ78"
  ]
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one product, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `asin` | ASIN | text |
| `title` | Title | text |
| `brand` | Brand | text |
| `productUrl` | Product URL | url |
| `marketplace` | Marketplace | text |
| `price` | Price | number |
| `currency` | Currency | text |
| `listPrice` | List Price | number |
| `discount` | Discount | text |
| `onDeal` | On Deal | boolean |
| `prime` | Prime | boolean |
| `availability` | Availability | text |
| `rating` | Rating | rating |
| `ratingsCount` | Ratings Count | number |
| `boughtPastMonth` | Bought Past Month | text |
| `boughtPastMonthMin` | Bought Past Month (Min) | number |
| `bestSellersRank` | Best Sellers Rank | number |
| `bsrCategory` | BSR Category | text |
| `searchRank` | Search Rank | number |
| `soldBy` | Sold By | text |
| `fulfilledBy` | Fulfilled By | text |
| `sellerId` | Seller ID | text |
| `usedOffer` | Used Offer | object |
| `features` | Features | array |
| `description` | Description | text |
| `categoryPath` | Category Path | text |
| `browseNodeId` | Browse Node ID | text |
| `productDetails` | Product Details | object\_array |
| `keySpecs` | Key Specs | object\_array |
| `bookEditions` | Book Editions | object\_array |
| `variants` | Variants | array |
| `mainImage` | Main Image | url |
| `images` | Images | array |
| `videos` | Videos | array |
| `reviewSummary` | Review Summary | text |
| `reviewTopics` | Review Topics | object\_array |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "amazon/products",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "prime": false,
      "rating": 4.5,
      "variants": null,
      "images": [
        "https://m.media-amazon.com/images/I/61solmQSSlL._AC_SL1500_.jpg",
        "https://m.media-amazon.com/images/I/71dt0UurPZL._AC_SL1500_.jpg"
      ],
      "marketplace": "com",
      "videos": [
        "https://m.media-amazon.com/images/S/vse-vms-transcoding-artifact-us-east-1-prod/9f2bcc88-5fa2-4e0b-8553-4fd70433df75/default.jobtemplate.hls.m3u8",
        "https://m.media-amazon.com/images/S/vse-vms-transcoding-artifact-us-east-1-prod/5f412838-9f13-4205-b380-ff69c70948bb/default.jobtemplate.hls.m3u8"
      ],
      "availability": null,
      "brand": "Apple",
      "productDetails": [
        {
          "name": "Product Dimensions",
          "value": "‎1.1 x 0.8 x 1.2 inches"
        },
        {
          "name": "Item Weight",
          "value": "‎2.56 ounces"
        }
      ],
      "reviewTopics": [],
      "features": [
        "WORLD’S BEST IN-EAR ACTIVE NOISE CANCELLATION — Removes up to 2x more unwanted noise than AirPods Pro 2* so you can stay fully immersed in the moment.*",
        "BREAKTHROUGH AUDIO PERFORMANCE — Experience breathtaking, three-dimensional audio with AirPods Pro 3. A new acoustic architecture delivers transformed bass, ..."
      ],
      "keySpecs": [
        {
          "name": "Brand",
          "value": "Apple"
        },
        {
          "name": "Color",
          "value": "White"
        }
      ],
      "mainImage": "https://m.media-amazon.com/images/I/61solmQSSlL._AC_SL1500_.jpg",
      "listPrice": 0,
      "ratingsCount": 13621,
      "boughtPastMonth": "10K+ bought in past month",
      "description": null,
      "categoryPath": null,
      "browseNodeId": null,
      "reviewSummary": null,
      "bestSellersRank": null,
      "bookEditions": [],
      "fulfilledBy": "Amazon.com",
      "usedOffer": {
        "condition": "Used - Like New",
        "price": 0,
        "packageCondition": "Moderate cosmetic damage observed during inspection. Minor packaging damage observed during inspection.",
        "soldBy": "Amazon Resale"
      },
      "searchRank": 5
    }
  ]
}
```

## Related APIs

For review text use [`amazon/reviews`](https://docs.mindcase.co/apis/amazon/reviews); for Amazon Now quick-commerce listings in India use [`amazon-now/products`](https://docs.mindcase.co/apis/amazon-now/products).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.