# Amazon Products

Extract complete Amazon product data — by product/category/search URL from any marketplace, or by keyword search. Full detail page for every product either way.

**Pricing:** $1.5 / 1k products

**Endpoint:** `POST /api/v1/agents/amazon/products/run`

**Auth:** `Authorization: Bearer mk_live_...`

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `urls` | array | No | Amazon product URLs or bare ASINs — any marketplace (amazon.com, .in, .de, …). One per line. Category/listing pages are not supported; use a keyword search instead. |
| `keywords` | array | No | Keywords to search Amazon for (e.g. 'mechanical keyboard'), or a pasted Amazon search URL. Returns the full product detail for each result, with its search rank (1 = top result). |
| `marketplace` | string | No | Which Amazon site to search. Applies to keyword search only — URLs always use their own marketplace. |
| `maxResults` | integer | No | Maximum products to return (keyword search). For URL input, all given products are fetched. |

## Example

```bash
curl -X POST https://api.mindcase.co/api/v1/agents/amazon/products/run \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/api/v1/agents/amazon/products/run",
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {}},
)
data = resp.json()
```

## Get the results

`run` is async and returns a `job_id`. Poll until `status` is `completed`, then read the rows:

```bash
# 1) check status
curl https://api.mindcase.co/api/v1/jobs/JOB_ID \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"

# 2) when status == completed, fetch the rows
curl https://api.mindcase.co/api/v1/jobs/JOB_ID/results \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"
```

Full API reference (auth, jobs, balance, endpoints): https://mindcase.co/skills.md

## Response columns

| Field | Display name | Type |
|-------|--------------|------|
| `asin` | ASIN | text |
| `title` | Title | text |
| `brand` | Brand | text |
| `productUrl` | Product URL | url |
| `marketplace` | Marketplace | text |
| `status` | Status | 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 |
| `searchKeyword` | Search Keyword | text |
| `searchRank` | Search Rank | number |
| `soldBy` | Sold By | text |
| `fulfilledBy` | Fulfilled By | text |
| `sellerId` | Seller ID | text |
| `usedCondition` | Used Condition | text |
| `usedPrice` | Used Price | number |
| `usedConditionNote` | Used Condition Note | text |
| `usedSoldBy` | Used Sold By | text |
| `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 |
| `author` | Author | text |
| `bookFormat` | Book Format | text |
| `bookEditions` | Book Editions | object_array |
| `variants` | Variants | array |
| `mainImage` | Main Image | url |
| `images` | Images | array |
| `reviewSummary` | Review Summary | text |
| `reviewTopics` | Review Topics | object_array |
