POSTGet 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.

Request Body
addressstringrequired

Account address in raw format (e.g., 0:ca6e321c...) or user-friendly format (e.g., EQDKbjIcfM...). All formats are automatically detected.

seqnostring

Masterchain block sequence number. Query the account state as it was at this block height. If omitted, returns the current state.

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 POST "https://ton-mainnet.nodit.io/api/v2/getAddressBalance" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN"
  }'
Response
Example · 200
{
  "ok": true,
  "result": "771723719",
  "@extra": "1795684363:2:8.391"
}