Skip to main content

API types

High availability blockchain APIs are essential for developing secure, efficient, and scalable applications on TON.

  • TON HTTP API — An API that allows working with the indexed blockchain information.
  • TON ADNL API — A secure API for communicating with TON using the ADNL protocol.
TON Infrastructure Status
  • status.toncenter - Displays various node activity statistics from the last hour.
  • Tonstat.us - A real-time Grafana dashboard, updated every 5 minutes.

Toncenter APIs

  • TON Index - Collects data from a full node into a PostgreSQL database and provides a convenient API for accessing indexed blockchain data.
  • toncenter/v2 - Enables HTTP access to TON Blockchain, allowing developers to retrieve account and wallet information, look up blocks and transactions, send messages to the blockchain, call smart contract methods, and more.

Third-party APIs

  • tonapi.io - A fast indexed API that provides basic data about accounts, transactions, blocks, application-specific data about NFT, auctions, jettons, TON DNS, and subscriptions. It also offers annotated transaction chain data.
  • TONX API - Designed for seamless dApp development, this API provides easy access to various tools and data.
  • dton.io - A GraphQL API that delivers data on accounts, transactions, and blocks, as well as application-specific data about NFT, auctions, jettons, and TON DNS.
  • ton-api-v4 - A lightweight API optimized for speed through aggressive CDN caching
  • docs.nftscan.com - NFT APIs for TON Blockchain.
  • everspace.center - A simple RPC API for accessing TON Blockchain.

Additional APIs

Toncoin rate APIs

Address convert APIs

info

It is preferable to convert addresses using a local algorithm. See Addresses section of documentation for details.

From friendly to raw form

/api/v2/unpackAddress

Curl

curl -X 'GET' \
'https://toncenter.com/api/v2/unpackAddress?address=EQApAj3rEnJJSxEjEHVKrH3QZgto_MQMOmk8l72azaXlY1zB' \
-H 'accept: application/json'

Response body

{
"ok": true,
"result": "0:29023deb1272494b112310754aac7dd0660b68fcc40c3a693c97bd9acda5e563"
}

From friendly to raw form

/api/v2/packAddress

Curl

curl -X 'GET' \
'https://toncenter.com/api/v2/packAddress?address=0%3A29023deb1272494b112310754aac7dd0660b68fcc40c3a693c97bd9acda5e563' \
-H 'accept: application/json'

Response body

{
"ok": true,
"result": "EQApAj3rEnJJSxEjEHVKrH3QZgto/MQMOmk8l72azaXlY1zB"
}

See also