> ## 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 Now Products API

> Live product data from Amazon Now, India's Amazon quick-commerce service - search, browse a category, or fetch specific products, for the dark store serving the pincode you name.

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

**Pricing:** $0.001 per product ($1.00 per 1,000).

## Ways to call it

* **Search**: set `query` (optional: `city`, `pincode`, `lat`, `lon`, `maxResults`)
* **Category**: set `category`, `sub_category` (optional: `city`, `pincode`, `lat`, `lon`, `maxResults`)
* **Product URLs**: set `urls` (optional: `city`, `pincode`, `lat`, `lon`)

## Request

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

**query** `string`

What to search for (e.g. milk, chocolate).

**category** `string`

Top-level category (e.g. Dairy, Bread & Eggs).

39 allowed values, for example `Bath & Body`, `Biscuits & Cookies`, `Breakfast Foods`, `Chicken, Meat & Fish`, `Chips & Munchies`, `Chocolates & Ice-cream`, `Coffee & Tea`, `Dairy, Bread & Eggs`, `Drinks & Juices`, `Electronics`. Fetch the full list with `GET /v1/data/amazon-now/products?expand=options`.

**sub\_category** `string`

Sub-category within it (e.g. Butter). Required with a category, since there is no whole-category sweep.

375 allowed values, for example `Bath Accessories`, `Body Oils & Creams`, `Body wash`, `Deodorants`, `Facial cleaning`, `Handwash & Sanitizers`, `Soaps`, `Talcum Powder`, `Baking Essentials`, `Biscuits`. Fetch the full list with `GET /v1/data/amazon-now/products?expand=options`.

**urls** `string[]`

One or more Amazon product URLs or bare ASINs (one per line).

**city** `string`

City - filters the pincode list.

384 allowed values, for example `New Delhi`, `Delhi`, `Faridabad`, `Greater Faridabad`, `Palwal`, `Gurugram`, `Gurgaon`, `Rewari`, `Rohtak`, `Jhajjar`. Fetch the full list with `GET /v1/data/amazon-now/products?expand=options`.

**pincode** `string`

Pincode - pick a city first.

1927 allowed values, for example `110001` (110001 (New Delhi)), `110002` (110002 (New Delhi)), `110003` (110003 (New Delhi)), `110005` (110005 (New Delhi)), `110006` (110006 (New Delhi)), `110007` (110007 (New Delhi)), `110008` (110008 (New Delhi)), `110009` (110009 (New Delhi)), `110010` (110010 (New Delhi)), `110012` (110012 (New Delhi)). Fetch the full list with `GET /v1/data/amazon-now/products?expand=options`.

**lat** `number`

Or target by coordinates: latitude (use with longitude).

Min `-90`; max `90`; use together with `lon`.

**lon** `number`

Or target by coordinates: longitude (use with latitude).

Min `-180`; max `180`; use together with `lat`.

**maxResults** `integer`

How many products to return. Use 0 for all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/amazon-now/products/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "category": "Dairy, Bread & Eggs",
    "sub_category": "Cheese",
    "pincode": "560037"
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/amazon-now/products/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "category": "Dairy, Bread & Eggs",
    "sub_category": "Cheese",
    "pincode": "560037"
}},
)
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-now/products/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "category": "Dairy, Bread & Eggs",
  "sub_category": "Cheese",
  "pincode": "560037"
} }),
});
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 |
| - | - | - |
| `productName` | Product Name | text |
| `brand` | Brand | text |
| `variantId` | Variant ID | text |
| `productId` | Product ID | text |
| `price` | Price | currency |
| `mrp` | MRP | currency |
| `discount` | Discount % | percentage |
| `packSize` | Pack Size | text |
| `inStock` | In Stock | boolean |
| `stockCount` | Stock Count | number |
| `rating` | Rating | rating |
| `ratingCount` | Rating Count | number |
| `category` | Category | text |
| `rank` | Rank | number |
| `sponsored` | Sponsored | boolean |
| `images` | Images | array |
| `productUrl` | Product URL | url |
| `description` | Description | text |
| `countryOfOrigin` | Country of Origin | text |
| `manufacturer` | Manufacturer | text |
| `seller` | Seller | text |
| `specifications` | Specifications | object\_array |
| `storeId` | Store ID | text |
| `latitude` | Latitude | number |
| `longitude` | Longitude | number |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "amazon-now/products",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "rating": 4.0,
      "productId": "B07YNRWKVN",
      "countryOfOrigin": null,
      "images": [
        "https://m.media-amazon.com/images/I/81VPQTLA26L._SL1000_.jpg",
        "https://m.media-amazon.com/images/I/61rdzI6juRL._SL1000_.jpg"
      ],
      "mrp": 125.0,
      "brand": "Amul",
      "variantId": "B07YNRWKVN",
      "rank": 1,
      "manufacturer": null,
      "sponsored": false,
      "seller": "Amazon Retail QCom",
      "inStock": true,
      "ratingCount": 1838,
      "packSize": "200 g",
      "description": "Mozzarella & Cheddar Cheese Blend",
      "stockCount": null,
      "longitude": 77.697679,
      "category": "Cheese",
      "specifications": [
        {
          "name": "Net Quantity",
          "value": "200 g"
        },
        {
          "name": "Info",
          "value": "Diced"
        }
      ],
      "latitude": 12.950567,
      "productName": "Amul Blend Diced Cheese",
      "productUrl": "https://www.amazon.in/dp/B07YNRWKVN",
      "discount": 1.0,
      "storeId": "15n6lk",
      "price": 124.0
    }
  ]
}
```


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