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

# List postal code coverage

> Fetch every postal code area this location has coverage for, grouped by ISO 3166-1 alpha-2 country code.

**Coverage changes over time.** Re-fetch this list regularly. Do not store it on your side as a permanent source of truth.

**This is not a real-time serviceability check.** Treat it as a pre-check: a filter for narrowing down which postal codes are worth offering at all. It says something about postal code areas, nothing about a specific address. For a live per-postal-code answer call `POST /orders/check/postal-code/{locationId}`, and for an exact per-address answer `POST /orders/check/{locationId}`, which stays the source of truth.

Countries without coverage are omitted rather than returned as an empty list.



## OpenAPI

````yaml /api-reference/openapi.json get /coverage/postal-codes/{locationId}
openapi: 3.1.0
info:
  title: Sparqle API
  version: 1.0.0
  description: >-
    Create deliveries, fetch shipping labels, and track orders with Sparqle.


    This specification is a hand-authored starting point derived from the API
    source. Replace or merge it with the spec exported from your previous docs
    as you refine the reference.
servers:
  - url: https://staging-v2.sparqle.tech
    description: Test
  - url: https://v2.sparqle.com
    description: Live
security:
  - apiKey: []
paths:
  /coverage/postal-codes/{locationId}:
    get:
      tags:
        - Coverage
      summary: List postal code coverage
      description: >-
        Fetch every postal code area this location has coverage for, grouped by
        ISO 3166-1 alpha-2 country code.


        **Coverage changes over time.** Re-fetch this list regularly. Do not
        store it on your side as a permanent source of truth.


        **This is not a real-time serviceability check.** Treat it as a
        pre-check: a filter for narrowing down which postal codes are worth
        offering at all. It says something about postal code areas, nothing
        about a specific address. For a live per-postal-code answer call `POST
        /orders/check/postal-code/{locationId}`, and for an exact per-address
        answer `POST /orders/check/{locationId}`, which stays the source of
        truth.


        Countries without coverage are omitted rather than returned as an empty
        list.
      operationId: listDeliveryAreaPostalCodes
      parameters:
        - name: locationId
          in: path
          required: true
          description: >-
            The location whose coverage you want. The same identifier you pass
            to the check endpoint.
          schema:
            type: string
          example: ABC123
      responses:
        '200':
          description: Covered postal codes per country
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostalCodeCoverage'
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    PostalCodeCoverage:
      type: object
      description: >-
        Covered postal codes keyed by ISO 3166-1 alpha-2 country code. Only
        countries with coverage are present.
      additionalProperties:
        type: array
        description: >-
          Postal codes covered in that country. Each entry is a full postal code
          or a numeric prefix standing for the wider postal code area.
        items:
          type: string
      example:
        NL:
          - '1018'
          - 1019AB
        BE:
          - '9000'
    Error:
      type: object
      properties:
        statusCode:
          type: integer
          example: 400
        message:
          type: array
          items:
            type: string
          example:
            - deliveryName should not be empty
        error:
          type: string
          example: Bad Request
  responses:
    ValidationError:
      description: Validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: api-key

````