Trolley Grocery Price Scraper
Pricing
from $3.00 / 1,000 products
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
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 comparison | US weekly ad | EU leaflets | US grocery |
|---|---|---|---|
| Trolley Grocery Price Scraper ◄── you are here | Aldi Weekly Ad Scraper | Lidl Weekly Offers Scraper | Walmart 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
| Field | Required | Description |
|---|---|---|
mode | Yes | search, category, product, or deals |
queries | For search | Keywords such as milk |
categorySlugs | For category | Slug such as milks |
productUrls | For product | Product URL that includes the slug and the product id |
store | For deals | Asda, Sainsbury's, Morrisons, Co-op, Iceland, Boots, Superdrug, Savers, Amazon, or Ebay |
maxItems | No | Stop after this many products. Default 20, maximum 500 |
maxPages | No | Pages 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
| Field | Description |
|---|---|
title | Brand and product name |
price | Best listed price in GBP |
regularPrice | Price before the cut on a deals card |
unitPrice | Price per unit when the card includes one |
unitOfMeasure | Unit, such as 100ml |
packSize | Pack size |
dealRetailer | Retailer named on a deals card |
priceDrop | Saving text, such as 40p less |
retailers | Supermarket, price, unit price, and offer. Filled on category and product rows |
priceHistory | Weekly best price from a product page. week and price |
currentWeek | Week number on that series |
reviewCount | Reviews when the page shows them |
productUrl | Product 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
milksand keep the shops nested on each row - Deal watch — set
modetodealsandstoreto Asda, then keepregularPriceandpriceDrop
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 osfrom apify_client import ApifyClientclient = 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().itemsprint(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.
Related Actors
- Trolley Grocery Price Scraper ◄── you are here
- Aldi Weekly Ad Scraper — ALDI US weekly ad and ALDI Finds
- Lidl Weekly Offers Scraper — Lidl weekly leaflets
- Walmart Scraper — ZIP-local Walmart prices
- DoorDash Menu Scraper — chain menu items
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.