Documentation

Documentation/API reference/Endpoints/

GET /v1/health

Liveness

Answers 200 {"status":"ok"} when the application server is up and serving its API routes. It needs no key, reads nothing from the request, makes no database call and is not rate limited. It does not say whether the database is reachable: a payment can still fail while this answers ok.

Request sample

curl "$UNDERLAYER_BASE_URL/v1/health"
import os
import requests

response = requests.get(
    os.environ["UNDERLAYER_BASE_URL"] + "/v1/health",
)
print(response.status_code, response.json())
const response = await fetch(process.env.UNDERLAYER_BASE_URL + "/v1/health", {
  method: "GET",
});
console.log(response.status, await response.json());

Written from the example on this page. UNDERLAYER_BASE_URL is https://api.underlayer.eu; UNDERLAYER_API_KEY is yours, given at onboarding.

Responses

StatusBodyDescription
200Health

The application server is up.

Examples of 200

Example: ok

{
  "status": "ok"
}

© 2026 Underlayer, Lithuania. info@underlayer.eu System status Privacy notice