spicrawl-com Health API

Liveness and readiness probes.

Operations 2

GET /healthz Liveness #
GET /readyz Readiness #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spicrawl-com:spicrawl-com-health-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spicrawl-com-health-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Spicrawl Com Health API
  version: 1.0.0
  contact:
    name: Spicrawl support
    url: https://docs.spicrawl.com
  description: 'Operations tagged Health across 2 of this provider''s published API definitions: spicrawl-openapi.yaml, spicrawl-com-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.spicrawl.com
  description: Production
- url: http://localhost:8080
  description: Local development
security:
- bearerAuth: []
tags:
- name: Health
  description: Liveness and readiness probes.
paths:
  /healthz:
    get:
      tags:
      - Health
      operationId: healthLive
      summary: Liveness
      description: 'Outside `/v1` and unauthenticated. Answers 200 whenever the process can serve HTTP, and checks no

        dependency, so it stays 200 during a database or worker outage. Use `/readyz` to decide whether to

        send traffic.'
      security: []
      responses:
        '200':
          description: The process is alive.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthLive'
              examples:
                ok:
                  value:
                    status: ok
    servers:
    - url: https://api.spicrawl.com
      description: Production
    - url: http://localhost:8080
      description: Local development
  /readyz:
    get:
      tags:
      - Health
      operationId: healthReady
      summary: Readiness
      description: 'Outside `/v1` and unauthenticated. Checks Postgres, Redis (when configured) and each configured

        data-plane worker (`fetch`, `extract`, `render`) with a 2-second budget, and reports whether the

        process is draining. Returns 503 with the same body shape (not a Problem) when any check fails. Stop

        routing to this instance on 503; do not restart it.'
      security: []
      responses:
        '200':
          description: Ready for traffic.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthReady'
              examples:
                ready:
                  value:
                    status: ready
                    checks:
                      postgres: ok
                      redis: ok
                      fetch: ok
                      extract: ok
                      render: ok
        '503':
          description: Not ready. `checks` names what failed. This body is plain JSON, not a Problem.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthReady'
              examples:
                notReady:
                  value:
                    status: not_ready
                    checks:
                      postgres: ok
                      redis: unreachable
                      render: ok
                draining:
                  value:
                    status: not_ready
                    checks:
                      accepting: draining
                      postgres: ok
                      redis: ok
    servers:
    - url: https://api.spicrawl.com
      description: Production
    - url: http://localhost:8080
      description: Local development
components:
  schemas:
    HealthLive:
      type: object
      required:
      - status
      properties:
        status:
          type: string
          const: ok
          description: Always `ok`.
    HealthReady:
      type: object
      required:
      - status
      - checks
      properties:
        status:
          type: string
          enum:
          - ready
          - not_ready
          description: '`ready` with HTTP 200; `not_ready` with HTTP 503.'
        checks:
          type: object
          description: 'Per-dependency result. Keys: `postgres`, `redis` (when configured), `fetch`, `extract`, `render` (configured workers), and `accepting` (present only as `draining` during shutdown).'
          properties:
            accepting:
              type: string
              const: draining
              description: Present only while the process is shutting down.
            postgres:
              type: string
              enum:
              - ok
              - unreachable
            redis:
              type: string
              enum:
              - ok
              - unreachable
          additionalProperties:
            type: string
            enum:
            - ok
            - unreachable
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: spicrawl_live_… | spicrawl_test_…
      description: '`Authorization: Bearer <key>`. Read the key from the `SPICRAWL_API_KEY` environment

        variable; never hard-code or log it. `spicrawl_test_…` keys can never spend live

        credits. Scopes: `scrape`, `batch`, `sessions` (granted by default), `browser`

        and `read` (granted deliberately). A missing scope is `403

        ERR::AUTH::INSUFFICIENT_SCOPE` naming the scope.

        '
    apiKeyQuery:
      type: apiKey
      in: query
      name: apikey
      description: 'The key as a query parameter. Only for clients that cannot set headers, such as

        a WebSocket upgrade from a browser-automation library. Prefer `bearerAuth` everywhere

        else, because URLs end up in logs.

        '
externalDocs:
  description: Guides and error reference
  url: https://docs.spicrawl.com
x-refined-from:
- spicrawl-openapi.yaml
- spicrawl-com-openapi.yaml