Skip to main content
GET
/
api
/
v2
/
getAddressInformation
Get address information
curl --request GET \
  --url https://toncenter.com/api/v2/getAddressInformation \
  --header 'X-API-Key: <api-key>'
{
  "ok": true,
  "result": {
    "@type": "raw.fullAccountState",
    "balance": "<string>",
    "extra_currencies": [
      {
        "@type": "extraCurrency",
        "id": 123,
        "amount": "<string>"
      }
    ],
    "last_transaction_id": {
      "@type": "internal.transactionId",
      "lt": "<string>",
      "hash": "<string>"
    },
    "block_id": {
      "@type": "ton.blockIdExt",
      "workchain": 123,
      "shard": "<string>",
      "seqno": 123,
      "root_hash": "<string>",
      "file_hash": "<string>"
    },
    "code": "<string>",
    "data": "<string>",
    "frozen_hash": "<string>",
    "sync_utime": 123,
    "state": "uninitialized",
    "suspended": true
  },
  "@extra": "<string>"
}

Authorizations

X-API-Key
string
header
required

Query Parameters

address
string
required

The account address to query. You can use any format: raw (0:abcd), base64 (EQ), or base64url (UQ). The API automatically detects and converts the format. A TON account address. Accepts raw format (workchain:hex like 0:abc...), base64 bounceable (EQ...), base64 non-bounceable (UQ...), or base64url. All formats are automatically detected.

seqno
integer<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.

Response

OK

Response containing account state, balance, code, and data.

ok
boolean
default:true
required

Indicates if the request succeeded. If false, check the error field for details.

result
object
required

The response data. Only present when ok is true.

@extra
string

Optional request ID that you can pass in the request and receive back in the response. Useful for matching async responses.