# Shopify Products Scraper & API: Prices, Stock, Changes (`striped_tailgate/shopify-fast-json-delta-scraper`) Actor

Get products from any public Shopify store as flat JSON: title, price, compare-at price, discount, SKU, stock, vendor, link. Marks price drops, price increases, sold out and back in stock since your last run. No browser, no login.

- **URL**: https://apify.com/striped_tailgate/shopify-fast-json-delta-scraper.md
- **Developed by:** [hyoensu kim](https://apify.com/striped_tailgate) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 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/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

## Shopify Products Scraper & API: Prices, Stock, Changes

Get products from any public Shopify store as flat JSON: title, price, compare-at price, discount, SKU, stock, vendor, link. Marks price drops, price increases, sold out and back in stock since your last run. No browser, no login.

### When to use it

- You need the product catalog, prices or stock of one or more Shopify stores.
- You track competitor prices and want only what changed since the last check.
- An AI agent must answer questions like "Which Allbirds sneakers are on sale right now?" from live data.

### Use it from an AI agent (MCP)

Connect the Apify MCP server (`https://mcp.apify.com`) to Claude, Cursor or any MCP client, then add this Actor (`striped_tailgate/shopify-fast-json-delta-scraper`). It returns a flat JSON list with the same keys on every row, so an agent can answer from it directly. Keep `max_items` small for chat answers; you pay only for rows returned.

**Ask:** "Which products at allbirds.com are discounted by 20% or more?" → call with:

```json
{
  "storeUrls": [
    "https://www.allbirds.com"
  ],
  "minDiscountPercent": 20,
  "maxItems": 20
}
```

**Ask:** "What changed in price or stock at tentree.com since yesterday?" → call with:

```json
{
  "storeUrls": [
    "https://www.tentree.com"
  ],
  "only_new_or_changed": true,
  "maxItems": 25
}
```

### Input

| Field | Type | Default | What it does |
| --- | --- | --- | --- |
| `storeUrls` | array | \["https://www.allbirds.com", "https:/… | Store names or addresses, one per line. Examples: allbirds.com, https://www.tentree.com, or a collection link such as https://www.allbirds.com/collections/mens-sneakers. A bare name like gymshark is tried as gymshark.myshopify.com and gymshark.com. Invalid entries are skipped with a note in the log. |
| `collection` | string |  | Only read this collection, using its handle from the store URL (for example mens-sneakers or sale). Leave empty to read the whole catalog. Applies to every store listed above. |
| `keywords` | array |  | Keep only products whose title, brand, product type or tags contain at least one of these words (not case sensitive). Example: sneaker, runner. |
| `onlyInStock` | boolean | false | Skip products that are sold out. |
| `minDiscountPercent` | integer | 0 | Keep only products that are on sale by at least this percentage (compared with the store's own 'compare at' price). 0 means no filter. |
| `only_new_or_changed` | boolean | false | Off (default): every matching product is returned. On: return only products that are new, changed price, or changed stock since the previous run. The first run of a store only saves a baseline. Change tracking is updated on every run either way. |
| `maxProductsPerStore` | integer | 50 | Stop reading a store after this many matching products. |
| `maxItems` | integer | 25 | Upper limit of records returned (and billed) in one run across all stores. |

Running with the defaults works and returns real data:

```json
{
  "storeUrls": [
    "https://www.allbirds.com",
    "https://www.tentree.com"
  ],
  "onlyInStock": false,
  "minDiscountPercent": 0,
  "maxProductsPerStore": 50,
  "maxItems": 25
}
```

### Output

| Key | Meaning |
| --- | --- |
| `store_domain` | Store domain |
| `title` | Product title |
| `vendor` | Brand / vendor |
| `product_type` | Product type set by the store |
| `sku` | SKU of the variant whose price is shown |
| `price` | Current price (number) |
| `compare_at_price` | The store's 'compare at' (original) price, or null |
| `discount_pct` | Discount versus compare-at price in percent, or null |
| `currency` | Currency code |
| `in_stock` | true when at least one variant is available |
| `variants_count` | Number of variants |
| `url` | Product page link |
| `change_type` | BASELINE, NEW, PRICE_DROP, PRICE_INCREASE, OUT_OF_STOCK, BACK_IN_STOCK, UPDATED or UNCHANGED |
| `previous_price` | Price in your previous run when it changed, else null |
| `delta_pct` | Price change in percent versus your previous run, or null |
| `actionable_summary` | One-line English summary of the row |

One real row from a recent run (long text shortened):

```json
{
  "store_domain": "www.allbirds.com",
  "product_id": "3703864655952",
  "title": "Trino® Hiders - Onyx",
  "handle": "trino-hiders-onyx",
  "vendor": "Allbirds",
  "product_type": "Socks",
  "tags": "allbirds::carbon-score => 1.18, allbirds::cfId => color-trino-hiders-onyx, allbirds::complete => true, allbirds::edition => limited, allbirds::gender => unis...",
  "sku": "SH1UONX101",
  "price": 3,
  "compare_at_price": 12,
  "discount_pct": 75,
  "currency": "USD",
  "in_stock": false,
  "variants_count": 4,
  "image_url": "https://cdn.shopify.com/s/files/1/1104/4168/files/SocksLaunch19_PDP_global_trino_hiders_steel_023-1600_fd028c0e-62bd-4d68-abb0-47004991bfb7.png?v=1776210793",
  "created_at": "2019-08-07T16:56:04-07:00",
  "published_at": "2026-11-20T10:33:33-08:00",
  "updated_at": "2026-11-22T08:45:51-08:00",
  "url": "https://www.allbirds.com/products/trino-hiders-onyx",
  "change_type": "BASELINE",
  "previous_price": null,
  "delta_pct": null,
  "urgency_score": 1,
  "actionable_summary": "First time this store is tracked: Trino® Hiders - Onyx at 3.00 USD",
  "extraction_tier": "tier1_products_json",
  "scraped_at": "2026-11-22T16:45:51.097785+00:00"
}
```

### Change tracking

The Actor remembers what it returned last time (per company/store/token) and labels every row in `change_type`:

- `BASELINE`: first run for this store: everything is recorded as the starting point
- `NEW`: product not seen in your previous run
- `PRICE_DROP`: price went down (`previous_price`, `delta_pct`)
- `PRICE_INCREASE`: price went up
- `OUT_OF_STOCK`: was available, now sold out
- `BACK_IN_STOCK`: was sold out, now available
- `UPDATED`: the store edited the listing (its updated_at changed) without a price or stock change
- `UNCHANGED`: same as last time

Turn on `only_new_or_changed` to get only the rows that changed. Schedule it (Apify Schedules) for a daily or hourly feed.

### Pricing

Pay per event: **$0.001 per run** plus **$0.0009 per product returned**. You are charged only for rows actually returned. Apify free-plan accounts can try it with their monthly free platform credits.

For reference, comparable scrapers in the Apify Store list about $0.001 per record (checked 2026-11); this Actor is priced slightly below that, and a failed or empty run is not charged for records.

| Products returned | Cost per run |
| --- | --- |
| 10 | $0.010 |
| 25 (default run) | $0.024 |
| 100 | $0.091 |
| 1,000 | $0.901 |

### Limits

- Works on stores that run on Shopify and keep the public products JSON open; a store that blocks it is skipped with a log line.
- Removed products are not reported as rows; they simply stop appearing.
- Exact inventory counts are not available; `in_stock` is true or false.
- The `tags` text is passed through as the store wrote it and can be long.

### FAQ

**What do I put in Stores?**

A store name or address such as allbirds.com, or a collection link such as https://www.allbirds.com/collections/sale.

**Can an AI agent call it?**

Yes. Through the Apify MCP server it appears as a tool; the input fields above become the tool's parameters.

**How do I get only price and stock changes?**

Run it once to set the baseline, then schedule it with `only_new_or_changed` turned on.

### Data source

Each store's public Shopify product JSON (`/products.json`). No login, no browser, honest User-Agent, polite retries.

# Actor input Schema

## `storeUrls` (type: `array`):

Store names or addresses, one per line. Examples: allbirds.com, https://www.tentree.com, or a collection link such as https://www.allbirds.com/collections/mens-sneakers. A bare name like gymshark is tried as gymshark.myshopify.com and gymshark.com. Invalid entries are skipped with a note in the log.

## `collection` (type: `string`):

Only read this collection, using its handle from the store URL (for example mens-sneakers or sale). Leave empty to read the whole catalog. Applies to every store listed above.

## `keywords` (type: `array`):

Keep only products whose title, brand, product type or tags contain at least one of these words (not case sensitive). Example: sneaker, runner.

## `onlyInStock` (type: `boolean`):

Skip products that are sold out.

## `minDiscountPercent` (type: `integer`):

Keep only products that are on sale by at least this percentage (compared with the store's own 'compare at' price). 0 means no filter.

## `only_new_or_changed` (type: `boolean`):

Off (default): every matching product is returned. On: return only products that are new, changed price, or changed stock since the previous run. The first run of a store only saves a baseline. Change tracking is updated on every run either way.

## `maxProductsPerStore` (type: `integer`):

Stop reading a store after this many matching products.

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

Upper limit of records returned (and billed) in one run across all stores.

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.allbirds.com",
    "https://www.tentree.com"
  ],
  "onlyInStock": false,
  "minDiscountPercent": 0,
  "only_new_or_changed": false,
  "maxProductsPerStore": 50,
  "maxItems": 25
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "storeUrls": [
        "https://www.allbirds.com",
        "https://www.tentree.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("striped_tailgate/shopify-fast-json-delta-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 = { "storeUrls": [
        "https://www.allbirds.com",
        "https://www.tentree.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("striped_tailgate/shopify-fast-json-delta-scraper").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 '{
  "storeUrls": [
    "https://www.allbirds.com",
    "https://www.tentree.com"
  ]
}' |
apify call striped_tailgate/shopify-fast-json-delta-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,striped_tailgate/shopify-fast-json-delta-scraper"
        }
    }
}
```

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/elOm1dr13J85PAB52/builds/CtJzJpprOhMf5cboV/openapi.json
