# Amazon Buy Box Price & Seller Delta Tracker (`titan_coder/amazon-buy-box-price-delta`) Actor

Zero-browser, high-frequency Buy Box monitor for Amazon. Detects price drops, price increases, and Buy Box seller hijacking across ASINs. Emits clean delta alerts for repricers and arbitrageurs.

- **URL**: https://apify.com/titan_coder/amazon-buy-box-price-delta.md
- **Developed by:** [Radu Furtuna](https://apify.com/titan_coder) (community)
- **Categories:** MCP servers, AI, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 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.

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 Buy Box Price & Seller Delta Tracker (Save 90%)

> 🛑 **Stop losing Buy Box revenue to stealth undercutters while waiting for heavy browser scrapers.** Heavy Chrome scrapers take 30+ seconds, consume massive memory, and frequently hit bot challenges.\
> ⚡ **The Smart Delta Solution:** **Amazon Buy Box Price & Seller Delta Tracker** uses lightweight zero-browser HTTP calls (running in 2–4s), maintains historical price/seller snapshots in memory, and triggers alerts **ONLY** when a competitor lowers their price, raises their price, or hijacks your Buy Box — **saving 90% on proxy and compute costs.**

***

### ⚡ Why Use This Actor?

- **Zero-Browser, Ultra-Fast:** Executes in **2 to 5 seconds** per batch. Consumes negligible compute resources.
- **Smart Delta Memory:** Compares current offer states against historical snapshots in Apify Key-Value storage. No duplicate rows in your dataset.
- **Instant Repricer & Arbitrage Alert:** Catch competitor undercutters, private label hijackers, or flash sales the minute they happen.
- **Pay-Per-Event (PPE) Micro-Monetization:** Quiet runs with no changes cost $0 in event fees.

***

### 🔍 Tracked Delta Events

| Event Type | Trigger | Output Fields |
|---|---|---|
| `BUYBOX_PRICE_DROP` | Buy Box price decreased | `asin`, `oldPrice`, `newPrice`, `priceChangePct` (negative %) |
| `BUYBOX_PRICE_INCREASE` | Buy Box price increased | `asin`, `oldPrice`, `newPrice`, `priceChangePct` (positive %) |
| `BUYBOX_SELLER_CHANGED` | Competitor merchant won or hijacked the Buy Box | `asin`, `oldSeller`, `newSeller` |
| `OUT_OF_STOCK` | ASIN lost Buy Box or went out of stock | `asin`, `eventType` |
| `BACK_IN_STOCK` | ASIN is available again | `asin`, `eventType` |

***

### ⚙️ Input Parameters

| Parameter | Type | Default | Description |
|---|---|:---:|---|
| `asins` | Array of Strings | `["B08N5WRWNW"]` | Amazon ASINs to track. |
| `domain` | String | `amazon.com` | Target Amazon domain (`amazon.com`, `amazon.co.uk`, etc.). |
| `trackPriceChanges` | Boolean | `true` | Track price increases and drops. |
| `trackSellerChanges` | Boolean | `true` | Track merchant / Buy Box seller transitions. |
| `resetBaseline` | Boolean | `false` | Clear previous memory and record a fresh baseline. |

***

### 🏷️ Keywords & Search Tags

`#amazon #buy-box #repricer #amazon-fba #price-drop-tracker #arbitrage #competitor-monitoring #asin-scraper #ecommerce #ai-agent`

# Actor input Schema

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

List of Amazon ASINs to monitor (e.g. \['B08N5WRWNW']).

## `domain` (type: `string`):

Amazon marketplace domain (e.g. amazon.com, amazon.co.uk, amazon.de).

## `trackPriceChanges` (type: `boolean`):

Emit an event whenever the Buy Box price goes up or down.

## `trackSellerChanges` (type: `boolean`):

Emit an alert when a competitor or new merchant takes over the Buy Box.

## `resetBaseline` (type: `boolean`):

If enabled, resets the saved snapshot and establishes a new baseline.

## Actor input object example

```json
{
  "asins": [
    "B08N5WRWNW"
  ],
  "domain": "amazon.com",
  "trackPriceChanges": true,
  "trackSellerChanges": true,
  "resetBaseline": false
}
```

# Actor output Schema

## `deltas` (type: `string`):

Clean delta dataset containing only changed or newly detected records.

# 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": [
        "B08N5WRWNW"
    ],
    "domain": "amazon.com",
    "trackPriceChanges": true,
    "trackSellerChanges": true,
    "resetBaseline": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("titan_coder/amazon-buy-box-price-delta").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": ["B08N5WRWNW"],
    "domain": "amazon.com",
    "trackPriceChanges": True,
    "trackSellerChanges": True,
    "resetBaseline": False,
}

# Run the Actor and wait for it to finish
run = client.actor("titan_coder/amazon-buy-box-price-delta").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": [
    "B08N5WRWNW"
  ],
  "domain": "amazon.com",
  "trackPriceChanges": true,
  "trackSellerChanges": true,
  "resetBaseline": false
}' |
apify call titan_coder/amazon-buy-box-price-delta --silent --output-dataset

```

## MCP server setup

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

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/qXZNu3vgx3LX3PlTR/builds/KcuR1HGWpOGhHEiaP/openapi.json
