# Shopify Public Catalog Delta — Prices & Variants (`mastercreator_ai/shopify-public-catalog-watch`) Actor

Diferenças por produto e variante; disponibilidade omitida permanece nula.

- **URL**: https://apify.com/mastercreator_ai/shopify-public-catalog-watch.md
- **Developed by:** [MasterCreator AI](https://apify.com/mastercreator_ai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

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 Public Catalog Delta — Prices & Variants

Track Shopify store catalogs: products, variants, prices and availability from public products.json, with per-variant changes between runs.

Built for: Brands, resellers and catalog analysts.

### Access and cost

**No residential IP, proxy service, browser, paid data API, cookies or login required.**
The Actor makes direct public HTTP(S) requests from its execution host. A blocked
source produces a source error, with no proxy upgrade or paid fallback. Apify
compute and storage usage still apply. This does not guarantee every website
will accept a cloud IP. Use endpoints where you have permission to read data.

### Example input

```json
{
  "urls": [
    "https://www.allbirds.com"
  ],
  "maxItems": 20,
  "maxRequests": 12
}
```

The target list is explicit; this Actor does not discover every site or account.
URLs on example.com are placeholders: replace them before a live run.
For object lists: boards use vendor + slug; dependencies use ecosystem + name +
exact version; series use country + indicator. Unknown fields are rejected.

### Output

One dataset row per record: `id`, `title`, `sourceUrl`, `data`, `status`, `change`,
`observedAt`. On update, `previousData` contains the previous payload.
`reviewSignals` contains supported comparison hints; it is not a complete audit.
The key-value store record `OUTPUT` contains request counts, source errors,
emitted record count and completeness. An empty result can be legitimate.

### Change tracking

Set `historyStoreName` to a unique name, then reuse it for subsequent sequential
runs. `onlyChanges: true` suppresses unchanged rows. The first run emits
`baseline`, subsequent rows are `new`, `updated` or `unchanged`. Optional
`detectRemovals` only emits `removed` when both snapshots are complete.
Failed sources preserve their last successful snapshot. Rolling feeds never
prove removal. Do not overlap runs sharing a history name; there is no lock.
Different query settings get separate baselines. Named storage persists and
may consume storage credits. Without a history name each run is a new snapshot.

### Limits

Requires a public /products.json. Does not return real stock quantities. Some stores block requests; no proxy fallback.

Only public HTTP(S) URLs on ports 80/443 are accepted. DNS answers and every
redirect are checked; connections use the validated IP with normal TLS hostname
verification. Private and metadata addresses are refused. Responses are capped
at 8 MB. No HTML JavaScript is executed. The HTTP client ignores proxy environment
settings and has no residential-proxy integration.

Default budget: 60 requests, 100 output records, 3 pages per source, 20 seconds
per request, and 300 seconds of HTTP runtime. Calls are sequential with a minimum
500 ms interval. Only transient failures are retried, up to three attempts.
The source can impose smaller anonymous quotas.

### Run locally

Python 3.12+ is recommended. The local runner uses only the standard library:

```shell
python -m src --local --input example-input.json --output local-output
```

For the SDK/cloud entry point, install `requirements.txt` then run
`python -m src`. The Dockerfile performs this installation at build time.

### Publication status

This is a prepared project, not an already published Actor. Check the collection's
validation report for actual fixture and live verification. Before Store launch,
build and run in Apify, use a verified output as sample output, add a logo and set
pricing. There is no configured pay-per-event charge in this code. Start with
usage-based testing; a paid price needs measured per-record cost and demand.

Official source/reference: https://shopify.dev/docs/api/ajax

# Actor input Schema

## `urls` (type: `array`):

Public targets to read. No login, cookies or proxies. See example JSON and README.

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

Global per-run cap, including removal records.

## `maxRequests` (type: `integer`):

Includes retries, redirects and API POST queries.

## `maxPages` (type: `integer`):

Max Pages.

## `timeoutSeconds` (type: `integer`):

Timeout Seconds.

## `maxRunSeconds` (type: `integer`):

Max Run Seconds.

## `requestIntervalMs` (type: `integer`):

Request Interval Ms.

## `historyStoreName` (type: `string`):

Optional 1-56 letters, digits, hyphens. Reuse the same name across sequential runs; use different names for separate watches. Named storage persists and can consume storage credits.

## `onlyChanges` (type: `boolean`):

Requires historyStoreName. First run emits baseline records.

## `detectRemovals` (type: `boolean`):

Disabled for rolling feeds and incomplete snapshots. Use sequential runs, without overlap.

## Actor input object example

```json
{
  "urls": [
    "https://www.allbirds.com"
  ],
  "maxItems": 100,
  "maxRequests": 60,
  "maxPages": 3,
  "timeoutSeconds": 20,
  "maxRunSeconds": 300,
  "requestIntervalMs": 500,
  "onlyChanges": false,
  "detectRemovals": false
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "urls": [
        "https://www.allbirds.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mastercreator_ai/shopify-public-catalog-watch").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 = { "urls": ["https://www.allbirds.com"] }

# Run the Actor and wait for it to finish
run = client.actor("mastercreator_ai/shopify-public-catalog-watch").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 '{
  "urls": [
    "https://www.allbirds.com"
  ]
}' |
apify call mastercreator_ai/shopify-public-catalog-watch --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mastercreator_ai/shopify-public-catalog-watch"
        }
    }
}
```

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/r3F2PBZRTlIEykiZZ/builds/vP7Fdl8rVg3RwRZIg/openapi.json
