Trolley Grocery Price Scraper avatar

Trolley Grocery Price Scraper

Pricing

from $3.00 / 1,000 products

Go to Apify Store
Trolley Grocery Price Scraper

Trolley Grocery Price Scraper

Compare UK grocery prices from Trolley.co.uk. Search, categories, product pages, and deals with retailer prices and weekly history. HTTP, no browser.

Pricing

from $3.00 / 1,000 products

Rating

0.0

(0)

Developer

Andrej Kiva

Andrej Kiva

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Share

Disclaimer: Unofficial tool — not affiliated with, sponsored by, or endorsed by Trolley.co.uk or its affiliates. Data is read from publicly accessible search results, category lists, product pages, and deal lists only. No login. You are responsible for complying with applicable law (including GDPR where personal data appears) and the site’s terms. No warranty on accuracy or availability. Provided for informational and research use.

UK grocery price comparison in one row: the best listed price, unit price, and — on a category or product page — each supermarket’s price side by side. This Trolley scraper is an API alternative for basket checks and deal monitoring. Paste a keyword, a category slug, or a product URL. Run it from Python, Node.js, or MCP and export JSON.

UK price comparisonUS weekly adEU leafletsUS grocery
Trolley Grocery Price Scraper ◄── you are hereAldi Weekly Ad ScraperLidl Weekly Offers ScraperWalmart Scraper

When to use

  • Compare one grocery product across UK supermarkets
  • Export a search page of best prices and unit prices
  • Pull a category such as milks with the shops that stock each product
  • Watch a retailer’s current deals, including the price before the cut

Use a grocery circular Actor when you need a weekly ad rather than a live comparison.

Key features

  • Search, category, product URL, and deals modes
  • Best price, unit price, pack size, brand, and review count
  • Nested retailer prices and offer text on category and product rows
  • Weekly best-price series on a product page
  • Deal cards with the previous price and the retailer
  • HTTP fetch, 256 MB, no browser

Input

FieldRequiredDescription
modeYessearch, category, product, or deals
queriesFor searchKeywords such as milk
categorySlugsFor categorySlug such as milks
productUrlsFor productProduct URL that includes the slug and the product id
storeFor dealsAsda, Sainsbury's, Morrisons, Co-op, Iceland, Boots, Superdrug, Savers, Amazon, or Ebay
maxItemsNoStop after this many products. Default 20, maximum 500
maxPagesNoPages per keyword, category, or deals list. Default 1. A search page holds about 20 products

Input example

{
"mode": "search",
"queries": ["milk"],
"maxItems": 20,
"maxPages": 1
}

Product comparison:

{
"mode": "product",
"productUrls": [
"https://www.trolley.co.uk/product/cravendale-filtered-fresh-semi-skimmed-milk-fresher-for-longer/MOZ184"
]
}

Output

FieldDescription
titleBrand and product name
priceBest listed price in GBP
regularPricePrice before the cut on a deals card
unitPricePrice per unit when the card includes one
unitOfMeasureUnit, such as 100ml
packSizePack size
dealRetailerRetailer named on a deals card
priceDropSaving text, such as 40p less
retailersSupermarket, price, unit price, and offer. Filled on category and product rows
priceHistoryWeekly best price from a product page. week and price
currentWeekWeek number on that series
reviewCountReviews when the page shows them
productUrlProduct page URL

Output example

{
"source": "trolley.co.uk",
"listType": "product",
"productId": "MOZ184",
"title": "Cravendale Filtered Fresh Semi Skimmed Milk",
"brand": "Cravendale",
"name": "Filtered Fresh Semi Skimmed Milk",
"packSize": "2 Litre",
"price": 2.5,
"unitPrice": 0.13,
"unitOfMeasure": "100ml",
"currency": "GBP",
"lowestPrice": 2.5,
"retailerCount": 2,
"retailers": [
{
"retailer": "Asda",
"retailerSlug": "asda",
"price": 2.5,
"unitPrice": 0.13,
"unitOfMeasure": "100ml",
"offer": null
},
{
"retailer": "Tesco",
"retailerSlug": "tesco",
"price": 2.65,
"unitPrice": 0.13,
"unitOfMeasure": "100ml",
"offer": "2 FOR £4"
}
],
"priceHistory": [
{ "week": 1, "price": 2.9 },
{ "week": 20, "price": 2.5 }
],
"currentWeek": 40,
"productUrl": "https://www.trolley.co.uk/product/cravendale-filtered-fresh-semi-skimmed-milk-fresher-for-longer/MOZ184"
}

Use cases

  • Basket check — open one product URL and read every supermarket price in retailers
  • Search export — pull the best price and unit price for a keyword
  • Category shelf — use milks and keep the shops nested on each row
  • Deal watch — set mode to deals and store to Asda, then keep regularPrice and priceDrop

Integration examples

Replace APIFY_TOKEN with your Apify token. The Actor name is crawloop/trolley-grocery-price-scraper.

Node.js

import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("crawloop/trolley-grocery-price-scraper").call({
mode: "search",
queries: ["milk"],
maxItems: 20,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("crawloop/trolley-grocery-price-scraper").call(run_input={
"mode": "search",
"queries": ["milk"],
"maxItems": 20,
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)

cURL

curl "https://api.apify.com/v2/acts/crawloop~trolley-grocery-price-scraper/runs?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"mode\":\"search\",\"queries\":[\"milk\"],\"maxItems\":20}"

MCP and AI assistants

Use this Actor from AI tools via Apify MCP. Connect your Apify account, then call this Actor by its Store name.

Example prompts:

  • "Run Trolley Grocery Price Scraper for milk and return title, price, unit price, and pack size as JSON"
  • "Open this Trolley product URL and list each supermarket price and the weekly history"
  • "Pull Trolley deals for Asda, then run Aldi Weekly Ad Scraper for ZIP 60174 and compare milk prices"

Suite next step

After the UK comparison, run Aldi Weekly Ad Scraper for a US weekly circular, or Walmart Scraper for ZIP-local US grocery prices.

FAQ

Does search include every supermarket? Search rows are the card: best price, unit price, brand, and pack size. Set mode to product for each supermarket price and the weekly best-price series. Category rows already nest the shops shown on that list.

Is the weekly series one price per supermarket? No. priceHistory is the best price by week on the product page. Each supermarket’s current price is in retailers.

Which retailers can deals use? Asda, Sainsbury's, Morrisons, Co-op, Iceland, Boots, Superdrug, Savers, Amazon, and Ebay. Tesco and the other supermarkets still appear on product and category rows.

What if the keyword matches nothing? The run finishes with an empty dataset. Other keywords in the same input still run.