# Amazon Scraper (Products, Search, Offers & Raw HTML) (`fayoussef/amazon-product-search-scraper`) Actor

Fast, reliable Amazon scraper. Extract product details, search results, seller offers and raw HTML from 21 marketplaces with geo-targeting and ZIP-level pricing.

- **URL**: https://apify.com/fayoussef/amazon-product-search-scraper.md
- **Developed by:** [youssef farhan](https://apify.com/fayoussef) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Amazon Scraper — Products, Search, Offers & Raw HTML 🛒

Extract **structured Amazon data at scale** — product details, search results, seller offers (Buy Box), and full raw HTML — from **21 Amazon marketplaces** with **ZIP-level pricing** and geo-targeting. Fast, reliable, and JSON-ready for your spreadsheets, dashboards, or pipelines.

> ### 🔑 First time here? You need a free API key.
> **[👉 Click here to create your FREE account → get 1,000 requests/month, no credit card](https://scrape.do/?fpr=automationbyexperts)**
>
> It takes 30 seconds. Copy the API token from your dashboard, paste it into the **API Key** field, and you're scraping.

---

### ✨ What you can scrape

| Mode | Input | What you get |
|------|-------|--------------|
| 🔍 **Search results** | Keywords | Ranked products: ASIN, title, price, rating, reviews, Prime, sponsored flag, badges, delivery |
| 📦 **Product details** | ASINs | Full PDP: price & list price, brand, rating, stock, seller, images, shipping, best-seller ranks, specs |
| 💰 **Seller offers** | ASINs | Every offer on the listing: merchant, condition, price, shipping, FBA, Buy Box winner |
| 📄 **Raw HTML** | Amazon URLs | Complete geo-targeted HTML for custom parsing of any page type |

### 🚀 Key features

- **💸 Live cost & quota check on every run** — before scraping, the actor reports your available concurrency and how many requests remain this month, plus an estimate of what the job will cost. No surprises.
- **🌍 21 marketplaces** — US, UK, DE, FR, IT, ES, CA, JP, IN, AU, and more.
- **📍 ZIP-level accuracy** — set a postal code to lock delivery location for true local pricing & stock.
- **⚡ Smart concurrency** — automatically caps parallelism to your plan's available lanes so you never get rate-limited.
- **🔗 One-click enrichment** — optionally expand every search result into its full product page.
- **🛡️ Premium proxy mode** — flip on residential/mobile proxies for the toughest pages.
- **🧯 Safety caps** — set a max-items limit or auto-stop when your quota can't cover the job.

### 📥 Input example

```json
{
  "apiKey": "YOUR_API_KEY",
  "mode": "search",
  "keywords": ["laptop stand", "wireless mouse"],
  "maxPages": 2,
  "geocode": "US",
  "zipcode": "10001",
  "enrichWithProductDetails": false,
  "maxConcurrency": 5
}
````

Scrape specific products instead:

```json
{
  "apiKey": "YOUR_API_KEY",
  "mode": "product",
  "asins": ["B0C7BKZ883", "B0DGJ7HYG1"],
  "geocode": "US"
}
```

### 📤 Output samples

Every row is **flat** (no nested objects) — ready for the dataset table, CSV, Excel, or JSON export. Below are real records straight from the API.

#### 🔍 Search result (with `enrichWithProductDetails` on)

When enrichment is enabled, every search hit is merged with its full product page — brand, list price, discount, stock, best-seller rank, images and feature bullets — all flattened onto one row.

```json
{
  "_type": "product",
  "asin": "B004YAVF8I",
  "title": "Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Swift Grey",
  "brand": "Logitech",
  "price": 13.9,
  "currency": "USD",
  "list_price": 17.99,
  "discount_percent": 22.7,
  "rating": 4.5,
  "rating_stars": 5,
  "ratings_total": 42527,
  "reviews_count": 42500,
  "is_prime": null,
  "is_sponsored": false,
  "badge": "Overall Pick",
  "sales_volume": "10K+ bought in past month",
  "availability": "In Stock",
  "sold_by": "Amazon.com",
  "delivery_date": "Tomorrow, Jun 23",
  "delivery_free": true,
  "position": 3,
  "image": "https://m.media-amazon.com/images/I/51WN5aXZWIL._AC_UY218_.jpg",
  "keyword": "wireless mouse",
  "page": 1,
  "geocode": "US",
  "url": "https://www.amazon.com/dp/B004YAVF8I",
  "other_sellers_count": 20,
  "best_seller_rank": 1,
  "best_seller_category": "Computer Mice",
  "climate_pledge_friendly": true,
  "images_count": 10,
  "image_urls": "https://m.media-amazon.com/images/I/51WN5aXZWIL._AC_SL1500_.jpg | https://m.media-amazon.com/images/I/61Ti5DDDOYL._AC_SL1500_.jpg | ...8 more",
  "features": "Compact Mouse: comfortable contoured shape... | Durable and Reliable: up to 1 year of battery life... | Universal Compatibility: Windows PC, Mac, or laptop... | Plug and Play Simplicity...",
  "variants_count": 8
}
```

> Without enrichment you still get the core search fields (`asin`, `title`, `price`, `currency`, `rating`, `rating_stars`, `reviews_count`, `is_prime`, `is_sponsored`, `badge`, `sales_volume`, `delivery_date`, `position`, `image`, `url`) — just without the merged product-page columns.

#### 📦 Product details (mode: `product`)

```json
{
  "_type": "product",
  "asin": "B0C7BKZ883",
  "title": "Adjustable Laptop Stand for Desk, Metal Foldable Laptop Riser Holder, Portable Desktop Book Stands, Ventilated Cooling Computer Notebook Stand Compatible with 10-15.6” Laptops",
  "brand": "Gogoonike",
  "price": 16.99,
  "currency": "USD",
  "list_price": 17.99,
  "discount_percent": 5.6,
  "rating": 4.6,
  "ratings_total": 3918,
  "is_prime": true,
  "has_buy_box": true,
  "availability": "In Stock",
  "sold_by": "Tonmom Tech",
  "max_quantity": 999,
  "other_sellers_count": 2,
  "sales_volume": "9K+ bought in past month",
  "best_seller_rank": 551,
  "best_seller_category": "Office Products",
  "climate_pledge_friendly": true,
  "images_count": 7,
  "videos_count": 6,
  "variants_count": 2,
  "image": "https://m.media-amazon.com/images/I/71Api8I7QML._AC_SL1500_.jpg",
  "image_urls": "https://m.media-amazon.com/images/I/71Api8I7QML._AC_SL1500_.jpg | ...6 more",
  "features": "【Adjustable & Ergonomic】 ... | 【Sturdy & Protective】 ... | 【Heat Dissipation】 ... | 【Portable & Foldable】 ... | 【Broad Compatibility】 ...",
  "geocode": "US",
  "url": "https://www.amazon.com/dp/B0C7BKZ883"
}
```

#### 💰 Seller offer (mode: `offers`)

One row **per offer** on the listing — perfect for Buy Box monitoring and repricing.

```json
{
  "_type": "offer",
  "asin": "B0DGJ7HYG1",
  "condition": "New",
  "seller": "Amazon.com",
  "seller_id": "ATVPDKIKX0DER",
  "price": 148.99,
  "currency": "USD",
  "list_price": 179,
  "discount_percent": 16.77,
  "shipping_cost": 0,
  "ships_from": null,
  "fulfilled_by_amazon": true,
  "buy_box_winner": true,
  "is_prime": true,
  "delivery_date": "Saturday, June 27",
  "quantity": 3,
  "geocode": "US",
  "url": "https://www.amazon.com/dp/B0DGJ7HYG1"
}
```

#### 📄 Raw HTML (mode: `raw_html`)

```json
{
  "_type": "raw_html",
  "url": "https://www.amazon.com/dp/B0C7BKZ883",
  "geocode": "US",
  "html": "<!doctype html><html lang=\"en-us\">... full geo-targeted page source ..."
}
```

#### 📋 Full field reference

| Field | Type | Appears in | Description |
|-------|------|-----------|-------------|
| `_type` | string | all | `product`, `offer`, or `raw_html` |
| `asin` | string | all | 10-char Amazon product ID |
| `title` | string | product | Product name |
| `brand` | string | product | Manufacturer / brand |
| `price` | number | product, offer | Current price |
| `currency` | string | product, offer | ISO currency code |
| `list_price` | number | product, offer | Original / strike-through price |
| `discount_percent` | number | product, offer | Computed % off list price |
| `rating` | number | product | Average star rating (0–5) |
| `rating_stars` | number | product (search) | Rounded star bucket |
| `ratings_total` | number | product | Total number of ratings |
| `reviews_count` | number | product (search) | Review count, parsed to integer |
| `is_prime` | boolean | product, offer | Prime eligible |
| `is_sponsored` | boolean | product (search) | Sponsored/ad placement |
| `has_buy_box` | boolean | product (PDP) | Seller holds the Buy Box |
| `badge` | string | product (search) | e.g. "Overall Pick", "Best Seller" |
| `sales_volume` | string | product | e.g. "10K+ bought in past month" |
| `availability` | string | product | Stock status text |
| `sold_by` | string | product | Current seller name |
| `max_quantity` | number | product (PDP) | Max units purchasable |
| `other_sellers_count` | number | product | Number of competing sellers |
| `best_seller_rank` | number | product | Top best-seller rank |
| `best_seller_category` | string | product | Category of that rank |
| `climate_pledge_friendly` | boolean | product | Climate Pledge badge |
| `images_count` | number | product | Number of product images |
| `videos_count` | number | product (PDP) | Number of product videos |
| `variants_count` | number | product | Number of variations |
| `image` | string | product | Main image URL |
| `image_urls` | string | product | Up to 10 hi-res image URLs, `|`-joined |
| `features` | string | product | "About this item" bullets, `|`-joined |
| `delivery_date` | string | product, offer | Estimated delivery |
| `delivery_free` | boolean | product (search) | Free delivery available |
| `position` | number | product (search) | Rank position on the results page |
| `keyword` | string | product (search) | Search term that produced the row |
| `page` | number | product (search) | Results page number |
| `condition` | string | offer | New / Used / Refurbished |
| `seller` | string | offer | Merchant display name |
| `seller_id` | string | offer | Amazon seller ID |
| `shipping_cost` | number | offer | Shipping price |
| `ships_from` | string | offer | Origin location |
| `fulfilled_by_amazon` | boolean | offer | FBA |
| `buy_box_winner` | boolean | offer | This offer currently wins the Buy Box |
| `quantity` | number | offer | Units available from this seller |
| `html` | string | raw\_html | Full page source |
| `geocode` | string | all | Marketplace country code |
| `url` | string | all | Canonical product URL |

### ⚙️ How billing works

Each successful request uses **1 request** from your monthly quota. Premium proxy mode (`superProxy`) costs **10×**. Search enrichment fetches one extra request per product. The actor prints a cost estimate before every run and stores the live numbers in the run's key-value store under `ACCOUNT_STATUS`.

**Need more volume or concurrency?** [Upgrade your plan here →](https://scrape.do/?fpr=automationbyexperts)

### ❓ FAQ

**Do I need my own API key?** Yes — it's free to start ([get one here](https://scrape.do/?fpr=automationbyexperts)) and keeps the scraper fast and reliable for you alone.

**Is scraping public Amazon data allowed?** This actor only collects publicly available product information. You are responsible for complying with applicable laws and Amazon's terms in your jurisdiction.

**Which countries are supported?** US, GB, DE, FR, IT, ES, CA, JP, IN, AU, NL, SE, PL, BR, MX, AE, SA, TR, SG, EG, BE.

***

⭐ Found this useful? A rating helps other people discover it. **[Get your free API key and start scraping →](https://scrape.do/?fpr=automationbyexperts)**

# Actor input Schema

## `apiKey` (type: `string`):

Paste your API key here to power the scraper.<br><br>👉 <b><a href="https://scrape.do/?fpr=automationbyexperts" target="_blank" rel="noopener">Don't have a key yet? Click here to create a FREE account and get 1,000 free requests/month →</a></b><br><br>It takes 30 seconds, no credit card required. Copy the API token from your dashboard and paste it above.

## `mode` (type: `string`):

Choose the type of Amazon data to extract.

## `keywords` (type: `array`):

List of keywords to search on Amazon. Used when mode is 'Search results'.

## `maxPages` (type: `integer`):

How many result pages to fetch for each keyword (≈16 products per page). Each page costs 1 request.

## `enrichWithProductDetails` (type: `boolean`):

For each product found in search, fetch its full product page (price history, specs, images, stock). ⚠️ Uses 1 extra request per product.

## `asins` (type: `array`):

List of 10-character Amazon ASINs (e.g. B0C7BKZ883). Used when mode is 'Product details' or 'Seller offers'.

## `urls` (type: `array`):

List of full Amazon URLs to fetch as raw HTML. Used when mode is 'Raw HTML'.

## `geocode` (type: `string`):

Two-letter country code of the Amazon marketplace to target.

## `zipcode` (type: `string`):

Optional. Lock delivery location for location-specific pricing & stock (e.g. 10001 for New York).

## `language` (type: `string`):

Optional. ISO 639-1 language code in uppercase (e.g. EN, ES, DE).

## `superProxy` (type: `boolean`):

Enable residential/mobile proxies for the highest success rate on hard-to-scrape pages. ⚠️ Costs 10x requests per call.

## `maxItems` (type: `integer`):

Hard limit on the total number of items pushed to the dataset. 0 = no limit.

## `maxConcurrency` (type: `integer`):

Parallel requests. Automatically capped to your plan's available concurrency at runtime.

## `stopOnInsufficientCredits` (type: `boolean`):

If enabled, the run aborts early when your remaining monthly requests can't cover the job, instead of partially completing.

## Actor input object example

```json
{
  "mode": "search",
  "keywords": [
    "laptop stand",
    "wireless mouse"
  ],
  "maxPages": 1,
  "enrichWithProductDetails": true,
  "asins": [
    "B0C7BKZ883"
  ],
  "urls": [
    "https://www.amazon.com/dp/B0C7BKZ883"
  ],
  "geocode": "US",
  "superProxy": false,
  "maxItems": 0,
  "maxConcurrency": 5,
  "stopOnInsufficientCredits": false
}
```

# Actor output Schema

## `results` (type: `string`):

The main dataset — one flat row per product or offer, ready for table, CSV or Excel export.

## `accountStatus` (type: `string`):

JSON snapshot of available concurrency, remaining monthly requests and the estimated cost of this run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "laptop stand",
        "wireless mouse"
    ],
    "asins": [
        "B0C7BKZ883"
    ],
    "urls": [
        "https://www.amazon.com/dp/B0C7BKZ883"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fayoussef/amazon-product-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": [
        "laptop stand",
        "wireless mouse",
    ],
    "asins": ["B0C7BKZ883"],
    "urls": ["https://www.amazon.com/dp/B0C7BKZ883"],
}

# Run the Actor and wait for it to finish
run = client.actor("fayoussef/amazon-product-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "laptop stand",
    "wireless mouse"
  ],
  "asins": [
    "B0C7BKZ883"
  ],
  "urls": [
    "https://www.amazon.com/dp/B0C7BKZ883"
  ]
}' |
apify call fayoussef/amazon-product-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=fayoussef/amazon-product-search-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Amazon Scraper (Products, Search, Offers & Raw HTML)",
        "description": "Fast, reliable Amazon scraper. Extract product details, search results, seller offers and raw HTML from 21 marketplaces with geo-targeting and ZIP-level pricing.",
        "version": "1.0",
        "x-build-id": "cfqBS1jQ3So7uJLRY"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/fayoussef~amazon-product-search-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-fayoussef-amazon-product-search-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/fayoussef~amazon-product-search-scraper/runs": {
            "post": {
                "operationId": "runs-sync-fayoussef-amazon-product-search-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/fayoussef~amazon-product-search-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-fayoussef-amazon-product-search-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "apiKey"
                ],
                "properties": {
                    "apiKey": {
                        "title": "🔑 API Key",
                        "type": "string",
                        "description": "Paste your API key here to power the scraper.<br><br>👉 <b><a href=\"https://scrape.do/?fpr=automationbyexperts\" target=\"_blank\" rel=\"noopener\">Don't have a key yet? Click here to create a FREE account and get 1,000 free requests/month →</a></b><br><br>It takes 30 seconds, no credit card required. Copy the API token from your dashboard and paste it above."
                    },
                    "mode": {
                        "title": "What do you want to scrape?",
                        "enum": [
                            "search",
                            "product",
                            "offers",
                            "raw_html"
                        ],
                        "type": "string",
                        "description": "Choose the type of Amazon data to extract.",
                        "default": "search"
                    },
                    "keywords": {
                        "title": "Search keywords",
                        "type": "array",
                        "description": "List of keywords to search on Amazon. Used when mode is 'Search results'.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxPages": {
                        "title": "Max pages per keyword",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "How many result pages to fetch for each keyword (≈16 products per page). Each page costs 1 request.",
                        "default": 1
                    },
                    "enrichWithProductDetails": {
                        "title": "Enrich search results with full product details",
                        "type": "boolean",
                        "description": "For each product found in search, fetch its full product page (price history, specs, images, stock). ⚠️ Uses 1 extra request per product.",
                        "default": true
                    },
                    "asins": {
                        "title": "ASINs",
                        "type": "array",
                        "description": "List of 10-character Amazon ASINs (e.g. B0C7BKZ883). Used when mode is 'Product details' or 'Seller offers'.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "urls": {
                        "title": "Amazon URLs",
                        "type": "array",
                        "description": "List of full Amazon URLs to fetch as raw HTML. Used when mode is 'Raw HTML'.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "geocode": {
                        "title": "Country / marketplace",
                        "enum": [
                            "US",
                            "GB",
                            "DE",
                            "FR",
                            "IT",
                            "ES",
                            "CA",
                            "JP",
                            "IN",
                            "AU",
                            "NL",
                            "SE",
                            "PL",
                            "BR",
                            "MX",
                            "AE",
                            "SA",
                            "TR",
                            "SG",
                            "EG",
                            "BE"
                        ],
                        "type": "string",
                        "description": "Two-letter country code of the Amazon marketplace to target.",
                        "default": "US"
                    },
                    "zipcode": {
                        "title": "ZIP / postal code",
                        "type": "string",
                        "description": "Optional. Lock delivery location for location-specific pricing & stock (e.g. 10001 for New York)."
                    },
                    "language": {
                        "title": "Language",
                        "type": "string",
                        "description": "Optional. ISO 639-1 language code in uppercase (e.g. EN, ES, DE)."
                    },
                    "superProxy": {
                        "title": "Use premium residential proxies",
                        "type": "boolean",
                        "description": "Enable residential/mobile proxies for the highest success rate on hard-to-scrape pages. ⚠️ Costs 10x requests per call.",
                        "default": false
                    },
                    "maxItems": {
                        "title": "Max items (safety cap)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Hard limit on the total number of items pushed to the dataset. 0 = no limit.",
                        "default": 0
                    },
                    "maxConcurrency": {
                        "title": "Max concurrent requests",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Parallel requests. Automatically capped to your plan's available concurrency at runtime.",
                        "default": 5
                    },
                    "stopOnInsufficientCredits": {
                        "title": "Stop if not enough requests remain",
                        "type": "boolean",
                        "description": "If enabled, the run aborts early when your remaining monthly requests can't cover the job, instead of partially completing.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
