Skip to main content
Query TON blockchain data through the REST API. The SDK exposes two API versions via a single client — V2 for direct liteserver access and V3 for indexed data.
API key is optional — without a key, requests are throttled to ~1 RPS. Get a key from the @toncenter bot.

Quick Example

Networks

V2 or V3

They query the same blockchain but serve different purposes. Use V2 when you need the latest account state, want to send a transaction, run a smart contract get-method, or work with blocks and shards. Use V3 when you need historical transactions, Jetton/NFT analytics, address book lookups, action traces, or paginated batch queries.