# Ecommerce Price Scraper (`flipper_ai/ecommerce-price-scraper`) Actor

Extract product price, title, currency, availability, brand, SKU, and image from any product URL using structured data (JSON-LD / Open Graph). No browser, fast and cheap.

- **URL**: https://apify.com/flipper\_ai/ecommerce-price-scraper.md
- **Developed by:** [Josh Baker](https://apify.com/flipper_ai) (community)
- **Categories:** Developer tools, Automation, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## Ecommerce Price Scraper

**Get the price of any product, from any store.** Paste product URLs — Amazon,
Walmart, Shopify, WooCommerce, almost anywhere — and get back **price, title,
stock status, brand, and image**. Export JSON, CSV, or Excel.

### ✅ What it does

- 💲 **Price + currency** for each product
- 📦 **In-stock / out-of-stock** status
- 🏷️ Title, brand, SKU, image
- 🌎 **Works across most stores** — reads the hidden structured product data
  (schema.org / JSON-LD) that ecommerce sites embed, so it's not tied to one layout
- ⚡ Lightweight & cheap to run

### 🚀 Quick start

1. Paste your **product URLs**
2. Click **Start**
3. Get a clean price record for each

### 📤 Example output

```json
{
  "title": "Men's Wool Runners",
  "price": 110.0,
  "currency": "USD",
  "availability": "in stock",
  "brand": "Allbirds",
  "image": "https://cdn....jpg",
  "url": "https://www.allbirds.com/products/mens-wool-runners",
  "source": "json-ld"
}
```

### 🎯 Perfect for

- **Price monitoring** across many stores at once
- **Resellers & flippers** — check prices fast
- **Dropshippers / retailers** — track competitor pricing
- Schedule it to watch prices over time

### 💡 FAQ

**Which sites work?** Most ecommerce sites (they embed product data). Big protected
sites like Amazon work best with residential proxies enabled.
**Cost?** Priced per product — you only pay for results.

***

*Reads publicly available product data. You're responsible for how you use it and
for complying with applicable laws and terms.*

# Actor input Schema

## `productUrls` (type: `array`):

Product page URLs from any online store.

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

Stop after this many products.

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

Recommended. Some big stores (e.g. Amazon) need residential proxies.

## Actor input object example

```json
{
  "productUrls": [
    "https://scrapingcourse.com/ecommerce/product/abominable-hoodie",
    "https://www.some-shop.com/products/item"
  ],
  "maxItems": 200,
  "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 = {
    "productUrls": [
        "https://scrapingcourse.com/ecommerce/product/abominable-hoodie"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("flipper_ai/ecommerce-price-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 = {
    "productUrls": ["https://scrapingcourse.com/ecommerce/product/abominable-hoodie"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("flipper_ai/ecommerce-price-scraper").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 '{
  "productUrls": [
    "https://scrapingcourse.com/ecommerce/product/abominable-hoodie"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call flipper_ai/ecommerce-price-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=flipper_ai/ecommerce-price-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/S3Uwa8R0UCAVmSWLw/builds/KdcJysdNPLaDgB7hg/openapi.json
