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

# Liveness check



## OpenAPI

````yaml /price-data/openapi.json get /health
openapi: 3.1.0
info:
  title: Price Data API
  version: 1.0.0
  description: >-
    The PricePirate Price Data API: asynchronous price and offer lookups across
    idealo, klarna, pricerunner, amazon, google-shopping, bol. Create a job,
    poll it, read the results, and check your credits, usage and billing.
    Authenticated with your enterprise API key via the x-api-key header.


    This document describes API v2, under `/api/v2`. The host name
    `api-v2.pricepirate.com` is not the API version. v2 answers `202 Accepted`
    with a `Location` header while a job is running, so HTTP clients that follow
    that pattern poll on their own. The legacy v1 paths under `/api` keep
    working unchanged and are listed under **Legacy (v1)**; they answer `200`
    instead of `202`.
servers:
  - url: https://api-v2.pricepirate.com
    description: Production
security: []
tags:
  - name: Jobs
    description: Create jobs, poll them and read their results.
  - name: Account
    description: Your balance, limits, usage and billing.
  - name: Meta
    description: This document.
  - name: Observability
    description: Service health.
  - name: Legacy (v1)
    description: >-
      API v1 under `/api`. Kept for existing integrations; use the `/api/v2`
      paths for new ones.
paths:
  /health:
    get:
      tags:
        - Observability
      summary: Liveness check
      responses:
        '200':
          description: Service is up
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthSuccess'
components:
  schemas:
    HealthSuccess:
      type: object
      properties:
        ok:
          type: boolean
          enum:
            - true
      required:
        - ok

````

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