> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapeunblocker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape an Instacart product

> One product of a retailer on Instacart, priced at the store Instacart assigns to `zip`: the search fields (`id`, `productId`, `name`, `brand`, `size`, `packageSize`, `price`, `wasPrice`, `onSale`, `unitPrice`, `soldBy`, `promotions`, `available`, `stockLevel`, `rating`, `reviewCount`, `category`, `dietary`, `aisle`, `image`, `url`) plus `description`, `ingredients`, `directions`, `warnings`, the product page `sections` and the `images` gallery, and `store`. `product` is an Instacart product id, an item id from a search result or a product link. One unit per call.



## OpenAPI

````yaml /api-reference/openapi.json post /groceries/instacart-product
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Documented here:
    page-source extraction, Google SERP scraping, image fetch, and the dedicated
    plugin endpoints (search engines, marketplaces, reviews, travel, social and
    more). All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /groceries/instacart-product:
    post:
      tags:
        - Plugins
      summary: Scrape an Instacart product
      description: >-
        One product of a retailer on Instacart, priced at the store Instacart
        assigns to `zip`: the search fields (`id`, `productId`, `name`, `brand`,
        `size`, `packageSize`, `price`, `wasPrice`, `onSale`, `unitPrice`,
        `soldBy`, `promotions`, `available`, `stockLevel`, `rating`,
        `reviewCount`, `category`, `dietary`, `aisle`, `image`, `url`) plus
        `description`, `ingredients`, `directions`, `warnings`, the product page
        `sections` and the `images` gallery, and `store`. `product` is an
        Instacart product id, an item id from a search result or a product link.
        One unit per call.
      operationId: instacart_product_groceries_instacart_product_post
      parameters:
        - name: retailer
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              The retailer's Instacart slug: the part after /store/ in an
              Instacart link, e.g. 'costco', 'aldi', 'publix', 'safeway',
              'kroger', 'cvs', 'sprouts', 'wegmans', 'sams-club'. An Instacart
              store link is accepted too. Optional when `product` is a link
              carrying `retailerSlug`.
            title: Retailer
          description: >-
            The retailer's Instacart slug: the part after /store/ in an
            Instacart link, e.g. 'costco', 'aldi', 'publix', 'safeway',
            'kroger', 'cvs', 'sprouts', 'wegmans', 'sams-club'. An Instacart
            store link is accepted too. Optional when `product` is a link
            carrying `retailerSlug`.
        - name: product
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              An Instacart product id ('16902650'), an item id from a search
              result ('items_4142-16902650') or a product link
              (https://www.instacart.com/products/16902650-...).
            title: Product
          description: >-
            An Instacart product id ('16902650'), an item id from a search
            result ('items_4142-16902650') or a product link
            (https://www.instacart.com/products/16902650-...).
        - name: zip
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              5-digit US ZIP code of the delivery area. Instacart prices and
              stock belong to the store serving it. Default 94105 (San
              Francisco).
            title: Zip
          description: >-
            5-digit US ZIP code of the delivery area. Instacart prices and stock
            belong to the store serving it. Default 94105 (San Francisco).
      responses:
        '200':
          description: JSON with `product`.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid parameters, or a ZIP code Instacart does not know.
        '404':
          description: >-
            No such retailer, no store for the ZIP code, or the store does not
            sell the product.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: >-
            Refused by Instacart on every attempt, an unusable answer, or no
            answer in time.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.