Skip to Content
iban.pizza
API reference

Liveness and data freshness.

Always returns 200 while the service can answer. Stale data is reported in the body as `status: stale` rather than as a failure, so that a data problem does not remove a working instance from a load balancer.

GET
/healthz

Always returns 200 while the service can answer. Stale data is reported in the body as status: stale rather than as a failure, so that a data problem does not remove a working instance from a load balancer.

Response Body

Service state and the age of every dataset.

application/json
  1. response

Small on purpose; orchestrators poll it. Provenance is at /v2/data.

status?string
Value in"ok""stale""degraded"
version?string
uptime?string
records?integer
stale?boolean
Example Request
curl -X GET 'https://iban.pizza/healthz'
Example Response200
{  "status": "ok",  "version": "string",  "uptime": "string",  "records": 0,  "stale": true}