---
title: "Check basic node health"
method: GET
path: "/-/healthy"
tags: ["General"]
---

# Check basic node health

`GET /-/healthy`

## Request

- Base URL: `aptos-mainnet.nodereal.io/v1/{api_key}/v1` (relative, and the document’s source URL is not known)
- URL: `aptos-mainnet.nodereal.io/v1/{api_key}/v1/-/healthy`
- Auth: none declared

By default this endpoint just checks that it can get the latest ledger
info and then returns 200.

If the duration_secs param is provided, this endpoint will return a
200 if the following condition is true:

`server_latest_ledger_info_timestamp >= server_current_time_timestamp - duration_secs`

## Query parameters

- `duration_secs` integer

## Response `200`

- HealthCheckSuccess: Representation of a successful healthcheck
  - `message` string, required

## Other responses

- `500`
- `503`

---

[API](https://skmtc.dev/nodereal/apis/aptos-node-api.md) - [All operations](https://skmtc.dev/nodereal/apis/aptos-node-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nodereal/apis/aptos-node-api/revisions/46b3dead5102?raw)
