# Shopping Feed vs Store Snapshot Checker (`settled_marzipan/store-snapshot-checker`) Actor

Compare two product exports by product ID and market, and flag price, currency and stock mismatches. No crawling, no logins, no API keys.

- **URL**: https://apify.com/settled_marzipan/store-snapshot-checker.md
- **Developed by:** [Andrew Shim](https://apify.com/settled_marzipan) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$100.00 / 1,000 delivered reports

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

## Shopping Feed vs Store Snapshot Checker

Compare two exports of the same catalog, for example your product feed and your storefront export, and get a list of every offer where the price, currency or stock status disagrees. Offers are matched by product ID and market. Nothing is crawled: the tool only reads the two lists you give it.

### Who it is for

Store owners, feed managers and agencies who already export their feed and their store catalog and want the differences listed before a mismatch gets an ad disapproved or a customer charged the wrong price.

### What you give it

| Field | Meaning |
|---|---|
| `feedCapturedAt`, `storeCapturedAt` | When each export was taken, as UTC time ending in Z, for example `2026-11-16T09:30:00Z`. |
| `feed`, `store` | Two lists of offers. Each offer has `id`, `market` (two letters, for example `US`), `currency` (for example `USD`), `price` as text with a period (for example `"29.90"`) and `availability`. |
| `maxAgeHours` | Oldest export you accept. Default 24. |
| `maxSkewMinutes` | Largest gap you accept between the two exports. Default 60. |
| `demo` | Tick this, or start the tool with nothing filled in, to see a free example built from made up data. Leave it off for your own data. |

Availability is one of `in_stock`, `out_of_stock`, `preorder`, `backorder`. Limits: 2,500 offers per list and 512 KiB of input.

```json
{
  "feedCapturedAt": "2026-11-16T09:30:00Z",
  "storeCapturedAt": "2026-11-16T09:31:00Z",
  "feed": [{ "id": "lamp-01", "market": "US", "currency": "USD", "price": "29.90", "availability": "in_stock" }],
  "store": [{ "id": "lamp-01", "market": "US", "currency": "USD", "price": "24.90", "availability": "out_of_stock" }]
}
```

### What you get back

One JSON report, saved as the run's `OUTPUT` record:

```json
{
  "status": "comparison_completed",
  "counts": { "feedRows": 1, "storeRows": 1, "comparable": 1, "same": 0, "different": 1, "skipped": 0 },
  "issues": [{ "type": "offer_mismatch", "id": "lamp-01", "market": "US",
    "differences": [{ "field": "price", "feed": "29.9", "store": "24.9" }, { "field": "availability", "feed": "in_stock", "store": "out_of_stock" }] }]
}
```

The same findings are also written to the run's dataset, one row each plus a summary row, so you can view them as a table or export them to CSV or Excel. Dataset rows are not charged.

Finding types: `offer_mismatch`, `missing_from_store_snapshot`, `missing_from_feed_snapshot`, `duplicate_key`, `invalid_key`, `invalid_values`, and for timing `stale_capture`, `future_capture`, `capture_skew`.

### How it decides

- Prices are compared as exact decimals, so `9.99` and `9.990` are the same and nothing is rounded.
- Prices in different currencies are never compared with each other. The currency difference is reported instead.
- A duplicated or invalid offer is reported and skipped. The tool does not guess which copy you meant.
- If an export is too old, dated in the future, or the two exports are too far apart, the comparison is skipped and the report says why.

### Pricing

Pay per event, one charge per delivered report. You are not charged for a demo run, for a run the tool refuses, or for a run where the exports were too old or no offer could be judged. A report with zero differences is still a report.

### Limits to know

- It reads only what you supply. It cannot prove what your live storefront showed at any moment.
- It does not change feeds, ads or prices, and it does not decide Google Merchant Center eligibility.
- Capture times are the ones you provide.
- Send catalog data only: no credentials and no customer details.

### FAQ

**Does it visit my store?** No. There is no crawling, no login and no API key.

**Can I schedule it?** Yes, with Apify schedules or the API, feeding it fresh exports each time.

**What if the same ID exists in several markets?** Offers are matched by ID and market together, so `lamp-01` in `US` and in `CA` are separate offers.

# Actor input Schema

## `demo` (type: `boolean`):

Generate an example without supplying any store data.

## `feedCapturedAt` (type: `string`):

UTC ISO 8601 timestamp with Z.

## `storeCapturedAt` (type: `string`):

UTC ISO 8601 timestamp with Z.

## `feed` (type: `array`):

JSON rows with id, market, currency, decimal price as a string, and availability.

## `store` (type: `array`):

Independent JSON observations with the same fields as feed offers.

## `maxAgeHours` (type: `integer`):

Maximum accepted capture age in hours.

## `maxSkewMinutes` (type: `integer`):

Maximum accepted time between captures in minutes.

## Actor input object example

```json
{
  "demo": false,
  "maxAgeHours": 24,
  "maxSkewMinutes": 60
}
```

# Actor output Schema

## `report` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("settled_marzipan/store-snapshot-checker").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("settled_marzipan/store-snapshot-checker").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 '{}' |
apify call settled_marzipan/store-snapshot-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,settled_marzipan/store-snapshot-checker"
        }
    }
}
```

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/mAL94OgKTfsxkF1EP/builds/TOMrgs1cJ9H1dz01i/openapi.json
