Skip to content
GET /v1/account

Balance, state and last transaction for an address

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/ton-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/ton-api/v1/account" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ton-api/v1/account", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ton-api/v1/account");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/ton-api/v1/account",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "state": "active",
        "source": "toncenter",
        "address": "-1:5555555555555555555555555555555555555555555555555555555555555555",
        "is_active": true,
        "balance_ton": 2475.547956013,
        "balance_nano": "2475547956013",
        "last_transaction": {
            "lt": "83036841000003",
            "hash": "SQUm1aFZ9ev8M5dlwmeIeCvawF45kmEO8l42z6PqD+s="
        }
    },
    "meta": {
        "timestamp": "2026-06-11T16:47:25.106Z",
        "request_id": "fa0e7fe4-3c65-4e99-b4a4-2fc954329831"
    },
    "status": "ok",
    "message": "Account retrieved successfully",
    "success": true
}