Skip to main content

TON Center API

Standard HTTP JSON RPC. Similar to other blockchain APIs.

Clients connect to the ton-http-api server that proxies requests to the lite server (node) using TonLib.

You can connect to public toncenter.com or run your own http-api instance.

Pros & Cons

  • ✅ Habitual and suitable for a quick start, this is perfect for every newcomer looking to play with TON.

  • ✅ Web-oriented. Perfect to interact with TON transactions, smart contracts from Web.

  • ❌ Simplified. It's not possible to receive information where you need an indexed TON API.

  • ❌ HTTP-Middleware. You can't fully trust server responses, because they do not contain Merkle proofs to validate that your data is genuine.

Get API key

To work with public TonCenter API you need a key:

  • Get API key for the Mainnet and the Testnet: @tonapibot

RPC Nodes

See Also