GETGet address balance

TON Mainnethttps://ton-mainnet.nodit.io/api/v2/getAddressBalance
CU30

Returns the GRAM balance of an account in nanograms. 1 GRAM = 1,000,000,000 nanograms. A lightweight endpoint that returns only the balance without contract code, data, or other account details. Returns "0" for addresses that have never received any funds.

Query Parameters
addressstringrequired

The account address to query, in raw or user-friendly format.

seqnointeger (int32)

Query state at a specific block height. If omitted, returns the current state. Use this to look up historical data at a specific point in time.

Responses
okbooleanrequired

Returns true if the request succeeded; otherwise false. See the error field for details.

resultstringrequired

Response data. Present only when ok is true.

@extrastring

Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.

X-API-KEY
Request
cURL
curl -X GET "https://ton-mainnet.nodit.io/api/v2/getAddressBalance?address=EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN" \
  -H "X-API-KEY: {YOUR_API_KEY}"
Response
Example · 200
{
  "ok": true,
  "result": "771723719",
  "@extra": "1795684363:2:8.391"
}