> ## 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 a Publix product

> Returns one publix.com (US) product at one store as `product`: the search fields (`productId`, `itemCode`, `title`, `brand`, `size`, `price`, `wasPrice`, `promotion`, `aisle` and so on) plus `images`, `description`, `ingredients`, `directions`, `allergens`, `available`, `categories`, `badges`, `couponCount`, `smartLabelUrl` and `relatedProducts`, and `store`, the store the price is for. Publix publishes a price online only while an item is on promotion.



## OpenAPI

````yaml /api-reference/openapi.json post /groceries/publix-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/publix-product:
    post:
      tags:
        - Plugins
      summary: Scrape a Publix product
      description: >-
        Returns one publix.com (US) product at one store as `product`: the
        search fields (`productId`, `itemCode`, `title`, `brand`, `size`,
        `price`, `wasPrice`, `promotion`, `aisle` and so on) plus `images`,
        `description`, `ingredients`, `directions`, `allergens`, `available`,
        `categories`, `badges`, `couponCount`, `smartLabelUrl` and
        `relatedProducts`, and `store`, the store the price is for. Publix
        publishes a price online only while an item is on promotion.
      operationId: publix_product_groceries_publix_product_post
      parameters:
        - name: product
          in: query
          required: true
          schema:
            type: string
            description: >-
              A Publix product id ('RIO-PCI-103438') or product link
              (https://www.publix.com/pd/cheerios-cereal-large-size/RIO-PCI-103438).
            title: Product
          description: >-
            A Publix product id ('RIO-PCI-103438') or product link
            (https://www.publix.com/pd/cheerios-cereal-large-size/RIO-PCI-103438).
        - name: store_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Publix store number whose prices and promotions to return, e.g.
              '1614'. Give this or `zip`; with neither, a store in Lakeland, FL
              is used. The store used is named in `store`.
            title: Store Id
          description: >-
            Publix store number whose prices and promotions to return, e.g.
            '1614'. Give this or `zip`; with neither, a store in Lakeland, FL is
            used. The store used is named in `store`.
        - name: zip
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: US ZIP code; the nearest Publix store is used, e.g. '33801'.
            title: Zip
          description: US ZIP code; the nearest Publix store is used, e.g. '33801'.
      responses:
        '200':
          description: JSON with a `product` object.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid parameters.
        '404':
          description: Publix has no such product, or no such store.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: >-
            Blocked by Publix 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.