Grocery Product Scraper for Instacart
Pricing
from $5.00 / 1,000 products
Grocery Product Scraper for Instacart
Scrapes product details, retailer storefronts and cross-retailer search results from instacart.com. Independent tool, not affiliated with or endorsed by Instacart.
Pricing
from $5.00 / 1,000 products
Rating
0.0
(0)
Developer
FalconScrape
Maintained by CommunityActor stats
1
Bookmarked
71
Total users
8
Monthly active users
4 days ago
Last modified
Categories
Features
Share
🛒 Instacart Scraper: Grocery Prices by Store and ZIP
Export Instacart prices and product data as clean JSON, CSV or Excel. The Grocery Product Scraper for Instacart returns each product's name, brand, size, image, price, regular price and stock status from product pages, retailer storefronts (Costco, Safeway, Walmart, Target, Sprouts, Kroger, Aldi, Publix, Wegmans and other Instacart retailers) and cross-retailer search. Its price grid mode prices the same products at the store that serves each US ZIP code. Use it for grocery price comparison, as a grocery price tracker, or as a practical alternative to an Instacart API.
🎯 Use Cases
- Compare grocery prices across retailers: run one search or a list of product IDs against Costco, Walmart, Safeway, Target and Kroger, and line the prices up side by side.
- Grocery price tracker: schedule a daily run on a fixed list of products and build your own price history.
- Costco and Walmart grocery prices by city: use price grid mode to see what one product costs in New York, Chicago, Seattle or Phoenix.
- Promotion and discount monitoring:
fullPriceStringholds the regular price whenever an item is on sale, so you can spot discounts at once. - Instacart dataset building: turn storefronts and searches into a product catalog with images, brands and sizes for analytics or a recommender.
- Food price monitoring: follow staples like milk, eggs and bread across markets for research or reporting.
✨ Features
- Product data: name, brand, size, image, product URL, price as a number, price string, regular price when on sale, currency, stock status and attribute badges (Organic, Gluten-free, Non-GMO and similar).
- Three sources in one run: product pages, retailer storefronts (featured items per store) and search: either the cross-retailer first page (about 14 items per query) or each query at each retailer you list (up to 20 items per query and retailer).
- Compare banners in one run:
searchQueries×searchRetailersruns "greek yogurt" at Costco, Safeway and Target side by side, each priced at the store that serves your ZIP. - Prices for your ZIP: product pages, storefronts and search are priced for
postalCode(default 94105, San Francisco), and every row says which ZIP it was priced for. - Store discovery:
listStoreslists every store Instacart offers at a ZIP (retailer, slug, type, store location ID, delivery or pickup), so you know which slugs to search. - Filters that save money:
inStockOnly,onSaleOnly,minPriceandmaxPricedrop products before they are saved. Skipped products are never charged. - Many retailers per run: sweep Costco, Safeway, Walmart, Target, Sprouts and any other Instacart retailer in a single run, or seed every storefront linked from the Instacart home page.
- Price grid by ZIP: give product IDs, retailers and ZIP codes, and get each product's real price and stock at the store that serves each ZIP. Grid rows add the city (
place), the store location ID, the delivery zone, the service type and the unit price. - Honest coverage: when a retailer doesn't deliver to a ZIP, the ZIP is outside Instacart, or the store doesn't carry the product, that cell is not charged. It is listed in the
GRID_COVERAGEkey-value record and never filled with another market's price. - No duplicates: a product that appears in several storefront carousels or in two searches at the same shop is saved and billed once.
- Max items respected: the run stops at your
maxItemslimit, even with many pages loading at once.
🛠️ How It Works
- Add your inputs: any mix of Instacart URLs, retailer slugs, search queries (optionally per retailer) and product IDs, plus your ZIP and filters. Add ZIP codes for price grid mode, or turn on List stores.
- Run the Actor: it visits each page and saves one record per product.
- Download the dataset as JSON, CSV or Excel, or pull it through the Apify API.
⚙️ Input
All fields are optional. Combine them freely: for example, three retailer storefronts plus a few product IDs in one run.
| Field | What it does |
|---|---|
Start URLs (startUrls) | Any Instacart URLs: product pages (/products/..., /store/{retailer}/products/...), retailer storefronts (/store/{retailer}), cross-retailer search (/store/s?k=...) or search at one retailer (/store/costco/s?k=milk). Other URLs are skipped and named in the run's status. |
Retailer slugs (retailerSlugs) | Retailers to scrape as storefronts, e.g. costco, safeway, target. In grid mode these are the retailers priced in each ZIP. |
Search queries (searchQueries) | Free-text queries. Without Search at retailers: the cross-retailer first results page (about 14 items per query). |
Search at retailers (searchRetailers) | Retailer slugs or names. Every search query runs at every retailer listed: up to 20 items per query and retailer. A retailer with no results (for example, it doesn't serve the ZIP) is named in the status and costs nothing. |
Product IDs (productIds) | Instacart product IDs, the number at the start of a product URL (/products/31895-... is 31895). In grid mode these are the products priced in each ZIP. |
Default retailer slug (defaultRetailerSlug) | Retailer used when fetching productIds. Leave empty for Instacart's default market. |
Seed retailers from Instacart home (seedFromHome) | If true, scrapes every retailer storefront linked from the Instacart home page. Default false. |
Postal code (postalCode) | US ZIP that product pages, storefronts and searches are priced for. Default 94105 (San Francisco). Each row's postalCode says which ZIP it was priced for. |
Postal codes (postalCodes) | Price grid mode. Every product ID × ZIP × retailer (retailerSlugs, or defaultRetailerSlug) is priced at the store serving that ZIP. One row per priced cell (source: "grid"). Unpriced cells are free and listed in GRID_COVERAGE. With List stores, the ZIPs whose stores are listed. |
List stores (listStores) | Lists every store Instacart offers at Postal code (or each of Postal codes): one row per store and service type (source: "stores"). |
In stock only (inStockOnly) | Keep only products the store reports as available. |
On sale only (onSaleOnly) | Keep only discounted products (a regular price above the current price). |
Min price / Max price (minPrice, maxPrice) | Keep only products priced in this range, in USD. Products without a price are skipped when set. |
Max items (maxItems) | Stop after this many rows. Default 50; 0 = unlimited. |
Filters apply to every product row (product pages, storefronts, search and grid) and run before saving, so skipped products are never charged; the status message says how many were skipped. Field names used by other Instacart scrapers are accepted too (queries, retailers, urls, mode: "store"); options this Actor doesn't support (for example sorting) are named in the run's status instead of failing the run.
Storefront, search and product example:
{"startUrls": [{ "url": "https://www.instacart.com/products/7079-lucerne-dairy-farms-milk-128-oz?retailerSlug=safeway" }],"retailerSlugs": ["costco", "safeway"],"searchQueries": ["milk", "eggs"],"maxItems": 100}
Compare one product across retailers, with filters
{"searchQueries": ["greek yogurt", "oat milk"],"searchRetailers": ["costco", "safeway", "target"],"postalCode": "94105","onSaleOnly": true,"maxPrice": 15,"maxItems": 200}
Returns up to 20 results per query and retailer, priced at the store serving 94105, keeping only discounted items up to $15. Each row has searchQuery and retailerSlug, so you can pivot prices by banner.
Store discovery example
{ "listStores": true, "postalCode": "10001", "maxItems": 0 }
Lists every store Instacart offers in 10001 (about 330 delivery and pickup stores in Manhattan).
Price grid example
{"productIds": ["31895", "18848274"],"retailerSlugs": ["costco"],"postalCodes": ["94105", "10001", "60601", "98101", "85004"]}
This returns up to 10 rows, one per product and ZIP. Grid mode needs at least one product ID and one retailer.
💰 Pricing
Pay only for the products you get. No monthly rental.
| Event | Price | What you get |
|---|---|---|
| Product | $0.005 per product ($5.00 per 1,000) | One product row with all fields below, from any source (product page, storefront, search or grid) |
| Actor start | $0.00005 per run | Charged once when the run starts (one event per GB of memory; the default 1 GB = one event). |
Examples:
- The prefilled input (one product page, the Costco storefront and a "milk" search) returns about 25 products = about $0.13.
- 2 queries × 3 retailers = up to 120 products = up to $0.60. Products your filters skip cost nothing.
- Listing the stores in one ZIP = one row per store (about 130 to 330 in a big city) at the same per-row price; cap it with
maxItems. - A price grid of 20 products × 10 ZIPs × 1 retailer = up to 200 rows = up to $1.00. Unpriced cells cost nothing.
- 1,000 products = $5.00.
📊 Sample Output Data
A price grid row (real output, Costco in Manhattan):
{"id": "items_284-31895","productId": "31895","retailerSlug": "costco","retailerId": "5","shopId": "968","url": "https://www.instacart.com/products/31895-honey-nut-cheerios-cereal-with-oats-gluten-free-27-5-oz?retailerSlug=costco","name": "General Mills, Cheerios Cereal, Honey Nut, 27.5 oz, 2-count","brand": "General Mills","size": "each","image": "https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_4472557b-f5b8-44a0-90cc-5c7f68461551.jpg","category": "Cereal","description": null,"price": 8.45,"priceString": "$8.45","fullPriceString": "$10.65","priceCurrency": "USD","availability": "highly_in_stock","dietaryAttributes": ["Gluten-free"],"source": "grid","postalCode": "10001","scrapedAt": "2026-10-20T17:46:38.863Z","place": "Manhattan, NY","zoneId": "18","retailerLocationId": "284","serviceType": "delivery","pricePerUnitString": "$2.66 each"}
Every product row has the same core fields; source tells you where it came from (pdp, storefront, search or grid), and search rows carry the searchQuery that found them. fullPriceString is the regular price and is filled only when the item is on sale (price is then the sale price). place, zoneId, retailerLocationId, serviceType and pricePerUnitString appear on grid rows only.
availability uses one vocabulary for every source: highly_in_stock (many in stock), in_stock, low_stock and out_of_stock. dietaryAttributes lists the attribute badges Instacart shows on the product (for example Organic, Gluten-free, Non-GMO, 2%) and is empty when the product has none. brand is the brand's display name on product page rows; on storefront, search and grid rows Instacart only gives a lowercase brand, so it is title-cased (Kirkland Signature), and a rare acronym brand may come out as Kfc instead of KFC.
🔁 Schedule and Integrate Your Grocery Price Tracker
For price tracking, run it once a day with the same product IDs, retailers and ZIP codes: every run is a dated snapshot, and together they form your price history. Weekly runs are enough for broad catalog or food price studies. Set it up in Apify Schedules, then send the results to Google Sheets, Zapier, Make, n8n or a webhook with Apify integrations, so new prices land where your team already works.
🤖 Use with AI Agents (MCP)
This Actor works as a tool in Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server (https://mcp.apify.com). An agent can call it with:
{ "searchQueries": ["oat milk"], "maxItems": 20 }
❓ Instacart API and Price FAQ
Does Instacart have an official API? Instacart's Developer Platform lets approved partners build shoppable recipe and shopping-list pages that link to Instacart, and its Connect APIs are for retailers and partners building ordering and fulfillment experiences. Both need an application and approval, and neither is an open feed of product prices by store. This Actor needs no key or account and returns the public product data a shopper sees: prices, regular prices, sizes, brands and stock status, per retailer and per ZIP.
Do I need an Instacart account? No. The Actor works without logging in.
How do I compare grocery prices by ZIP code? For one ZIP, set Postal code: product pages, storefronts and searches are priced there. For many ZIPs, use price grid mode: list the product IDs, the retailers (for example costco and safeway) and the ZIP codes. You get one row per product, retailer and ZIP, priced at the store that serves that ZIP.
Which retailers serve my ZIP? Turn on List stores with your ZIP. Use the retailerSlug values in Search at retailers or Retailer slugs.
Can I sort search results by price? Not at the source: Instacart's per-store search sort isn't available to this Actor. Use Min price / Max price to narrow results and sort the dataset by price after the run.
Are Instacart prices the same as in-store prices? Not always. Retailers set their own Instacart prices, and some price items higher on Instacart than in their stores. This Actor returns the price Instacart shows, so you can compare it with your own in-store checks.
Why is a field empty? category is filled on product page, grid and per-retailer search rows, and description on product page rows only. fullPriceString is empty when the item isn't on sale. dietaryAttributes is an empty list when Instacart shows no attribute badges for the product. retailerSlug, retailerId and shopId are filled on every row.
Are there limits? Storefronts return the store's featured items, cross-retailer search returns the first results page (about 14 items per query) and search at a retailer returns its top 20 items per query. One run handles up to about 1,000 pages, or more when your input is larger; if the limit is hit, the run says so and you can split the input across runs. Price grid mode takes US ZIP codes; a ZIP that can't be priced comes back as an unpriced, free cell in GRID_COVERAGE.
🔗 Related Scrapers
- Target Listings Scraper: Target products and prices, for a second view of the Target storefront you scrape here.
- Tesco Groceries Scraper: UK grocery prices from Tesco, for cross-country food price monitoring.
- Walmart Reviews Scraper: customer reviews for the grocery products you track.
⚖️ Disclaimer
This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Instacart or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.