> For the complete documentation index, see [llms.txt](https://docs.harmony.one/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.harmony.one/home/network/validators/monitoring/node-sync.md).

# Node Sync

### The /node-sync endpoint

To check whether your node is synchronized with the leader, there's a built-in endpoint at port `5000` called `/node-sync`.  It returns a boolean flag `true` or `false` to indicate whether your node is caught up to the latest block, on par with the majority node-runners.

This endpoint can be used to feed into your favorite dashboard metrics (Grafana, CloudWatch, etc.) and trigger alarms (Healthchecks.io, UptimeRobot, PagerDuty, webhooks into Discord, etc.) that can to help monitor your node operations.  If you're running a node service to host the RPC endpoint on port `9500`, this will be a great way to check the health of your nodes behind a load balancer and take unhealthy nodes out of rotation.
