+Ocado API
Search Ocado and pull grocery prices, offers, nutrition and reviews as clean JSON.
The API.SH Ocado API turns ocado.com into structured JSON. Search groceries or browse any category with the shop's sorts and filters (brand, on offer, new and more), read the full category tree, and pull one product with its price, unit price, offers, description, ingredients, nutrition, storage and rating. Reviews and offer pages with every product in a multibuy are included too.
- 6 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/ocado/v1/ search
{"query": "milk","applied_filters": {"sort": "relevance"},"limit": 50,"count": 50,"page_info": {"nextPageToken": "8814a5d8-69cb-4e60-81d2-8967f149003c"},"next_cursor": "eyJ0IjoiODgxNGE1ZDgtNjljYi00ZTYwLTgxZDItODk2N2YxNDkwMDNjIiwiYyI6IlZJU0lUT1JJRD1jQUp5cFRiOWNyRFg1ZVFtbE1FelkzYkR2NnE1ZXJyNVhEcjJLOVFaNWkxMEVM…","current_category": {"id": "root","uuid": "723d17c1-3312-45fd-b275-7117fad4d1b5","name": "Root"},"breadcrumbs": [],"sort_options": ["relevance","price_asc","… 4 more"],"facets": [{"id": "boolean","name": "boolean","type": "BOOLEAN","values": [{"id": "onOffer","name": "onOffer","selected": false},{"id": "new","name": "new","selected": false}]},{"id": "brands","name": "brands","type": "BRANDS","values": [{"id": "Ocado","name": "Ocado","selected": false},{"id": "M&S","name": "M&S","selected": false},"… 85 more"]},"… 1 more"],"categories": [{"id": "20002","uuid": "01f3d930-813f-4038-983b-51bfcc7cb44e","name": "Fresh & Chilled Food","product_count": 265,"url": "https://www.ocado.com/categories/20002","children": [{"id": "40489","uuid": "9571f5bf-9a4c-48ff-be4b-9bdcfd080616","name": "Dairy & Eggs","product_count": 232,"url": "https://www.ocado.com/categories/40489","children": [{"…": "5 fields"},{"…": "5 fields"},"… 1 more"]},{"id": "50395","uuid": "795f8531-e407-465e-ae39-dbd5f9814ef5","name": "Yoghurts","product_count": 15,"url": "https://www.ocado.com/categories/50395"},"… 1 more"]},{"id": "25189","uuid": "320fc9ae-1f2e-4f8c-95b0-a8b8ffe17460","name": "Bakery","product_count": 1,"url": "https://www.ocado.com/categories/25189","children": [{"id": "45114","uuid": "606e0f1f-57e0-412a-b479-d6dcc46fecca","name": "Rolls, Bagels & Sandwich Thins","product_count": 1,"url": "https://www.ocado.com/categories/45114","children": [{"…": "5 fields"}]}]},"… 8 more"],"products": [{"id": "30567011","uuid": "590cb3fd-45f7-4827-8711-1af0c2ace8fb","url": "https://www.ocado.com/products/30567011","name": "Yeo Valley Organic Fresh Whole Milk","brand": "Yeo Valley","type": "REGULAR","pack_size": "2L","price": 3.15,"currency": "GBP","unit_price": {"price": 1.58,"unit": "PER_LITRE","currency": "GBP"},"available": true,"new": false,"alcohol": false,"time_restricted": false,"rating": 4,"review_count": 219,"shelf_life": {"quantity": 6,"unit": "DAY"},"labels": ["Suitable for freezing","Vegetarian","… 2 more"],"promotions": [{"id": "300606875","promo_uuid": "c286be73-1a6e-4ef4-a5f3-a6cb53da04b5","description": "Buy any 2 for £4.50","long_description": null,"type": "OFFER","multibuy": null,"required_quantity": 2,"equivalent_price": {"…": "2 fields"},"url": "https://www.ocado.com/promotions/300606875"}],"category_path": ["Fresh & Chilled Food","Dairy & Eggs","… 3 more"],"sponsored": true,"image": "https://www.ocado.com/images-v3/eafa5127-d256-497b-9609-4869092accd6/aba0e337-3a35-4512-a444-153e47ef7d2d/640x640.jpg","images": ["https://www.ocado.com/images-v3/eafa5127-d256-497b-9609-4869092accd6/aba0e337-3a35-4512-a444-153e47ef7d2d/640x640.jpg"],"group": "featured"},{"id": "24581011","uuid": "4b1cb801-6e93-4d96-9f04-7cf9f577bdb2","url": "https://www.ocado.com/products/24581011","name": "Cravendale Filtered Fresh Semi Skimmed Milk Fresher for Longer","brand": "Cravendale","type": "REGULAR","pack_size": "2L","price": 2.65,"currency": "GBP","unit_price": {"price": 1.33,"unit": "PER_LITRE","currency": "GBP"},"available": true,"new": false,"alcohol": false,"time_restricted": false,"rating": 4.5,"review_count": 334,"shelf_life": {"quantity": 2,"unit": "WEEK"},"labels": ["Vegetarian","Ocado Price Promise"],"promotions": [{"id": "300606841","promo_uuid": "341b99d6-23cf-42cf-902a-ef7e4e040efa","description": "Buy any 2 for £4","long_description": null,"type": "OFFER","multibuy": null,"required_quantity": 2,"equivalent_price": null,"url": "https://www.ocado.com/promotions/300606841"}],"category_path": ["Fresh & Chilled Food","Dairy & Eggs","… 3 more"],"sponsored": true,"image": "https://www.ocado.com/images-v3/eafa5127-d256-497b-9609-4869092accd6/dd7a478e-89b0-4a45-a008-ddfbe282a123/640x640.jpg","images": ["https://www.ocado.com/images-v3/eafa5127-d256-497b-9609-4869092accd6/dd7a478e-89b0-4a45-a008-ddfbe282a123/640x640.jpg","https://www.ocado.com/images-v3/eafa5127-d256-497b-9609-4869092accd6/7fc0ebe1-9f6f-48a7-81c8-e3c72e69a2b3/640x640.jpg","… 6 more"],"group": "featured"},"… 48 more"],"cached": false,"credits_used": 1} What you can build with the Ocado API
UK grocery price tracking
Search or browse a category sorted by price or unit price and record prices and offers for the products you follow, day by day.
Promotion and multibuy monitoring
See which products are on offer, then open an offer to list every product in the multibuy with its terms and end date.
Nutrition and ingredient data
Pull a product's ingredients, nutrition table, allergens and storage details to fill a food database or a diet app.
Category and assortment analysis
Walk the category tree and page through each category to map the range, brands and own-label share.
Shopper review insights
Read reviews sorted by lowest rating or with photos to spot quality problems with a product or a brand.
Ocado data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
Ocado API endpoints and prices
Every Ocado endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| Search Ocado products /ocado/ | $1 · $2 PAYG 1 credit |
| Ocado product reviews /ocado/ | $1 · $2 PAYG 1 credit |
| Ocado category products /ocado/ | $1 · $2 PAYG 1 credit |
| Ocado offer /ocado/ | $1 · $2 PAYG 1 credit |
| Ocado product /ocado/ | $1 · $2 PAYG 1 credit |
| Ocado categories /ocado/ | $1 · $2 PAYG 1 credit |
Call the Ocado API
Search Ocado products: GET https://api.api.sh/ocado/
curl "https://api.api.sh/ocado/v1/search?q=milk" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/ocado/v1/search",
params={"q": "milk"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/ocado/v1/search");
url.searchParams.set("q", "milk");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/ocado/v1/search", "q", "milk")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "Ocado" and "Search Ocado products".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 918 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for Ocado data
- Public data only: no Ocado login, cookies or account needed
- One key and one response shape for Ocado and 917 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- No rate limits: run as many calls in parallel as you need
- Live status for every endpoint
API.SH vs the official Ocado API
Ocado has no public product or price API. Its technology arm sells the Ocado Smart Platform to grocers, and the related searches for an Ocado API point to supplier and partner tools. API.SH returns the public ocado.com shop data as JSON with one key.
Instead of buying static UK grocery datasets or maintaining your own Ocado scraper, API.SH returns live search, product, offer and review data with one key and a fixed price per call.
Ocado API questions
What Ocado data can I get?+
Grocery search (/ocado/v1/search), category products (/ocado/v1/category), the category tree (/ocado/v1/categories), one product with nutrition and details (/ocado/v1/product), reviews (/ocado/v1/reviews) and offer pages (/ocado/v1/offer).
How much does the Ocado API cost?+
Every Ocado endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /ocado/v1/categories at 1 credit each.
Is there an official Ocado API?+
Not a public one for shoppers' data. Ocado's platform APIs are for its retail partners. API.SH reads the public ocado.com shop.
Do I need an Ocado account or login?+
No. API.SH reads public ocado.com data only. No endpoint uses a login, a basket or anyone's account, and it cannot place orders.
Is there a UK supermarket API for prices?+
Yes. Besides Ocado, API.SH has Tesco, Sainsbury's and ASDA endpoints with the same JSON conventions, so you can compare prices across UK supermarkets with one key.
How does pagination work?+
Search and category answers include next_cursor; pass it back as cursor to get the next page. Reviews page the same way.
How do I get started?+
Sign up at api.sh, copy your API key and call /ocado/v1/search?q=milk. The docs at https://api.sh/docs list every parameter; you can also use the SDKs, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.
Does the Ocado API have a rate limit?+
No. API.SH puts no rate limit on your key: send as many Ocado calls in parallel as you need and pay only for the calls that run. If Ocado itself slows down, the call returns 503 with a retry-after header and is not charged.