> ## Documentation Index
> Fetch the complete documentation index at: https://rocketyard.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> These Actors run on the Apify platform and charge per result. Call one with POST https://api.apify.com/v2/acts/rocketyard~<actor-id>/run-sync-get-dataset-items and the header Authorization: Bearer <APIFY_TOKEN>, or connect Apify's MCP server at https://mcp.apify.com?tools=rocketyard/<actor-id>.

# Product Data API & Scraper - Prices & Stock

> $1.50 per 1,000 results, no subscription. Product data API: name, price, currency, stock status, brand, SKU and more from any website as JSON or CSV.

Rocketyard's Product Data API & Scraper extracts product data from any website that publishes schema.org `Product` markup and returns one clean record per product: name, description, sku, gtin, brand, image and more. It runs on the Apify platform, so you can start it from the Apify Console, the REST API, an AI agent or a no-code tool.

> [card] [Run it on Apify](https://apify.com/rocketyard/product-schema-scraper)
>
> \$1.50 per 1,000 results, no subscription. You run it with your own Apify account, and Apify handles billing.

## Who it's for

* E-commerce managers and pricing analysts at small/mid retailers
* Developers building price-tracking or product-feed tools
* Agencies doing competitor and catalog audits

## What you can do with it

* Get current prices and stock from competitor shops without maintaining one scraper per site
* Enrich a product catalog with GTIN/brand/SKU from manufacturer pages
* Feed product data into Sheets, n8n/Make workflows or an LLM pipeline

## How it works

Websites publish schema.org `Product` markup (JSON-LD or microdata) so search engines can show rich results. The Actor fetches each page over plain HTTP without a browser, honours robots.txt and crawl-delay, reads that markup and maps it to the fields below. Because it reads the markup rather than the page layout, one Actor works across many sites and keeps working through redesigns. Give it a list of URLs, or a start page and let it crawl links on the same site.

## Example output

A real record from a test run on muji.us on 2026-11-06. Fields the page didn't publish are left out here; the Actor returns them as `null`. The same test also read deathwishcoffee.com.

```json theme={null}
{
  "url": "https://www.muji.us/products/body-fit-cushion",
  "type": "Product",
  "name": "Body Fit Cushion (Cover sold separately)",
  "description": "Note: This product does not include the Body Fit Cushion Cover. To purchase both (Body Fit Cushion + Cover Set), please press \"Add selected to cart\". Its squared-off shape offers greater support by cushioning where it’s needed most. The microbead filling offers a high degree of softness, support,…",
  "sku": "4549337244955",
  "brand": "MUJI",
  "image": [
    "https://www.muji.us/cdn/shop/products/4549337244955_org.jpg?v=1762441440&width=480"
  ],
  "price": 190,
  "priceCurrency": "USD",
  "availability": "InStock",
  "ratingValue": 4.7,
  "reviewCount": 72,
  "scrapedAt": "2026-11-06T07:02:12.654Z"
}
```

## Fields

| Field | Read from (schema.org) | Filled in latest test |
| - | - | - |
| `name` | `name` | 100% |
| `description` | `description` | 100% |
| `sku` | `sku`, `mpn` | 100% |
| `gtin` | `gtin13`, `gtin12`, `gtin`, `gtin14`, `gtin8` | 0% |
| `brand` | `brand.name`, `brand` | 75% |
| `image` | `image.url`, `image` | 100% |
| `price` | `offers.price`, `offers.lowPrice`, `offers.priceSpecification.price` | 100% |
| `priceCurrency` | `offers.priceCurrency`, `offers.priceSpecification.priceCurrency` | 100% |
| `availability` | `offers.availability` | 100% |
| `ratingValue` | `aggregateRating.ratingValue` | 50% |
| `reviewCount` | `aggregateRating.reviewCount`, `aggregateRating.ratingCount` | 50% |
| `category` | `category` | 0% |
| `url` | the page the record came from | 100% |
| `scrapedAt` | ISO timestamp of the extraction | 100% |

A field is filled when the source publishes it. The Actor never guesses a value: a missing field comes back as `null`. "Filled in latest test" is the share of records from the latest test run (muji.us and deathwishcoffee.com) that had the field; other sources publish more or less.

## Pricing

You pay $1.50 per 1,000 results, plus a start fee of $0.00005 per run. Pages without `Product` markup produce a free error item instead of a record.

| Results | Cost |
| - | - |
| 1,000 | \$1.50 |
| 10,000 | \$15.00 |
| 100,000 | \$150.00 |

Set `maxItems` or the run's **Maximum cost per run** in Apify to cap spending.

## API

Every Apify Actor is also a REST endpoint, so Product Data API & Scraper works as a product data API, an e-commerce product API or a price API. Call it from any language with the Apify REST API, or with Apify's JavaScript and Python clients. You need an Apify API token.

### Product data API request

```bash theme={null}
curl -s -X POST "https://api.apify.com/v2/acts/rocketyard~product-schema-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H 'content-type: application/json' \
  -d '{"startUrls":[{"url":"https://www.adafruit.com/product/6534"}],"maxItems":100}'
```

```js theme={null}
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('rocketyard/product-schema-scraper').call({"startUrls":[{"url":"https://www.adafruit.com/product/6534"}],"maxItems":100});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

```python theme={null}
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("rocketyard/product-schema-scraper").call(run_input={"startUrls":[{"url":"https://www.adafruit.com/product/6534"}],"maxItems":100})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

The synchronous endpoint returns the records directly. For long crawls, start the run asynchronously and read the dataset when it finishes.

## MCP

Apify's MCP server exposes this Actor as a tool to Claude, Cursor and other MCP clients. [Open this Actor's MCP setup page](https://mcp.apify.com?tools=rocketyard/product-schema-scraper) for setup steps per client, or connect it with this URL:

```text theme={null}
https://mcp.apify.com?tools=rocketyard/product-schema-scraper
```

Claude Code:

```bash theme={null}
claude mcp add --transport http apify "https://mcp.apify.com?tools=rocketyard/product-schema-scraper"
```

Cursor (`.cursor/mcp.json`) and other clients that read an `mcpServers` config:

```json theme={null}
{
  "mcpServers": {
    "apify": { "url": "https://mcp.apify.com?tools=rocketyard/product-schema-scraper" }
  }
}
```

On first use your browser opens so you can sign in to Apify. Then ask the agent, for example: "Get current prices and stock from competitor shops without maintaining one scraper per site". The tool returns JSON records, and the runs are billed to that Apify account at \$1.50 per 1,000 results.

## Automation

n8n, Make and Zapier all connect to Apify. Each example below uses Actor `rocketyard/product-schema-scraper` with this input:

```json theme={null}
{
  "startUrls": [
    {
      "url": "https://www.adafruit.com/product/6534"
    }
  ],
  "maxItems": 100
}
```

### n8n

Copy this workflow and paste it onto an n8n canvas. It runs the Actor every morning through an HTTP Request node and returns the records as n8n items.

```json theme={null}
{
  "name": "Product Data API & Scraper daily",
  "nodes": [
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "days",
              "daysInterval": 1,
              "triggerAtHour": 7
            }
          ]
        }
      },
      "id": "c1f6a2d0-4a57-4b5e-9d7a-0a1b2c3d4e01",
      "name": "Every day at 07:00",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/acts/rocketyard~product-schema-scraper/run-sync-get-dataset-items",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpBearerAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"startUrls\": [\n    {\n      \"url\": \"https://www.adafruit.com/product/6534\"\n    }\n  ],\n  \"maxItems\": 100\n}",
        "options": {
          "timeout": 300000
        }
      },
      "id": "c1f6a2d0-4a57-4b5e-9d7a-0a1b2c3d4e02",
      "name": "Run Product Data API & Scraper",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        260,
        0
      ],
      "credentials": {
        "httpBearerAuth": {
          "name": "Apify API token"
        }
      }
    }
  ],
  "connections": {
    "Every day at 07:00": {
      "main": [
        [
          {
            "node": "Run Product Data API & Scraper",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {}
}
```

Then open the HTTP Request node and create an **HTTP Bearer Auth** credential named `Apify API token`, with your token from [Apify Console](https://console.apify.com/settings/integrations) as the bearer token. The token stays in n8n's credential store; the workflow only names the credential. Change the input in the node's JSON body to your own.

The node waits up to 300 seconds, which is also the limit of Apify's synchronous endpoint. An input that yields nothing comes back as an item with an `error` field, which you can drop with a Filter node. Apify also publishes a community node, `@apify/n8n-nodes-apify`, with a **Run an Actor and get dataset** operation.

### Make

1. Add Apify's **Run an Actor** module and connect your Apify account.
2. Choose `rocketyard/product-schema-scraper`, paste the input above and set **Run synchronously** to **Yes**. Make limits how long a synchronous run can take, depending on your plan. For longer runs, start the scenario from **Watch Actor Runs** instead.
3. Add **Get Dataset Items** with the run's default dataset ID.
4. Send the items wherever you need them, for example with Google Sheets **Add a Row**, mapping `name`, `description`, `sku` and `gtin`.

### Zapier

1. Add Apify's **Run Actor** action, connect your Apify account, choose `rocketyard/product-schema-scraper` and paste the input above.
2. Zapier stops synchronous runs after 30 seconds. For anything larger than a small run, let the run continue in the background and start a second Zap from the **Finished Actor run** trigger.
3. Add **Fetch dataset items** with the run's dataset ID, then map `name`, `description`, `sku` and `gtin` into your app.
4. Test with a small input and check that the Zap handles every record before you turn it on.

## Limits

* Pages without schema.org `Product` markup return no record.
* Markup added only by JavaScript in the browser is not read: the Actor reads the HTML the server sends.
* Pages behind a login or paywall are not accessed, and paths that robots.txt disallows are skipped.

## FAQ

### How much does it cost?

$1.50 per 1,000 results plus $0.00005 per run, billed by Apify. 10,000 results cost \$15.00. There is no subscription, and you can cap any run with **Maximum cost per run**.

Your Apify plan sets your discount tier (Platinum and Diamond are enterprise tiers):

| Tier | Per 1,000 results |
| - | - |
| Free | \$1.50 |
| Bronze | \$1.50 |
| Silver | \$1.20 |
| Gold | \$0.98 |
| Platinum | \$0.98 |
| Diamond | \$0.98 |

### How do I call it from the API?

One request starts a run and returns its results, using your [Apify API token](https://console.apify.com/settings/integrations):

```bash theme={null}
curl -X POST "https://api.apify.com/v2/acts/rocketyard~product-schema-scraper/run-sync-get-dataset-items" -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d '{"startUrls":[{"url":"https://www.adafruit.com/product/6534"}],"maxItems":100}'
```

### What happens when a URL fails?

The dataset gets one free error item for it, with a code and the reason, and the other inputs in the run carry on. [Error codes](https://rocketyard.dev/errors.md) explains each code, whether a retry helps and what to do.

### Which websites does it work on?

Any public page that publishes schema.org `Product` data in its HTML. Most modern sites add it for Google rich results.

### What happens when a field is missing?

The field comes back as `null`. The Actor reports what the source publishes and never fills in guesses.

### Is it allowed to scrape this data?

The Actor reads public pages only, obeys robots.txt and crawl-delay, doesn't log in or bypass protections, and doesn't collect people's profiles, personal emails or personal phone numbers. You are responsible for how you use the data under each site's terms and the law (for example copyright and GDPR).

### Can I use it from an AI agent?

Yes. Connect Apify's MCP server as shown in [MCP](#mcp), and the agent can call the Actor as a tool.

## Alternatives

See [how it compares with other product scrapers](https://rocketyard.dev/product-schema-scraper-alternatives.md) on price, users and run success, from Apify Store data. Need a field or site behaviour that isn't covered? Open an issue on the [Actor page](https://apify.com/rocketyard/product-schema-scraper).

## Guides

* [Get product prices and stock from a store's schema.org data](https://rocketyard.dev/product-prices-stock-schema-org.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.