# Amazon International Scraper - 18 marketplaces, ISO currency (`pagewright/amazon-international-scraper`) Actor

Amazon search and product scraper for 18 marketplaces: US, UK, Germany, France, Italy, Spain, Poland, Japan, India, Canada, Mexico, Brazil, Australia and more. Proxy country follows the marketplace, so prices return in that market's currency with its ISO code. For cross-border price comparison.

- **URL**: https://apify.com/pagewright/amazon-international-scraper.md
- **Developed by:** [Roman Sorokin](https://apify.com/pagewright) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 International Scraper — 18 marketplaces, correct currency on every price

Scrapes Amazon search results and product pages across 18 marketplaces. The proxy
country is set from the marketplace you choose, so prices come back in that
market's currency — and every price carries its ISO code.

Verified on all 18 marketplaces: 20 records each, prices filled on 95–100% of
listings, zero currency mismatches.

### The problem this fixes

Amazon decides which country you are in from the IP address of the request, then
returns prices in that country's currency without saying so anywhere in the
markup. A scraper that ignores this hands you a bare number.

`390037` — is that Vietnamese dong for a mouse, or dollars for a machine?

That is a real value this scraper returned during development, from a request
that landed in Vietnam while asking for `amazon.com`. Here is what you get
instead:

```json
{
  "asin": "B004YAVF8I",
  "title": "Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey",
  "price": 12.99,
  "currency": "USD",
  "marketplace": "amazon.com",
  "rating": 4.5,
  "url": "https://www.amazon.com/dp/B004YAVF8I",
  "image": "https://m.media-amazon.com/images/I/51WN5aXZWIL._AC_SX148_SY213_QL70_.jpg",
  "isPrime": false,
  "isSponsored": false
}
```

If the currency on the page does not match what the marketplace should return,
the record carries a `currencyWarning` field instead of being shipped quietly.

### Three rules it follows

**Empty beats wrong.** When a listing shows no price — and roughly 5–20% of
search results do not, depending on the market — `price` is `null`. It is never
a number borrowed from a neighbouring element on the page. Review counts are
`null` on search results too, because Amazon loads them client-side and they are
genuinely not in the HTML. Zero would be a lie; `null` is the truth.

**A block is a block.** Amazon serves its anti-bot interstitial under HTTP 200 in
about 2 KB, and under HTTP 202 on some marketplaces. Both are detected by content
markers and response size, retried against a fresh proxy session, and escalated
to Apify's Unblocker if the market keeps refusing. A run that cannot fetch says
so in the output rather than reporting success with nothing in it.

**Numbers are parsed per locale.** `1,234.56` in the US and `1.234,56` in Germany
are the same amount; `8,63` in Poland is eight units, not eight hundred. Stripping
commas — the common shortcut — is wrong by a factor of 100 and wrong silently.

### Marketplaces

| Country | Marketplace | Currency | Country | Marketplace | Currency |
|---|---|---|---|---|---|
| United States | amazon.com | USD | Australia | amazon.com.au | AUD |
| United Kingdom | amazon.co.uk | GBP | Japan | amazon.co.jp | JPY |
| Germany | amazon.de | EUR | India | amazon.in | INR |
| France | amazon.fr | EUR | Canada | amazon.ca | CAD |
| Italy | amazon.it | EUR | Mexico | amazon.com.mx | MXN |
| Spain | amazon.es | EUR | Brazil | amazon.com.br | BRL |
| Netherlands | amazon.nl | EUR | United Arab Emirates | amazon.ae | AED |
| Sweden | amazon.se | SEK | Saudi Arabia | amazon.sa | SAR |
| Poland | amazon.pl | PLN | Singapore | amazon.sg | SGD |

Requests are routed through a proxy in the country you pick, so the search results,
availability and prices are the ones that country actually sees. Useful for cross-border price comparison, multi-country market research, and
tracking one product across several Amazon marketplaces at once — the nine
Europe marketplaces share the euro or a local currency, and the code tells you
which one you got rather than leaving you to guess.

### Input

```json
{
  "marketplace": "amazon.de",
  "searchQueries": ["kabellose maus", "mechanische tastatur"],
  "maxItems": 100
}
```

| Field | Type | Notes |
|---|---|---|
| `marketplace` | string | One of the 18 above. Sets the proxy country and the expected currency. |
| `searchQueries` | array | Search terms. One search page returns 14–21 products. |
| `asins` | array | Product IDs. Product pages carry the review count, which search pages do not. |
| `maxItems` | integer | Hard cap on records returned. You are charged per record, so this is also your spending cap. |
| `proxyConfiguration` | object | Residential by default. Datacenter addresses get the interstitial within a few requests. |

### Output fields

| Field | Type | Notes |
|---|---|---|
| `asin` | string | Amazon product ID |
| `title` | string | Full title, assembled across nested markup |
| `price` | number | null | `null` when the listing shows no price |
| `currency` | string | ISO code |
| `currencyInferred` | bool | Present when the page showed no symbol and the market's currency was used |
| `currencyWarning` | string | Present when the currency does not match the marketplace |
| `rating` | number | null | Stars out of 5 |
| `reviewsCount` | number | null | `null` on search results, filled on product pages |
| `url` | string | Built from the ASIN, so always present |
| `canonicalUrl` | string | The slug URL when the markup carries one |
| `image` | string | Product photo, resolved past the lazy-loading placeholder |
| `isPrime`, `isSponsored` | bool | |
| `marketplace`, `position`, `query` | | Where the record came from |

### Pricing

Charged per record returned. Failed fetches are not charged.

### Notes

Review counts on search pages are not available from Amazon's mobile markup at
all — they are rendered client-side. Pass `asins` to get them from product pages.

Data comes from public Amazon pages. You are responsible for how you use it.

# Actor input Schema

## `marketplace` (type: `string`):

Which Amazon site to scrape. The proxy country is set from this, so prices come back in that market's currency instead of whichever country the request happened to land in.

## `searchQueries` (type: `array`):

Search terms. One search page returns roughly 14-21 products.

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

Specific product IDs. Product pages carry the review count, which search pages do not.

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

Hard cap on records. You are charged per record returned, so this is also your spending cap.

## `proxyConfiguration` (type: `object`):

Residential proxies are the default. Amazon serves its anti-bot page to datacenter addresses after a few requests.

## Actor input object example

```json
{
  "marketplace": "amazon.com",
  "searchQueries": [
    "wireless mouse"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

One record per product: ASIN, title, price with its ISO currency, rating, URL, image, Prime and Sponsored flags, marketplace and query.

# 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 = {
    "searchQueries": [
        "wireless mouse"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pagewright/amazon-international-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 = { "searchQueries": ["wireless mouse"] }

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

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

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

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "wireless mouse"
  ]
}' |
apify call pagewright/amazon-international-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pagewright/amazon-international-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/acFT4aLTIEByDxozk/builds/3ikaYH9Jy0vpgMNHO/openapi.json
