# Amazon Price & Review Monitor (`toumi.oussema.re/amazon-price-review-monitor`) Actor

Monitors the price, rating and review count of Amazon ASINs, notifies a webhook on price drops, with optional LLM-based sentiment analysis of recent reviews. Designed to be scheduled in a loop (recurring revenue).

- **URL**: https://apify.com/toumi.oussema.re/amazon-price-review-monitor.md
- **Developed by:** [Oussema Toumi](https://apify.com/toumi.oussema.re) (community)
- **Categories:** AI, Automation, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 product checkeds

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?

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 Price & Review Monitor

Monitors the price, rating and review count of Amazon ASINs. Notifies a
webhook when the price drops beyond a threshold, with optional LLM-based
sentiment analysis of recent reviews. Like generic page monitoring, designed
to be **scheduled in a loop** — recurring revenue proportional to the number
of products and users monitored.

### ⚠️ Before you publish

Amazon aggressively detects and blocks unproxied requests beyond low volume
(CAPTCHA, IP blocking). This actor uses the **built-in Apify proxy**
(`proxyConfiguration`, enabled by default) — the proxy cost is absorbed into
the platform usage paid by the end user of the actor, not by you. Do not
disable the proxy in production; the failure rate climbs very fast without it.

### Input

| Field | Type | Description |
|---|---|---|
| `asins` | array | ASINs to monitor |
| `domain` | string | Amazon domain (default: `amazon.com`) |
| `priceDropThresholdPercent` | int | Drop threshold to trigger an alert (default: 5%) |
| `webhookUrl` | string | Optional — notified on price drop |
| `analyzeReviewSentiment` | bool | Enable LLM sentiment analysis |
| `llmModel` | string | OpenRouter model (required if sentiment enabled) |
| `openrouterApiKey` | string | Required if sentiment enabled |
| `proxyConfiguration` | object | Apify proxy (enabled by default, strongly recommended) |

### How it works

1. On each run, fetches the product page of every ASIN through the Apify
   proxy.
2. Compares the current price to the last known price, **stored in the
   actor's default Key-Value Store** (persists between scheduled runs).
3. If the drop exceeds the threshold, notifies `webhookUrl`.
4. If enabled, sends a sample of recent reviews to an LLM for a sentiment
   summary (positive/neutral/negative + recurring strengths/weaknesses).

### Pricing (pay-per-event)

- `product-checked` — $0.004 — per ASIN checked, on every scheduled run
- `price-drop-alert` — $0.01 — additionally, if an alert is sent successfully
- `review-sentiment-analyzed` — $0.008 — additionally, if the sentiment analysis succeeds

Example: 10 products monitored daily (300 checks/month), with sentiment
enabled and ~5 price-drop alerts in the month ≈
(300 × $0.004) + (300 × $0.008) + (5 × $0.01) = $1.20 + $2.40 + $0.05
\= **$3.65/month** per user — grows with the number of products and users.

### Technical notes

- No GPU required. The proxy and the LLM call are the only two variable
  costs, both delegated (Apify Proxy, OpenRouter) rather than hosted by you.
- Amazon CSS selectors (`#productTitle`, `.a-price`, etc.) can change
  depending on the A/B layout Amazon tests — plan for occasional
  maintenance, as with Google Maps and TikTok.
- A fetch failure (CAPTCHA, invalid ASIN) is never charged.

# Actor input Schema

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

e.g. B09B8V1LZ3

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

e.g. amazon.com, amazon.fr, amazon.de

## `priceDropThresholdPercent` (type: `integer`):

Minimum price drop percentage to trigger a webhook alert

## `webhookUrl` (type: `string`):

Called via POST when a price drop exceeds the threshold

## `analyzeReviewSentiment` (type: `boolean`):

If enabled, sends recent review snippets to an LLM for a structured sentiment summary

## `llmModel` (type: `string`):

Only required when analyzeReviewSentiment is enabled

## `openrouterApiKey` (type: `string`):

Only required when analyzeReviewSentiment is enabled

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

Strongly recommended — Amazon aggressively blocks unproxied high-volume requests

## Actor input object example

```json
{
  "asins": [
    "B09B8V1LZ3"
  ],
  "domain": "amazon.com",
  "priceDropThresholdPercent": 5,
  "analyzeReviewSentiment": false,
  "llmModel": "anthropic/claude-3.5-haiku",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("toumi.oussema.re/amazon-price-review-monitor").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("toumi.oussema.re/amazon-price-review-monitor").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 '{}' |
apify call toumi.oussema.re/amazon-price-review-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,toumi.oussema.re/amazon-price-review-monitor"
        }
    }
}
```

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/0YsAyH0Rd2VJtvVMp/builds/86TqccHPknvWI445n/openapi.json
