---
title: "Health Check"
method: GET
path: "/health"
---

# Health Check

`GET /health`

## Request

- Base URL: `https://api.optionsdataapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optionsdataapi.com/health`
- Auth: none declared

Health check endpoint for monitoring and load balancers.

Returns:
- uptime: Server uptime in seconds and human-readable format
- renewal: Background renewal service status
- tradingview: TradingView CLI connectivity status
- database: SQLite connectivity (always "connected" once running)
- last_data_refresh: Timestamps of last data fetch per symbol

Usage:
    curl http://localhost:8001/health
    curl -s http://localhost:8001/health | python -m json.tool

For Kubernetes/liveness probes:
    curl -f http://localhost:8001/health

For detailed checks:
    curl -s http://localhost:8001/health | jq '.renewal'

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/optionsdataapi/apis/options-data-api.md) · [All operations](https://skmtc.dev/optionsdataapi/apis/options-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/optionsdataapi/apis/options-data-api/revisions/ccce476412d9?raw)
