> ## 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.

# Resolve the electric meter (ESIID) for a service address

> Texas (ERCOT) electricity enrollment needs the meter's ESIID, which a customer would otherwise have to read off a utility bill. Given a street line and ZIP, returns every meter the source matched plus `resolved` — the single meter the address unambiguously maps to (one match, or the one whose unit matches). A multi-unit building with no unit given returns the matches and a null `resolved` so the customer can pick. Never errors on an out-of-market address or an upstream failure: both come back empty, and checkout falls back to the manual field. Unauthenticated, lightly rate-limited per IP.



## OpenAPI

````yaml /openapi/openapi-public.json post /public/shop/esiid-lookup
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/esiid-lookup:
    post:
      tags:
        - public
      summary: Resolve the electric meter (ESIID) for a service address
      description: >-
        Texas (ERCOT) electricity enrollment needs the meter's ESIID, which a
        customer would otherwise have to read off a utility bill. Given a street
        line and ZIP, returns every meter the source matched plus `resolved` —
        the single meter the address unambiguously maps to (one match, or the
        one whose unit matches). A multi-unit building with no unit given
        returns the matches and a null `resolved` so the customer can pick.
        Never errors on an out-of-market address or an upstream failure: both
        come back empty, and checkout falls back to the manual field.
        Unauthenticated, lightly rate-limited per IP.
      operationId: PublicShopController_lookupEsiid
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EsiidLookupDto'
      responses:
        '200':
          description: Matching meters for the address
        '429':
          description: Rate limit exceeded
          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:
    EsiidLookupDto:
      type: object
      properties:
        street:
          type: string
          example: 123 Main St
        unit:
          type: string
          example: Apt 4B
          description: >-
            Unit, when known. The upstream matches on the street line, so the
            unit is what disambiguates a multi-unit building down to one meter.
        city:
          type: string
          example: Austin
        state:
          type: string
          example: TX
        zipCode:
          type: string
          example: '78701'
      required:
        - street
        - state
        - zipCode
      title: Esiid Lookup
    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

````