Instacart
Live Instacart (US grocery delivery) data: store resolution, product search, product detail and multi-tier pricing, keyword autocomplete, and weekly flyer deals -- served from Instacart's own public GraphQL gateway.
Endpoints
| Route | What it does |
|---|---|
GET /instacart/store |
Resolve a shop_id for a postal code, optionally scoped to one retailer (e.g. safeway, costco). Call this first. |
GET /instacart/search |
Product search within one store. |
GET /instacart/product |
Product detail and pricing, by one or more item ids (batch). |
GET /instacart/autocomplete |
Keyword autocomplete within one store. |
GET /instacart/flyer |
This week's top-savings flyer deals for one store. |
Typical flow
curl -i "https://<gateway>/instacart/store?postal_code=94105&latitude=37.789864&longitude=-122.393665&retailer_slug=safeway"
# -> 402 Payment Required, then pay and retry, or {"shop_id":"9501", ...}
curl -i "https://<gateway>/instacart/search?q=milk&shop_id=9501&postal_code=94105"
curl -i "https://<gateway>/instacart/product?ids=items_53-7079,items_53-7069&shop_id=9501&postal_code=94105"
curl -i "https://<gateway>/instacart/autocomplete?q=milk&shop_id=9501"
curl -i "https://<gateway>/instacart/flyer?shop_id=9501&postal_code=94105"
Notes
storerequires reallatitude/longitudealongsidepostal_code-- Instacart's own API rejects a null coordinate, and this service does not include a ZIP-to-coordinates lookup of its own.searchonly hydrates the firstrowsresults (default 24) with full product detail; the response'stotal_foundstill reports the true match count. Passing the full result set in one product-detail call reliably fails server-side on Instacart's own backend.- No account, API key, or proxy is used anywhere -- every route here is a public, unauthenticated Instacart endpoint.
searchhas been observed to be rate-limited by Instacart's own edge more aggressively than the other routes after repeated calls in a short window; it recovers on its own (observed 10-15 minutes). Treat a failure there as retry-later, not a permanent block.