# Asda Scraper: Rollback Prices, Offers & Stock (`vant47/asda-price-scraper`) Actor

Get Asda prices for milk, coffee and categories: Rollback, dated offers, Rewards, GTIN barcodes, unit price, pack size, brand and store stock. Regional online prices with postcode context. $0.003 per product plus $0.004 per successful snapshot. No login. Scheduled UK grocery prices.

- **URL**: https://apify.com/vant47/asda-price-scraper.md
- **Developed by:** [fortbrand](https://apify.com/vant47) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Asda Scraper: Rollback Prices, Offers & Stock

For retail price analysts, brands, grocery comparison services and researchers monitoring Asda online prices. Collect the current regional price, published was-price, Rollback and Dropped labels, dated multibuy offers, unit price, package size, brand, source-labelled GTIN and published store availability. About **$0.003 per delivered product**: **20 products cost $0.06**, plus **$0.004 per successful snapshot** and a minimum **$0.00005 platform start charge**. No Asda account or retailer API key is required.

The common retail schema joins Tesco snapshots; overlapping sources are deduplicated.

### What you get

| Field | Meaning |
| --- | --- |
| `verdict` | Readable product, price, region and offer. |
| `retailer`, `country`, `currency` | Asda, GB and GBP. |
| `storeId`, `storeName` | Selected stock store; name may be null. |
| `location`, `requestedLocations` | Requested UK postcode context. |
| `productId`, `cin` | Asda CIN, used in the public product page address. |
| `sku` | Asda supplier or catalogue SKU, kept separately from CIN and barcode. |
| `gtin`, `gtinSource` | Valid explicit `c_EAN_GTIN` and provenance. |
| `title`, `detailTitle`, `brand` | Search catalogue name, product-detail name and source brand. |
| `size`, `packSize` | Published package size, preserved as text. |
| `price` | Current online price from the selected regional catalogue. |
| `regularPrice` | Published was-price, or null when no was-price is supplied. |
| `onSale`, `isDeal` | Whether the source reports a price offer, active promotion or applicable public reward. |
| `promoText`, `promoType` | Published offer wording and source offer classification. |
| `promoStart`, `promoEnd` | Main promotion timestamps, where the promotion supplies them. |
| `memberPrice`, `memberProgram` | Proven single-item member price and applicable programme. |
| `unitPrice`, `unitOfMeasure`, `unitPriceText` | Numeric source unit price, its unit and the displayed formatted amount. |
| `inStock` | Published availability for a selected store, with postcode restrictions explained below. |
| `stockLevel`, `sourceStockValue` | Quantity stays null; raw availability is separate. |
| `rating`, `reviewCount` | Published aggregate review rating and count. |
| `category`, `taxonomy` | Readable category path and the source category identifiers. |
| `url`, `imageUrl`, `scrapedAt` | Product page, image address and UTC observation time. |
| `rollbackPrice` | Current price when the regional source explicitly labels it Rollback. |
| `offerText`, `offerStart`, `offerEnd` | Retailer-specific aliases for the main offer fields. |
| `promotions` | Active offers: ID, wording, type, dates and open-ended flag. |
| `rewards` | Applicable reward type, raw value and dates. |
| `priceRegion`, `priceScope`, `priceStoreVerified` | Regional online price selection and explicit verification scope. |
| `availabilityScope`, `availabilityPostcodeVerified` | Scope of the stock observation and whether a postcode serving store was established. |
| `details` | Optional product-label ingredients, nutrition, allergy advice, storage, cooking information and catalogue metadata. |
| `sourceType`, `sourceInput`, `sourceUrl` | How the product was selected and its first-party source. |

Absent source fields stay null. Product rows carry `recordType: "PRODUCT"`. Explanations carry `recordType: "NOTE"` and have no product charge. The overview dataset view puts price, was-price, offer, membership price, unit price and store together. The deals view emphasizes offer wording and dates. The `DEALS` JSON output contains only delivered products carrying offers, while `SUMMARY` records totals, input outcomes, duplicate exclusions, price coverage, notes and spending-limit stops.

### Understand region, postcode and store

Choose the published regional price with `priceRegion`: England `EN` (default), Northern Ireland `NI`, Scotland `SC` or Wales `WA`. Prices have `priceScope: "online"` and `priceStoreVerified: false`; a regional amount does not establish a physical shop's price.

The signed-out website uses stock store `4565`. That is the Actor default unless you supply `storeIds`. An explicit store changes the stock field read, independently of the regional price. A stock value such as 999 is an availability signal, not a shelf quantity: `stockLevel` stays null and `stockValueIsQuantity` is false.

`locations` retains UK postcodes as context. One postcode populates `location`; several remain in `requestedLocations` without multiplying the same observation. They do not establish a delivery serving store, so `availabilityPostcodeVerified` is false. Postcode requests without an explicit stock store leave `inStock` null while retaining the default flag in `catalogueInStock`.

### Start in three steps

1. Enter search terms, exact CIN product numbers or supported Asda page links.
2. Choose a regional online catalogue, a result cap and optional product details.
3. Run, inspect SUMMARY, then export the dataset as JSON, CSV or Excel.

The form prefill searches milk, retains postcode SW1A 1AA and delivers up to 20 products. At the base price that is at most $0.06405 including its successful-snapshot fee and minimum platform start charge. Barcodes are enriched from the public product-detail field on every run. Optional label details add no product fee.

### Inputs

| Input | Behaviour |
| --- | --- |
| `region` | UK. Kept compatible with the retail family input structure. |
| `searchTerms` | A list of terms such as milk, coffee, rice or chicken. |
| `startUrls` | HTTPS Asda grocery product, search, category or offer links. |
| `productIds` | Asda CIN product numbers, for example `538241`. |
| `locations` | Full UK postcodes retained as context, not verified serving-store selection. |
| `storeIds` | Asda stock-store numbers; default is the website's anonymous stock store 4565. |
| `priceRegion` | EN, NI, SC or WA; EN by default. |
| `maxItemsPerSearch` | New rows per source/store; default 20, maximum 5,000. |
| `maxItems` | Global unique product/store limit; default 20, maximum 10,000. |
| `dealsOnly` | Keep rows with an active source promotion, price-offer label or applicable public reward. |
| `includeDetails` | Add available product-label and catalogue details at no extra product fee. |
| `includeUnpriced` | Off by default; unpriced rows without dated offers are free and count towards caps. |
| `proxyConfiguration` | Default datacenter proxy first, with GB residential fallback after refusal. Explicit disable, country, groups and custom proxy URLs are retained. |

Use canonical caps: `maxResults` and similar aliases are not interpreted. URLs and product IDs need no keyword. Caps are ceilings, not promises of matching products.

A daily price basket:

```json
{
  "searchTerms": ["milk", "bread", "coffee"],
  "priceRegion": "EN",
  "maxItemsPerSearch": 20,
  "maxItems": 60
}
```

A category observation using the source's numeric aisle identifier:

```json
{
  "startUrls": ["https://www.asda.com/groceries/chilled-food/milk/1215339434886"],
  "maxItemsPerSearch": 100,
  "maxItems": 100
}
```

Use category links ending in Asda's numeric category, department, aisle or shelf ID. Top-level grocery categories such as `/groceries/chilled-food`, `/groceries/food-cupboard` and `/groceries/frozen-food` are also supported. Unsupported deep slugs receive a free note.

For a Rollback observation:

```json
{
  "startUrls": ["https://www.asda.com/groceries/rollback"],
  "dealsOnly": true,
  "maxItemsPerSearch": 100,
  "maxItems": 100
}
```

For exact products with label details:

```json
{
  "productIds": ["6458094", "9407782"],
  "priceRegion": "EN",
  "includeDetails": true,
  "maxItems": 2
}
```

### Prices, multibuys and rewards

`price` is the current single-product regional amount. `regularPrice` uses the supplied was-price and stays null when none is published. The Actor creates no historical price from the current price.

“Any 4 for £5” remains promotion wording; its basket total does not replace one product's price. Meal deals retain their conditions. `promotions` contains active source offers for the selected region. Catalogue listing dates never populate promotion dates. Distant end dates are preserved and marked `openEnded`; Rollback and Dropped labels without supplied offer dates keep null date fields.

Asda Rewards may advertise a reward rather than a checkout discount. Its type, raw value and dates are retained only when the stock store satisfies published eligibility. The raw value has no assumed currency unit and is not subtracted from `price`. `memberPrice` stays null without evidence of a single-item member price.

### Pricing and spending limits

| Products | Base | Bronze | Silver | Gold |
| --- | --- | --- | --- | --- |
| 20 | $0.0600 | $0.0570 | $0.0540 | $0.0480 |
| 100 | $0.3000 | $0.2850 | $0.2700 | $0.2400 |
| 1,000 | $3.0000 | $2.8500 | $2.7000 | $2.4000 |

Add $0.004 per successful snapshot and the minimum $0.00005 platform start charge. Product prices are $0.003 base, $0.00285 Bronze, $0.0027 Silver and $0.0024 Gold. Details have no additional fee.

A product charge requires a numeric price or active dated promotion. Other rows are excluded by default or delivered free through `includeUnpriced`. Empty matches, missing products, duplicates, notes and retries have no product fee. Empty snapshots have no snapshot fee; the platform minimum can apply.

Before delivering the first useful row, both its snapshot and product charges must fit the spending allowance. Later rows require the product charge only. SUMMARY records a spending stop. Saved rows and acknowledged charges are reconciled after reboot.

### Monitor prices every day

Save a task with stable CINs, category IDs or search terms. In Apify Console, create a schedule, select that task, choose the frequency and timezone, then connect a completed-run webhook. Each run reads fresh observations. Join snapshots using `country + priceRegion + storeId + productId`, retaining `scrapedAt`.

Keep ordinary price, was-price, unit price and promotion conditions separate. Retain scope fields in availability reports. SUMMARY distinguishes `no-matches` from source failure; neither should be replaced with an old price labelled current.

Make, Zapier, n8n, Sheets and databases can consume the dataset and SUMMARY. Preserve barcodes as text so leading zeros survive, and distinguish null availability from false. Repeat snapshots to build your own history.

### API and automation

Start a run with your Apify token, then retrieve its dataset and SUMMARY.

```bash
curl -X POST 'https://api.apify.com/v2/acts/vant47~asda-price-scraper/runs' \
  -H 'Authorization: Bearer YOUR_APIFY_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"searchTerms":["milk"],"maxItems":20,"priceRegion":"EN"}'
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("vant47/asda-price-scraper").call(
    run_input={"searchTerms": ["milk"], "maxItems": 20}
)
rows = list(client.dataset(run["defaultDatasetId"]).iterate_items())
summary = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("SUMMARY")
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('vant47/asda-price-scraper').call({
  searchTerms: ['pizza'], dealsOnly: true, maxItems: 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### Use with AI agents (MCP)

Connect to `https://mcp.apify.com` and request Asda prices, Rollbacks, dated offers, unit prices, barcodes and published stock. Supply the region, terms or products and a cap. Ask the agent to read SUMMARY, retain nulls and keep multibuy totals separate from single-item prices. Postcode availability claims require checking `availabilityPostcodeVerified`.

### Observed results

On 13 November 2026, the form prefill returned 20 products and 20 valid GTINs in 12.055 seconds. A run delivered 1,200 unique priced products with 225 dated promotions. Its GTIN coverage was 100%. These observations describe those runs; source availability can change.

Example from the prefill:

```json
{
  "retailer": "Asda",
  "productId": "538241",
  "sku": "23423",
  "gtin": "20411985",
  "title": "British Milk Semi Skimmed 2 Pints",
  "price": 1.3,
  "unitPrice": 1.15044,
  "unitOfMeasure": "LT",
  "priceRegion": "EN",
  "priceScope": "online",
  "availabilityPostcodeVerified": false
}
```

### Limits

This independent tool reads public product data. Accounts, orders, baskets, personalized rewards and delivery slots are outside coverage. Regional online prices do not establish a physical shop's price or a postcode's serving delivery store. Stock flags are not audited quantities.

GTIN stays null when its explicit source field is missing or fails the check digit. Image names, CINs and SKUs never supply barcodes. Label details vary by product. Rewards do not imply a checkout discount, and distant offer dates remain marked open-ended.

Weighted checkout totals, substitutions, delivery charges, unpublished local reductions and historical backfill are unavailable. Catalogues and access can change. Paced retries and SUMMARY expose final failures; future access cannot be guaranteed.

### FAQ

**Are CIN and SKU barcodes?** No. CIN identifies the public Asda product; SKU is kept separately. GTIN uses the explicitly labelled product barcode field and a valid check digit.

**Does a postcode choose the delivery store?** No. It is requested context. Choose a store number for a published store stock flag and select the regional price independently.

**Does a multibuy change price?** The basket total stays in promotion wording. `price` remains the single-product regional amount.

**What happens after a reboot?** Saved observations are deduplicated and their acknowledged charges are reconciled before collection continues.

**How do I build history?** Schedule runs and store snapshots with the product/store/region key and timestamp.

# Actor input Schema

## `region` (type: `string`):

UK grocery catalogue, priced in GBP.

## `searchTerms` (type: `array`):

Search milk, coffee, chicken or another product. Leave empty when supplying only URLs or CIN product numbers.

## `startUrls` (type: `array`):

HTTPS Asda search, product or category URLs. Category links should end in their numeric Asda category ID, or use a supported top-level grocery category.

## `productIds` (type: `array`):

Asda CIN product numbers such as 538241. CIN and supplier SKU numbers are separate from barcodes.

## `locations` (type: `array`):

Requested UK postcodes, retained as context. They do not select a serving store or local price. inStock stays null unless explicit storeIds are supplied. Set priceRegion independently.

## `storeIds` (type: `array`):

Asda store numbers used for published catalogue stock flags, such as 4565. Default is the anonymous website stock store 4565. Online prices are regional, not verified store-specific prices.

## `maxItemsPerSearch` (type: `integer`):

Maximum new rows from each source at each selected store, after duplicates are removed.

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

Global unique product/store limit. $0.003 per priced product plus $0.004 per successful snapshot and a minimum $0.00005 platform start charge. Twenty products cost about $0.064.

## `dealsOnly` (type: `boolean`):

Keep products carrying source promotions. Clubcard multi-buy totals remain in offer text and are not treated as single-item prices.

## `includeDetails` (type: `boolean`):

Add public product-label ingredients, nutrition, allergy advice, storage and cooking instructions, plus dietary flags and all regional prices. Source-labelled GTIN enrichment is included in every run. No additional product fee.

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

Default datacenter selection first, then GB residential only after refusal. Explicit disable, country, groups or custom URLs are preserved.

## `priceRegion` (type: `string`):

EN England (default), NI Northern Ireland, SC Scotland, WA Wales. This selects the source regional price; a postcode does not silently change it.

## `includeUnpriced` (type: `boolean`):

Off by default. When enabled, catalogue rows without a numeric price or an active dated promotion are delivered free and count towards the result cap.

## Actor input object example

```json
{
  "region": "UK",
  "searchTerms": [
    "milk"
  ],
  "locations": [
    "SW1A 1AA"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20,
  "dealsOnly": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "priceRegion": "EN",
  "includeUnpriced": false
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `dealsView` (type: `string`):

No description

## `dealsOnly` (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 = {
    "searchTerms": [
        "milk"
    ],
    "locations": [
        "SW1A 1AA"
    ],
    "maxItemsPerSearch": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("vant47/asda-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 = {
    "searchTerms": ["milk"],
    "locations": ["SW1A 1AA"],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("vant47/asda-price-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 '{
  "searchTerms": [
    "milk"
  ],
  "locations": [
    "SW1A 1AA"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20
}' |
apify call vant47/asda-price-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vant47/asda-price-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/24XdKoU8gVTy4rypU/builds/DC5W5hld31JIbeYUL/openapi.json
