# Instacart Scraper - Grocery Prices, Products & Stores

**Use case:** 

Scrape Instacart products and compare grocery prices, unit prices and stock across stores serving any US location.

## Input

```json
{
  "mode": "search",
  "queries": [
    "organic milk"
  ],
  "retailers": [
    "costco",
    "safeway"
  ],
  "urls": [
    "https://www.instacart.com/store/costco/s?k=greek+yogurt",
    "https://www.instacart.com/store/costco/products/19208138"
  ],
  "includeDepartments": false,
  "postalCode": "10001",
  "latitude": 40.7484,
  "longitude": -73.9857,
  "sortBy": "bestMatch",
  "inStockOnly": false,
  "onSaleOnly": false,
  "fetchDetails": false,
  "maxItems": 20,
  "incrementalMode": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "maxNotifyListings": 50
}
```

## Output

```json
{
  "name": {
    "label": "Product"
  },
  "changeType": {
    "label": "Change"
  },
  "brand": {
    "label": "Brand"
  },
  "priceString": {
    "label": "Price"
  },
  "price": {
    "label": "Price (number)"
  },
  "fullPrice": {
    "label": "Regular price"
  },
  "unitPriceString": {
    "label": "Unit price"
  },
  "onSale": {
    "label": "On sale"
  },
  "size": {
    "label": "Size"
  },
  "available": {
    "label": "In stock"
  },
  "stockLevelLabel": {
    "label": "Stock level"
  },
  "category": {
    "label": "Category"
  },
  "retailerName": {
    "label": "Store"
  },
  "serviceType": {
    "label": "Service"
  },
  "storeAddress": {
    "label": "Store address"
  },
  "dietaryAttributes": {
    "label": "Dietary"
  },
  "productId": {
    "label": "Product id"
  },
  "image": {
    "label": "Image",
    "format": "image"
  },
  "productUrl": {
    "label": "Product link",
    "format": "link"
  },
  "searchQuery": {
    "label": "Keyword"
  },
  "changedFields": {
    "label": "Changed fields"
  },
  "firstSeenAt": {
    "label": "First seen"
  },
  "lastSeenAt": {
    "label": "Last seen"
  }
}
```

## About this Actor

This example demonstrates how to use [Instacart Scraper - Grocery Prices, Products & Stores](https://apify.com/abotapi/instacart-grocery-price-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/abotapi/instacart-grocery-price-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/abotapi/instacart-grocery-price-scraper.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
