# XOD — reading the chain through the API (for agents) > All read calls of the node API: fields, errors, limits; the MCP server. Entry point for agents: https:///llms.txt Base URL: `https://` — any XOD node by IP (no domain; seed list and a script to find a live node — `https:///llms.txt`, «Entry points»; live list — `GET /nodes`). The node serves the API itself. All answers are JSON. Amounts are integer **base units as decimal strings** (field names end with `_micro`): `1 XOD = 100000000` base units. Hex is lowercase without `0x`. Errors: HTTP 4xx/5xx with `{"error": "CODE", "detail": "…"}`; `503` — busy, retry later. | what you need | call | look at | |---|---|---| | is the network alive | `GET /status` | `height`, `finalized_height`, `finality_lag`, `peers`, `version` | | what is final | `GET /finality` | `finalized.height`, `finalized.hash`, `validators`, `quorum` | | last blocks | `GET /blocks?last=10` | `height`, `hash`, `time`, `transfers`, `final` | | one block | `GET /block/` | header fields; `GET /block//txs` — all transfers | | who mines | `GET /miners` | `miners[]`: `node_id`, `reward_to`, `threads`, `version`, `time` | | shadow list (candidates to the AMV council) | `GET /shadow`, `GET /shadow/` | shares in the last windows, `ready`, newcomer rules | | an account | `GET /account/` | `balance_micro`, `nonce`, `height`; `proof` — for light clients | | an account's transfers | `GET /account//txs` | recent transfers (for showing; for accounting use block scans) | | mining rewards | `GET /account//rewards` | blocks mined by the address and the reward of each (node 0.1.14+) | | a transfer | `GET /tx/` | `status`: `pending` → `accepted` → `in_block` → `final`; `dropped` + `code` | | a bridge claim | `GET /bridge/claim/` | the claim of a bridge transfer (recipient, amount); read only | Examples: ``` curl -s https:///status curl -s https:///account/x01… # balance_micro / 100000000 = XOD curl -s "https:///blocks?last=5" ``` Rules of thumb: - A block is final when its height ≤ `finalized_height`. Usually 2–3 blocks after inclusion (blocks are ~15 s). - One node's answer is a hint. For money decisions compare `finalized.hash` at the same height on two nodes. - The full list of paths is at `/dev/api.html` and `/static/api/openapi.yaml`. ## MCP server `xod-mcp` (read only) The same reads as tools for any MCP agent: status, blocks, balance with proof, transfer, finality, mining, «is my miner working». Config: `{"mcpServers": {"xod": {"command": "xod-mcp"}}}`. Download (signed, check `SHA256SUMS`): https:///downloads/mcp/xod-mcp-linux.tar.gz, https:///downloads/mcp/xod-mcp-windows.zip, https:///downloads/mcp/SHA256SUMS.