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

# Get a consumer offer by its public slug

> Full pricing/compliance detail for one consumer-enabled offer. Pass `zip` to re-check coverage for that ZIP. Unauthenticated.



## OpenAPI

````yaml /openapi/openapi-public.json get /public/shop/offers/{publicSlug}
openapi: 3.0.0
info:
  title: OfferGrid API
  description: >-
    **Public API** - Unauthenticated endpoints with no API key required.


    These power two public, no-login surfaces:

    - **Shareable links** (`/public/links/*`) - a reseller-branded landing page
    for a specific set of offers, used to collect an order from an end customer.

    - **Consumer shop** (`/public/shop/*`) - the offergrid.io/shop storefront,
    where consumers browse real offers by ZIP code and either check out directly
    or are redirected to a provider's own site.


    All endpoints here are rate-limited and validate/re-check coverage
    server-side; none require the `x-api-key` header used by the Provider and
    Reseller APIs.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.offergrid.io
    description: Production
security: []
tags:
  - name: public
    description: >-
      Public: Unauthenticated endpoints for shareable links and the /shop
      storefront
paths:
  /public/shop/offers/{publicSlug}:
    get:
      tags:
        - public
      summary: Get a consumer offer by its public slug
      description: >-
        Full pricing/compliance detail for one consumer-enabled offer. Pass
        `zip` to re-check coverage for that ZIP. Unauthenticated.
      operationId: PublicShopController_getOffer
      parameters:
        - name: publicSlug
          required: true
          in: path
          schema:
            example: fiber-500-by-acme
            type: string
        - name: zip
          required: false
          in: query
          description: >-
            ZIP the shopper is browsing from — when present, the response
            includes an `available` flag re-checking coverage for this specific
            ZIP.
          schema:
            type: string
            example: '78701'
      responses:
        '200':
          description: Offer detail
        '404':
          description: Offer not found or not consumer-enabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unexpected server error. Safe to retry idempotent requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      title: Error
      description: Standard error envelope returned by every 4xx and 5xx response.
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          description: HTTP status code, repeated in the body.
          example: 404
        message:
          type: string
          description: Human-readable explanation of what went wrong.
          example: Offer not found
        error:
          type: string
          description: Short, stable name for the status code.
          example: Not Found

````