# Amazon Product Seller Monitoring (`saswave/amazon-seller-monitoring`)

Amazon seller scraper. Monitor sellers on a specific ASIN product number from any amazon domain. Collect data about pricing, ratings, deliveries, discounts, seller id, seller name

- **URL**: https://apify.com/saswave/amazon-seller-monitoring.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** E-commerce, MCP servers, Automation
- **Stats:** 6 total users, 6 monthly users, 99.9% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

# README

### Amazon ASIN Seller monitoring scraper

Amazon seller scraper.

Monitor sellers on a specific ASIN product number

Collect data about pricing, ratings, deliveries, discounts, seller id, seller name

### INPUT

- list of product ASIN to monitor (limited at 30 per run)

- amazon domain name (ex: www.amazon.fr) which is the source of the ASIN

### OUTPUT

```json
{
  "heading": "New",
  "price": "839.00",
  "currency": "€",
  "old_price": "909.98",
  "discount": "-8%",
  "deliveries": [
    {
      "type": "FREE",
      "date": "Tuesday, 15 July",
      "order_within": ""
    },
    {
      "type": "fastest",
      "date": "Sunday, 13 July",
      "order_within": "Order within 5 hrs 50 mins"
    }
  ],
  "ships_from": "Amazon",
  "sold_by_url": "https://www.amazon.fr/gp/aag/main?ie=UTF8&seller=A3AVBMV7VKVJV2&isAmazonFulfilled=1&asin=B0BT1Z17KD&ref_=olp_merch_name_0",
  "asin": "B0BT1Z17KD",
  "seller": "A3AVBMV7VKVJV2",
  "seller_name": "Numero Un0",
  "reviews": [
    "Seller rating is 5 out of 5 stars",
    "(194 ratings)",
    "99% positive over last 12 months"
  ],
  "position":1,
  "asin_total_sellers":45
}
```

### HOW TO RUN

On the actor page, go to API > API Endpoints

Copy the url under "Run Actor synchronously and get a key-value store record"

Use the copied url in a request POST and provide as json the same parameters as the apify interface

for example:

```json
{
    "amazon_domain": "www.amazon.ae",
    "asins": [
        "B0BFN7LPMP",
        "B0B1575BFZ",
        "B094ZFWV42",
        "B09NSL63GZ",
        "B08R7MWYLG",
        "B098T5W2BK",
        "B07GQC7VYD",
        "B0BHYN9XK7",
        "B09PHLHS51",
        "B07KJR4VB8",
        "B07NCWBTL4",
        "B08V5CY7FR",
        "B08VJ4HPZ3",
        "B09T7249BX",
        "B0B14MF2NJ"
    ],
    "get_amazon": true
}
```

Here is a python code sample:

```python
url = "https://api.apify.com/v2/acts/saswave~amazon-seller-monitoring/run-sync?token=apify_api_hJuwI*********"
payload = {
    "amazon_domain": "www.amazon.ae",
    "asins": [
        "B0BFN7LPMP",
        "B0B1575BFZ",
        "B094ZFWV42",
        "B09NSL63GZ",
        "B08R7MWYLG",
        "B098T5W2BK",
        "B07GQC7VYD",
        "B0BHYN9XK7",
        "B09PHLHS51",
        "B07KJR4VB8",
        "B07NCWBTL4",
        "B08V5CY7FR",
        "B08VJ4HPZ3",
        "B09T7249BX",
        "B0B14MF2NJ"
    ],
    "get_amazon": True
}
res = requests.post(url, json=payload)
results = res.json()
```

### HOW MANY CONCURRENT RUNS CAN I DO

It all depends on the RAM limit you have with your apify account

Let's take for example, 32GB

Each run would use 128 MB

32GB / 128MB = 256 concurent run

Each run returns a results in 5-10s

You can process 256 \* 30 = 7680 product ASIN every 10s

# Actor input Schema

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

Product ASIN number

## `amazon_domain` (type: `string`):

Amazon domain should be the same as ASIN source

## `get_amazon` (type: `boolean`):

If not selected, we will ignore offers from Amazon

## `use_apify_dataset` (type: `boolean`):

If not selected, we will only return json results not visible on apify interface (please look at the information page or create an issue to ask us a question)

## Actor input object example

```json
{
  "asins": [
    "B0CTTSBC1F"
  ],
  "amazon_domain": "www.amazon.fr",
  "get_amazon": true,
  "use_apify_dataset": false
}
```

# 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": [
        "B0CTTSBC1F"
    ],
    "amazon_domain": "www.amazon.fr"
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/amazon-seller-monitoring").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": ["B0CTTSBC1F"],
    "amazon_domain": "www.amazon.fr",
}

# Run the Actor and wait for it to finish
run = client.actor("saswave/amazon-seller-monitoring").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 '{
  "asins": [
    "B0CTTSBC1F"
  ],
  "amazon_domain": "www.amazon.fr"
}' |
apify call saswave/amazon-seller-monitoring --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Amazon Product Seller Monitoring",
        "description": "Amazon seller scraper. Monitor sellers on a specific ASIN product number from any amazon domain. Collect data about pricing, ratings, deliveries, discounts, seller id, seller name",
        "version": "0.0",
        "x-build-id": "nPysEYMQrYM4PrgKw"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/saswave~amazon-seller-monitoring/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-saswave-amazon-seller-monitoring",
                "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/saswave~amazon-seller-monitoring/runs": {
            "post": {
                "operationId": "runs-sync-saswave-amazon-seller-monitoring",
                "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/saswave~amazon-seller-monitoring/run-sync": {
            "post": {
                "operationId": "run-sync-saswave-amazon-seller-monitoring",
                "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": [
                    "asins",
                    "amazon_domain"
                ],
                "properties": {
                    "asins": {
                        "title": "ASIN list (max 30 per run)",
                        "type": "array",
                        "description": "Product ASIN number",
                        "items": {
                            "type": "string"
                        }
                    },
                    "amazon_domain": {
                        "title": "Select amazon domain",
                        "type": "string",
                        "description": "Amazon domain should be the same as ASIN source"
                    },
                    "get_amazon": {
                        "title": "Extract offers from Amazon as a seller",
                        "type": "boolean",
                        "description": "If not selected, we will ignore offers from Amazon",
                        "default": true
                    },
                    "use_apify_dataset": {
                        "title": "Save output to dataset",
                        "type": "boolean",
                        "description": "If not selected, we will only return json results not visible on apify interface (please look at the information page or create an issue to ask us a question)",
                        "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
