# Amazon Price Tracker (`phone_number_scraper/amazon-price-tracker`) Actor

\[ 1k / 1$ ] Amazon Price Tracker that monitors prices over time: current price, stock, seller, Best Seller Rank and deal badges per ASIN, compared with the last run, with target-price and price-change alerts and a rolling history. Catch every Amazon price drop.

- **URL**: https://apify.com/phone_number_scraper/amazon-price-tracker.md
- **Developed by:** [Phone Number Scraper](https://apify.com/phone_number_scraper) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Amazon Price Tracker

**Amazon Price Tracker** watches the live price of products on Amazon, compares each check with the previous one and tells you exactly what changed. Give it a list of ASINs or Amazon product URLs, schedule it hourly or daily, and every run returns one structured record per product: current price, list price, stock, seller, Best Seller Rank, coupon and deal badges and ready-to-use alert flags. 🔔

This Amazon Price Tracker is made for Amazon sellers, deal hunters, repricing teams and analysts who want a dependable price history without opening Amazon product pages by hand. A rolling history is remembered between runs, so every scheduled run adds a data point.

You do not need an Amazon login. Amazon Price Tracker reads the public Amazon product page, the same page a visitor sees, and turns it into clean JSON that you can export or send to other tools.

> **In one line:** with Amazon Price Tracker, ASINs or product URLs go in and one price-and-alert record per product comes out, compared with your last run.

### 🔹 Amazon Price Tracker Key Features

The Amazon Price Tracker turns a plain product list into a monitoring workflow:

- Current price, list price, discount percent and shipping cost for each product
- Price change since the last run in amount and percent, with a direction of up, down or same
- Alert flags such as `PRICE_DROP`, `TARGET_PRICE_REACHED` and `NEW_LOWEST_PRICE`
- One global target price, or a separate target price for single products
- Stock changes, Buy Box seller changes and Best Seller Rank movement
- Rolling history of up to 365 snapshots per product, with lowest, highest and average price
- 21 Amazon marketplaces, with prices in the local currency
- Named tracking projects, so one account can run several independent watch lists
- JSON, CSV, Excel and API export through the Apify platform

> **Why use this Actor?** Amazon Price Tracker does the comparison work for you. Instead of raw prices you receive differences, flags and statistics that you can feed into email, Slack, spreadsheets or a repricing tool.

### 👥 Who Is Amazon Price Tracker For?

- **Amazon sellers** who watch competitor prices and Buy Box seller changes
- **Deal hunters** who want an alert when a product reaches a target price
- **Agencies and analysts** who build price history reports for clients, one tracking name per client
- **Developers** who need a scheduled price feed in JSON through the Apify API

Amazon Price Tracker works the same way for three products or a much longer list.

### 📊 What Data Amazon Price Tracker Extracts

Every Amazon Price Tracker record describes one Amazon product at the time of the check:

- **Identity:** `asin`, `title`, `brand`, `url`, `domain`, `loadedCountryCode`, `thumbnailImage`
- **Price:** `price` (value, currency, formatted text), `listPrice`, `discountPercent`, `shippingPrice`, `shippingAndImportText`
- **Availability:** `inStock`, `inStockText`, `delivery`
- **Seller:** `seller` (name, ID, profile link), `soldBy`, `shipsFrom`
- **Popularity:** `bestsellerRanks`, `stars`, `reviewsCount`, `monthlyPurchaseVolume`
- **Promotions:** `couponText`, `dealBadge`, `isAmazonChoice`, `bestSellerBadge`
- **Tracking:** `changes`, `alerts`, `priceStats`, `history`, `previous`, `isFirstCheck`, `targetPrice`

Amazon Price Tracker results reflect what Amazon shows publicly for the chosen marketplace and delivery location.

### 🚀 How to Use Amazon Price Tracker

1. Open Amazon Price Tracker and paste your ASINs or product URLs into **ASINs or product URLs**.
2. Pick the **Amazon marketplace** used for plain ASINs. A product URL keeps its own marketplace.
3. Optionally enter a **Target price** and a **Price change alert threshold**.
4. Choose a **Tracking name** if you want a separate history for this list.
5. Start the run. The first run stores a baseline and marks every record with `isFirstCheck: true`.
6. Schedule the Actor. From the second run on, every record shows what changed.

Download the Amazon Price Tracker dataset as JSON, CSV or Excel, or read it through the Apify API.

### 🔔 Amazon Price Tracker Alerts Explained

The `alerts` array contains plain flags you can filter on in your own workflow:

| Alert | When it appears |
|---|---|
| `PRICE_DROP` / `PRICE_INCREASE` | The price moved by at least your threshold in percent |
| `TARGET_PRICE_REACHED` | The price is at or below your target price |
| `NEW_LOWEST_PRICE` | The price is below every stored price |
| `OUT_OF_STOCK` / `BACK_IN_STOCK` | Availability changed since the last run |
| `SELLER_CHANGED` | A different seller owns the offer |
| `COUPON_AVAILABLE` / `DEAL_ACTIVE` | A coupon or deal badge is shown |
| `CURRENCY_CHANGED` | Another currency than before is displayed |

Several alerts can appear on the same record. A drop together with `NEW_LOWEST_PRICE` and `TARGET_PRICE_REACHED` is usually the signal that Amazon Price Tracker users act on first.

`TARGET_PRICE_REACHED`, `COUPON_AVAILABLE` and `DEAL_ACTIVE` describe the current state, so they can appear on every run while the condition lasts, even on the first check. The change alerts need an earlier snapshot.

### 🧭 Amazon Price Tracker Walkthrough: Three Runs of One Product

This example shows how Amazon Price Tracker behaves for one product with a target price of 9. The numbers are illustrative.

| Run | Price | What the record says | Alerts |
|---|---|---|---|
| Day 1 | 9.99 | `isFirstCheck` is true, no `changes` values yet | none |
| Day 2 | 9.99 | `priceDirection` is `same`, change is 0 | none |
| Day 3 | 8.99 | change -1, `priceChangePercent` -10.01, direction `down` | `PRICE_DROP`, `NEW_LOWEST_PRICE`, `TARGET_PRICE_REACHED` |

After day 3 the `priceStats` object reports lowest 8.99, highest 9.99 and an average of 9.66 over three snapshots.

### 🛒 How to Track an Amazon Product Price Over Time with Amazon Price Tracker

To track one Amazon product for weeks, add its ASIN, set a **Target price** and schedule Amazon Price Tracker daily. The `history` array grows with every run, and `priceStats` shows the lowest price, highest price and average.

Turn on **Only products with alerts** if you only want a record when something worth acting on happens. Amazon Price Tracker then stays quiet on days when nothing changed, while the stored history keeps growing.

### 🌍 Can You Use Amazon Price Tracker on Other Amazon Marketplaces?

Yes. Amazon Price Tracker supports 21 Amazon marketplaces: the United States, United Kingdom, Germany, France, Italy, Spain, Netherlands, Sweden, Poland, Belgium, Canada, Mexico, Brazil, India, Japan, Australia, Singapore, United Arab Emirates, Saudi Arabia, Turkey and Egypt.

You can mix marketplaces in one run: a product URL such as an amazon.de link keeps its own marketplace, while plain ASINs use the **Amazon marketplace** field. Amazon Price Tracker stores every product under its marketplace and ASIN.

> **Note:** The delivery ZIP option works for amazon.com only and takes a 5-digit US ZIP code. On other marketplaces it is ignored.

### 💡 Amazon Price Tracker Use Cases

- **Deal alerts:** Amazon Price Tracker notifies you when a wishlist item reaches your target price
- **Competitor monitoring:** follow rival listings and spot price or seller changes
- **Repricing input:** feed daily prices into your own pricing rules
- **Price history research:** build a dataset of Amazon price movement per ASIN
- **Brand protection:** notice when an unknown seller takes over the offer
- **Rank watching:** see how a product's Best Seller Rank moves after a price change
- **Promotion tracking:** record when a coupon or deal badge appears and for how long

Each of these Amazon Price Tracker use cases relies on the same record, so you can start with one and add others later.

### ⚙️ Amazon Price Tracker Input

Amazon Price Tracker needs only the `asins` list. Every other field is optional.

| Field | Type | Default | Description |
|---|---|---|---|
| `asins` | array | 3 sample ASINs | Required. ASINs or product URLs to track |
| `marketplace` | string | `amazon.com` | Marketplace for plain ASINs |
| `deliveryZip` | string | empty | US ZIP code for amazon.com only |
| `targetPrice` | number | none | Alert when price is at or below this value (minimum 0.01) |
| `targetPrices` | object | empty | Map of ASIN to price that overrides `targetPrice` |
| `priceDropAlertPercent` | number | 5 | Minimum percent change for drop or increase alerts |
| `compareWithPrevious` | boolean | true | Compare with and update the stored history |
| `historyName` | string | `default` | Name of the tracking project |
| `historyLimit` | integer | 30 | Snapshots kept per product (1 to 365) |
| `onlyWithAlerts` | boolean | false | Write only products with at least one alert |
| `includeHistory` | boolean | true | Add the `history` array to each record |
| `maxConcurrency` | integer | 3 | Products checked at the same time (1 to 10) |

#### 🧪 Input example

```json
{
  "asins": ["B0CG1LGWR6", "https://www.amazon.de/dp/B07F8S18D5"],
  "marketplace": "amazon.com",
  "targetPrice": 9,
  "targetPrices": { "B07F8S18D5": 8.5 },
  "priceDropAlertPercent": 5,
  "compareWithPrevious": true,
  "historyName": "usb-cables",
  "historyLimit": 30,
  "onlyWithAlerts": false,
  "includeHistory": true,
  "maxConcurrency": 3
}
```

### 📦 Amazon Price Tracker Output

Amazon Price Tracker writes one dataset record per product. The dataset has three views: **Price overview**, **Stock, seller & rank** and **Price history**. Fields that Amazon does not show for a product are returned as `null`.

Main groups inside each record:

| Field | Content |
|---|---|
| `changes` | `priceChange`, `priceChangePercent`, `priceDirection`, `listPriceChange`, `stockChange`, `sellerChanged`, `previousSeller`, `bestSellerRankChange`, `reviewsCountChange`, `starsChange` |
| `priceStats` | `lowestPrice`, `lowestPriceAt`, `highestPrice`, `highestPriceAt`, `averagePrice`, `snapshotsWithPrice` |
| `history` | One snapshot per run: price, currency, stock, seller, ranks, rating, reviews, coupon and deal |
| `previous` | The snapshot from the last check, or `null` on the first check |
| `targetPrice`, `targetPriceNote` | The target used for the product, and a note when it could not be compared |
| `checkedAt`, `previousCheckedAt` | Timestamps of this check and the one before |

`priceDirection` is `up`, `down` or `same`. It can also say `price-appeared`, `price-unavailable` or `currency-changed` followed by both currencies. `stockChange` is `went-out-of-stock`, `back-in-stock` or `unchanged`, and a positive `bestSellerRankChange` means the rank improved.

#### 🧪 Output example

```json
{
  "asin": "B0CG1LGWR6",
  "title": "USB C to USB C Cable, 240W Fast Charging Type C Cable",
  "url": "https://www.amazon.com/dp/B0CG1LGWR6",
  "brand": "Example Brand",
  "domain": "amazon.com",
  "loadedCountryCode": "US",
  "price": { "value": 8.99, "currency": "USD", "formatted": "$8.99" },
  "listPrice": { "value": 9.99, "currency": "USD", "formatted": "$9.99" },
  "discountPercent": 10,
  "shippingPrice": { "value": 0, "currency": "USD", "formatted": "FREE" },
  "inStock": true,
  "inStockText": "In Stock",
  "delivery": "FREE delivery Tomorrow",
  "seller": { "name": "Example Seller LLC", "id": "ASELLERID12345", "url": "https://www.amazon.com/sp?seller=ASELLERID12345" },
  "soldBy": "Example Seller LLC",
  "shipsFrom": "Amazon",
  "bestsellerRanks": [
    { "rank": 1, "category": "PS/2 Cables", "url": "https://www.amazon.com/gp/bestsellers/pc/3015392011" }
  ],
  "stars": 4.6,
  "reviewsCount": 12840,
  "monthlyPurchaseVolume": "10K+ bought in past month",
  "couponText": null,
  "dealBadge": null,
  "isAmazonChoice": true,
  "bestSellerBadge": null,
  "thumbnailImage": "https://m.media-amazon.com/images/I/example-thumbnail._AC_US100_.jpg",
  "targetPrice": 9,
  "targetPriceNote": null,
  "isFirstCheck": false,
  "previousCheckedAt": "2026-11-12T12:52:17Z",
  "previous": { "checkedAt": "2026-11-12T12:52:17Z", "price": 9.99, "currency": "USD", "inStock": true },
  "changes": {
    "priceChange": -1,
    "priceChangePercent": -10.01,
    "priceDirection": "down",
    "stockChange": "unchanged",
    "sellerChanged": false,
    "bestSellerRankChange": 0
  },
  "alerts": ["PRICE_DROP", "NEW_LOWEST_PRICE", "TARGET_PRICE_REACHED"],
  "priceStats": {
    "lowestPrice": 8.99,
    "lowestPriceAt": "2026-11-13T09:00:05Z",
    "highestPrice": 9.99,
    "highestPriceAt": "2026-11-12T10:51:24Z",
    "averagePrice": 9.66,
    "snapshotsWithPrice": 3
  },
  "history": [
    { "checkedAt": "2026-11-12T10:51:24Z", "price": 9.99, "currency": "USD", "inStock": true },
    { "checkedAt": "2026-11-12T12:52:17Z", "price": 9.99, "currency": "USD", "inStock": true },
    { "checkedAt": "2026-11-13T09:00:05Z", "price": 8.99, "currency": "USD", "inStock": true }
  ],
  "checkedAt": "2026-11-13T09:00:05Z"
}
```

Snapshots in `history` and `previous` are shortened here; real ones carry every field.

#### 🧪 More input examples

A one-off check for amazon.com with a delivery ZIP code, no stored history and a smaller record:

```json
{
  "asins": ["B09X7MPX8L"],
  "deliveryZip": "10001",
  "compareWithPrevious": false,
  "includeHistory": false
}
```

A quiet daily watch list on the UK marketplace that writes only products with an alert:

```json
{
  "asins": ["B09X7MPX8L", "B0CG1LGWR6"],
  "marketplace": "amazon.co.uk",
  "targetPrices": { "B09X7MPX8L": 19.99 },
  "priceDropAlertPercent": 10,
  "historyName": "uk-watchlist",
  "historyLimit": 90,
  "onlyWithAlerts": true
}
```

### 💰 Amazon Price Tracker Pricing

> **$1.49 per 1,000 results** (pay per result). One result is one tracked product record saved in one run.

The number of results equals the number of products you list, so 50 ASINs give 50 results per run. The same ASIN on the same marketplace is checked once, and products that Amazon does not return are not counted. With **Only products with alerts** on, only written records count.

Apify platform plans and usage limits apply. There is no result limit field: the length of your list and the number of scheduled runs decide the cost of Amazon Price Tracker.

### ✅ Amazon Price Tracker Tips and Best Practices

- Run Amazon Price Tracker once right away so the baseline exists before the schedule starts
- Keep the same **Tracking name** for the same list, or the history starts again
- Keep **History length** at 30 or higher so Amazon Price Tracker can show a meaningful lowest and highest price
- Enter target prices in the currency of the marketplace you track
- Keep the alert threshold at 5 percent or more: tiny Amazon price moves are noise, and 0 flags every check
- Use the delivery ZIP option on amazon.com when local stock and shipping matter
- Prices depend on the marketplace and the delivery location, so keep both stable between runs

> **Good to know:** If Amazon shows a different currency than the marketplace default, the target price is not compared and a `targetPriceNote` explains why.

### 🛠️ Amazon Price Tracker Troubleshooting

Most surprises in Amazon Price Tracker results have a simple cause:

- **Fewer records than products:** duplicates are merged, **Only products with alerts** may be on, or a product page stayed unavailable after automatic retries. A run that hits its time limit keeps the products already checked.
- **`isFirstCheck` is true again:** the **Tracking name** changed, **Compare with previous run** was off, or the product is new in that list.
- **`price` is null:** no price was shown for the product, for example when it is unavailable.
- **Price differs from what you see on Amazon:** prices depend on marketplace and delivery location, and your own session may show other offers.
- **No alert although the price moved:** the change was below your threshold, or the currency differed from the marketplace currency.
- **Short history:** the **History length** value limits how many snapshots are kept.

### ⏰ Scheduling, Alerts and Integrations

Create an Apify schedule for Amazon Price Tracker with the same input and a fixed interval, for example hourly for deal watching or daily for price history. Add a webhook or integration to send a message when a run finishes, and filter the dataset for records whose `alerts` contain the flag you care about.

The dataset exports to JSON, CSV or Excel, and the Apify API returns the same records to your own scripts. Amazon Price Tracker does not send emails itself: the alert flags are data that your workflow acts on.

### 🧩 Amazon Price Tracker or Another Actor: Which Should You Use?

- **Amazon Product Scraper** for full product detail pages with description, features and variants
- **Amazon Search Results Scraper** to find ASINs for a keyword, then track them with Amazon Price Tracker
- **Amazon Product Offers Scraper** to see every seller offer on a product, not only the Buy Box seller
- **Amazon Keyword Rank Tracker** to follow search positions of your ASINs over time

### ❓ Amazon Price Tracker Frequently Asked Questions

#### 📈 What data does Amazon Price Tracker collect?

It collects price, list price, discount, shipping, stock, seller, Best Seller Rank, rating, review count, coupons and deal badges for every product, plus the changes since the last check.

#### 🔁 How does Amazon Price Tracker know the price changed?

Amazon Price Tracker stores a snapshot after every run under your tracking name and compares the next live check with that snapshot.

#### 🎯 Can I set a different target price for each Amazon product?

Yes. Use `targetPrices` with an ASIN as key and the price as value. It overrides the global `targetPrice` for that product.

#### 🧹 Can I run a one-off Amazon price check without saving history?

Yes. Turn off **Compare with previous run** and Amazon Price Tracker reads the page without updating stored history.

#### 📬 How do I get notified about an Amazon price drop?

Schedule the Actor, enable **Only products with alerts**, and connect the run to email or Slack with Apify integrations.

#### ⚠️ Why is a field empty in Amazon Price Tracker results?

Amazon does not show every detail on every page, for example no coupon or no list price. Such fields are `null`.

#### 🔐 Does Amazon Price Tracker need an Amazon account?

No. Amazon Price Tracker reads the public product page, so no Amazon login or personal data is required.

#### ⏰ How often should I run Amazon Price Tracker?

That depends on how fast your products change. Hourly runs suit fast-moving deals, while daily runs are enough for most price history work. Every run adds one snapshot.

#### 🗂️ Can Amazon Price Tracker keep separate watch lists?

Yes. Give each list its own **Tracking name**. Amazon Price Tracker keeps a separate history for every name, for example one per client.

#### 💱 Does Amazon Price Tracker convert currencies?

No. Prices are returned in the currency Amazon displays for the marketplace and location. If that currency changes between runs, you get a `CURRENCY_CHANGED` alert instead of a misleading price change.

#### 🌐 Can Amazon Price Tracker follow the same ASIN on several marketplaces?

Yes. Add a product URL for each marketplace, or run the Actor once per marketplace with its own **Tracking name**. Each marketplace and ASIN pair has its own history.

### 🤝 Amazon Price Tracker Support

Questions, bug reports or feature ideas for Amazon Price Tracker are welcome. Please include the product ASIN and the marketplace so the issue can be reproduced.

- contact me by email : alphascraper69@gmail.com

# Actor input Schema

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

Products to track. A product URL keeps its own marketplace.

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

Marketplace used for plain ASINs. A product URL keeps its own marketplace.

## `deliveryZip` (type: `string`):

US ZIP code (5 digits) for amazon.com, chosen the way a visitor does with the 'Deliver to' link before scraping: prices, shipping and stock depend on the delivery location. Leave empty to keep the location Amazon assigns to your network. Ignored, with a warning, on other marketplaces.

## `targetPrice` (type: `number`):

A `TARGET_PRICE_REACHED` alert is raised when the price is at or below this value (marketplace currency).

## `targetPrices` (type: `object`):

Optional map {ASIN: price} that overrides the target price above for single products.

## `priceDropAlertPercent` (type: `number`):

PRICE_DROP / PRICE_INCREASE alerts fire only for changes of at least this many percent.

## `compareWithPrevious` (type: `boolean`):

Compare with and update the stored history (turn off for a one-off price check).

## `historyName` (type: `string`):

Name of this tracking project. Each name keeps its own remembered history, so you can run several independent tracking projects (for example per client or per product list) with the same Actor.

## `historyLimit` (type: `integer`):

Number of snapshots kept per product in the history and shown in the output.

## `onlyWithAlerts` (type: `boolean`):

Write only products that triggered at least one alert in this run.

## `includeHistory` (type: `boolean`):

Add the `history` array with the stored snapshots to each record.

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

How many input items (keywords, URLs, ASINs, profiles ...) are processed at the same time, each in its own browser. A higher value finishes faster but needs more memory (about 600 MB per browser - the run never starts more browsers than its memory allows) and sends more simultaneous requests to Amazon; 2 to 5 is a good range.

## Actor input object example

```json
{
  "asins": [
    "B09X7MPX8L"
  ],
  "marketplace": "amazon.com",
  "deliveryZip": "10001",
  "targetPrices": {
    "B09X7MPX8L": 19.99
  },
  "priceDropAlertPercent": 5,
  "compareWithPrevious": true,
  "historyName": "default",
  "historyLimit": 30,
  "onlyWithAlerts": false,
  "includeHistory": true,
  "maxConcurrency": 3
}
```

# Actor output Schema

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

No description

# 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 = {
    "asins": [
        "B09X7MPX8L",
        "B0H8NFRF3S",
        "B0HKS3S2XJ"
    ],
    "targetPrices": {}
};

// Run the Actor and wait for it to finish
const run = await client.actor("phone_number_scraper/amazon-price-tracker").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 = {
    "asins": [
        "B09X7MPX8L",
        "B0H8NFRF3S",
        "B0HKS3S2XJ",
    ],
    "targetPrices": {},
}

# Run the Actor and wait for it to finish
run = client.actor("phone_number_scraper/amazon-price-tracker").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 '{
  "asins": [
    "B09X7MPX8L",
    "B0H8NFRF3S",
    "B0HKS3S2XJ"
  ],
  "targetPrices": {}
}' |
apify call phone_number_scraper/amazon-price-tracker --silent --output-dataset

```

## MCP server setup

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

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/uCJezKYl8nY8VaJWV/builds/kbpGEiqVAnTSoLFIc/openapi.json
