Instacart Storefront Price Scraper avatar

Instacart Storefront Price Scraper

Pricing

from $2.99 / 1,000 storefront prices

Go to Apify Store
Instacart Storefront Price Scraper

Instacart Storefront Price Scraper

Extract bounded public grocery prices from Instacart storefront pages with explicit source-access diagnostics.

Pricing

from $2.99 / 1,000 storefront prices

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

22 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect source-backed grocery prices from public Instacart storefront and product pages. Give the Actor a storefront URL to capture several product cards, or a store-specific product URL to capture one item, and it returns the product identity, current and regular price, currency, unit price, package size, brand, retailer context, promotion, stock state, and images that the page exposes. Each price keeps the requested URL, the page that supplied it, its position on the page, and an extraction timestamp.

Get started

  1. Open the Actor Store page and select Try for free, or open the Input tab.
  2. Add official HTTPS Instacart storefront or product URLs to startUrls. Include ?retailerSlug= on product URLs when you need a specific retailer's price.
  3. Set maxItems to the number of prices you want and keep maxPages at 1 unless you enable followPagination.
  4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open Run summary (OUTPUT) to check targets, pages, price records, and any blocked or empty pages.

Input

Supply a target in startUrl or startUrls; startUrl wins when both are set, and url is read only when both are empty. If no target is supplied, the Actor falls back to its bundled grape product page. The other fields are optional, and the example below mirrors .actor/input.json.

FieldTypeRequired?DefaultMeaning
startUrlstringOptionalNot suppliedSingle official HTTPS Instacart storefront or product URL. Takes precedence over startUrls and url.
startUrlsobject arrayOptionalThree URLs: Kent's Market grapes, ibuprofen, and the Sprouts storefrontOfficial HTTPS Instacart pages to inspect, in order. Each entry is an object with a url string; invalid or non-Instacart entries become diagnostic rows.
urlstringOptionalNot suppliedCompatibility alias read only when startUrl and startUrls are both empty.
maxItemsintegerOptional5Maximum price records saved, 1–100. The bundled example uses 5; the schema default is 25.
maxPagesintegerOptional3Maximum pages requested in the run, 1–10. The bundled example uses 3; the schema default is 1.
followPaginationbooleanOptionalfalseFollow same-host rel=next links from a storefront, up to maxPages. Only official Instacart hosts are followed.
requestDelayMsintegerOptional0Pause before each page after the first and before retries, 0–10,000 ms.
maxRequestRetriesintegerOptional1Retries for timeouts, transport errors, and HTTP 5xx responses, 0–2. Login redirects, 401/403/429 responses, CAPTCHA, and verification pages stop immediately.
timeoutSecsintegerOptional30Per-request timeout, 5–120 seconds.
maxBytesintegerOptional5000000Largest response body retained per page, 100,000–5,000,000 bytes.
userAgentstringOptionalNot suppliedTransparent user-agent string, up to 300 characters. No stealth or fingerprint spoofing is applied.
proxyConfigurationobjectOptional{"useApifyProxy":true,"apifyProxyCountry":"US"}Optional Apify Proxy route. The bundled example enables US proxy traffic; set useApifyProxy to false for direct access. The bundled file also names an environment-specific proxy group, omitted here.

Default input from .actor/input.json:

{
"startUrls": [
{
"url": "https://www.instacart.com/products/18602684-green-seedless-grapes-per-lb?retailerSlug=kents-market"
},
{
"url": "https://www.instacart.com/products/220058-topcare-ibuprofen-200-mg-tablets-100-ct?retailerSlug=kents-market"
},
{
"url": "https://www.instacart.com/store/sprouts/storefront"
}
],
"maxItems": 5,
"maxPages": 3,
"followPagination": false,
"timeoutSecs": 30,
"maxRequestRetries": 1,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyCountry": "US"
}
}

requestDelayMs and maxBytes keep their schema defaults of 0 and 5000000. The bundled input has three targets, a five-record limit, three pages, and one retry. The saved rows below came from a separate four-target run with maxItems: 6, maxPages: 4, and two retries, which is why its summary reports six prices from four targets.

Each target is requested from an official HTTPS Instacart host, with no credentials, bounded retries, and no more than three redirects. Store-specific Apollo state is preferred, followed by Product JSON-LD, page-level Apollo state, and product-card HTML. A storefront URL can yield many cards, while a product URL normally yields one. An unauthenticated request can still be redirected to login or a security check; those outcomes are reported in OUTPUT and are never converted into a price.

Output

Each normal row is one product price. Optional fields are omitted when the page does not publish them, and values are not inferred. A target that fails or exposes no price may add a small diagnostic row containing url, error, errorCode, and scrapedAt; filter on recordType: "instacart-product-price" before price analysis.

FieldTypeAvailabilityMeaning
recordTypestringAlwaysRow discriminator; normal price rows use instacart-product-price.
recordIdstringAlwaysDeterministic price-record ID, prefixed product-price_.
idstringAlwaysStable product identity alias, prefixed product_.
sourcestringAlwaysSource label, Instacart.
urlstringAlwaysRequested page URL that supplied the evidence.
sourceUrlstringAlwaysFinal page URL where the price was found, after redirects.
productIdstringAlwaysProduct number used by Instacart, taken from the page or URL.
itemIdstringAlwaysRetailer-specific store item ID for this product.
productNamestringAlwaysProduct name as displayed on the page.
namestringAlwaysProduct-name alias, matching productName.
productUrlstringAlwaysPublic Instacart product URL, which may omit the retailer query when the source does.
brandstringWhen publishedBrand name shown for the product.
sizestringAlwaysPackage size or selling unit, such as 12 ct or per lb.
categorystringWhen publishedInstacart category or aisle label when the page exposes one.
retailerSlugstringAlwaysStorefront slug, such as kents-market or sprouts.
retailerNamestringWhen publishedRetailer display name when the payload includes it.
retailerIdstringAlwaysInstacart retailer ID for the storefront.
postalCodestringWhen publishedStorefront postal code when the page exposes one; not present in the saved run.
pricenumberAlwaysCurrent price as a number, without a currency symbol.
currencystringAlwaysISO currency code, such as USD.
priceStringstringAlwaysCurrent price as displayed, including unit text such as /lb.
regularPricenumberWhen publishedRegular or pre-discount price when the page shows one.
regularPriceStringstringWhen publishedRegular price as displayed, with its currency symbol.
pricePerUnitStringstringAlwaysDisplayed unit price, such as $0.23/oz.
promotionstringWhen publishedPromotion text, such as 2% off or Buy 1, get 1 free.
discountPercentnumberWhen publishedDiscount percentage reported by the page.
availablebooleanAlwaysWhether the product is available at this storefront.
stockLevelstringAlwaysRaw stock marker, such as inStock or Many in stock.
onSalebooleanAlwaysWhether the page presents sale evidence, separate from a promotion message.
imagestringAlwaysPrimary product image URL.
imagesstring arrayAlwaysProduct image URLs found on the page; one entry in the saved run.
descriptionstringWhen publishedProduct description when the page publishes one.
sourceDomainstringAlwaysHostname of the product URL, normally www.instacart.com.
cardPositionintegerAlwaysOne-based position of the product among the cards parsed from that page.
scrapedAtstringAlwaysUTC time the price row was saved, in ISO 8601 format.
retrievedAtstringAlwaysLegacy-compatible timestamp alias matching scrapedAt.

The example below is the complete real saved row for the ibuprofen product from the 2026-10-25 run. It retains the discount fields because that page exposed them.

{
"recordType": "instacart-product-price",
"recordId": "product-price_495faf16531588b4d88d",
"id": "product_9e24f3ae7e177a0a575d",
"source": "Instacart",
"url": "https://www.instacart.com/products/220058-topcare-ibuprofen-200-mg-tablets-100-ct?retailerSlug=kents-market",
"sourceUrl": "https://www.instacart.com/products/220058-topcare-ibuprofen-200-mg-tablets-100-ct?retailerSlug=kents-market",
"productId": "220058",
"itemId": "260907749588",
"productName": "TopCare Ibuprofen, 200 mg, Coated Tablets",
"name": "TopCare Ibuprofen, 200 mg, Coated Tablets",
"productUrl": "https://www.instacart.com/products/220058-topcare-ibuprofen-200-mg-tablets-100-ct?retailerSlug=kents-market",
"brand": "topcare",
"size": "100 ct",
"category": "Pain & Fever Relievers",
"retailerSlug": "kents-market",
"retailerName": "Kent's Market",
"retailerId": "2686",
"price": 8.89,
"currency": "USD",
"priceString": "$8.89",
"regularPrice": 9.09,
"regularPriceString": "$9.09",
"pricePerUnitString": "$0.09 each",
"promotion": "2% off",
"discountPercent": 2,
"available": true,
"stockLevel": "inStock",
"onSale": true,
"image": "https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_a5821240-315d-459f-9f56-4ea1a7668824.png",
"images": [
"https://d2lnr5mha7bycj.cloudfront.net/product-image/file/large_a5821240-315d-459f-9f56-4ea1a7668824.png"
],
"description": "TopCare Health 200 mg Ibuprofen 100 Coated Tablets",
"sourceDomain": "www.instacart.com",
"cardPosition": 1,
"scrapedAt": "2026-10-25T20:50:53.371Z",
"retrievedAt": "2026-10-25T20:50:53.371Z"
}

price and regularPrice are numeric fields for calculations; priceString and regularPriceString preserve the page's formatting. onSale can be true when Instacart shows a reduced price even if promotion is a multi-buy offer instead of a percentage. cardPosition restarts at 1 on every page, so it is a position within the page, not a global rank.

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.

FieldMeaning
statusActor outcome: SUCCEEDED when at least one price was saved or no target failed, otherwise FAILED.
runStatusCanonical outcome that mirrors status.
dataStatusCompleteness: COMPLETE, PARTIAL (price rows plus any diagnostic or optional failure), NO_RESULTS, or FAILED.
sourceSource label, Instacart.
actorActor slug recorded in the summary.
targetCountNumber of requested targets, including invalid entries.
itemCountPrice records plus diagnostic records counted for the run; a diagnostic that could not be written still counts here.
priceRecordCountNormal instacart-product-price rows saved.
diagnosticCountFailed, blocked, empty, or invalid targets recorded during the run.
optionalFailureCountNon-fatal failures, such as a diagnostic row that could not be written.
blockedCountTargets stopped by an access block or login redirect.
dataAvailableWhether at least one price record was saved.
pageCountPages requested, capped by maxPages.
sourceTransportRoute used for the run: direct, apify_proxy, or fixture.
fixtureWhether the run read the bundled QA fixture instead of a live page.
requestCountHTTP requests attempted, including retries.
completedAtUTC time the summary was written, in ISO 8601 format.
generatedByBuild metadata string recorded with the summary.
StatusData statusMeaning
SUCCEEDEDCOMPLETEPrices were saved with no diagnostic or optional failure.
SUCCEEDEDPARTIALPrices were saved, but at least one target failed or exposed no price. Saved rows remain usable.
SUCCEEDEDNO_RESULTSNo target failed technically, but none exposed a public price.
FAILEDFAILEDNo price was saved and at least one target failed.

Example OUTPUT from the saved 2026-10-25 run:

{
"status": "SUCCEEDED",
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"source": "Instacart",
"actor": "instacart-storefront-price-scraper",
"targetCount": 4,
"itemCount": 6,
"priceRecordCount": 6,
"diagnosticCount": 0,
"optionalFailureCount": 0,
"blockedCount": 0,
"dataAvailable": true,
"pageCount": 4,
"sourceTransport": "apify_proxy",
"fixture": false,
"requestCount": 4,
"completedAt": "2026-10-25T20:50:59.307Z",
"generatedBy": "OpenAI Codex with GPT-6"
}

The saved run requested four pages and saved six prices because the Sprouts storefront supplied three cards from one page. fixture is false, so every row came from a live public page.

Coverage and limitations

The Actor reads public Instacart pages without an account, cookies, or a customer address. Prices and availability can depend on the storefront selected by retailerSlug or the store URL; the same product can cost different amounts at different retailers. A storefront page shows only the cards Instacart renders for that request, so a limited storefront may expose a fraction of the catalog.

Instacart may redirect an unauthenticated request to login or a security check even when a browser shows products. Those responses stop without retry and are counted in diagnosticCount or blockedCount; no price is estimated. The Actor does not solve CAPTCHAs or bypass access controls. Optional fields such as brand, category, retailerName, postalCode, regularPrice, promotion, and description appear only when the page supplies them.

A hidden fixture: true runner option loads a bundled HTML file for offline QA. It is not part of the published input schema; leave it unset for production, and treat summaries with fixture: true as non-live examples.

Usage and support

Cost depends on Apify compute, the number of pages, response size, retries, and whether proxy traffic is enabled. A storefront URL can return many prices from one request, which is usually cheaper than one product URL per item. Start with one page and maxItems below 10, check priceRecordCount and diagnosticCount, then scale.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the OUTPUT summary; do not include tokens, cookies, or private data. This Actor is not affiliated with, endorsed by, or sponsored by Instacart. Use it only for public data and in accordance with Instacart's terms, robots guidance, and applicable law.