> ## Documentation Index
> Fetch the complete documentation index at: https://companyname-a7d5b98e-ton-storage.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

Access TON data via public liteservers, hosted APIs (TON Center v2/v3, TonAPI, dTON), or self-hosted options.

## Comparison table

| Feature                   | Public liteservers                                                    | TON Center v2                                                                            | TON Center v3                                                         | TonAPI                                                                                   | dTON                               |
| ------------------------- | --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------- |
| **Can be self-hosted?**   | ✅                                                                     | ✅                                                                                        | ✅                                                                     | ❌                                                                                        | ❌                                  |
| **Open-source**           | ✅                                                                     | ✅                                                                                        | ✅                                                                     | 🟡 Limited<sup>1</sup>                                                                   | ❌                                  |
| **Indexer**<sup>2</sup>   | ❌                                                                     | ❌                                                                                        | ✅                                                                     | ✅                                                                                        | ✅                                  |
| **Archival**<sup>3</sup>  | 🟡 Varies                                                             | 🟡 Depends on liteserver                                                                 | ✅                                                                     | ✅                                                                                        | ✅                                  |
| **Proofs**<sup>4</sup>    | ✅                                                                     | ❌                                                                                        | ❌                                                                     | ❌                                                                                        | ❌                                  |
| **Mainnet endpoint**      | [Config](https://ton-blockchain.github.io/global.config.json)         | [Endpoint](https://toncenter.com/api/v2)                                                 | [Endpoint](https://toncenter.com/api/v3)                              | [Endpoint](https://tonapi.io/v2)                                                         | [GraphQL](https://dton.io/graphql) |
| **Testnet endpoint**      | [Config](https://ton-blockchain.github.io/testnet-global.config.json) | [Endpoint](https://testnet.toncenter.com/api/v2)                                         | [Endpoint](https://testnet.toncenter.com/api/v3)                      | —                                                                                        | —                                  |
| **Source / Deploy guide** | [Run node / liteserver](/ecosystem/node/setup-mytonctrl)              | [Deploy](https://github.com/toncenter/ton-http-api)                                      | [Source](https://github.com/toncenter/ton-indexer)                    | [OpenTonAPI](https://github.com/tonkeeper/opentonapi)                                    | —                                  |
| **Documentation**         | [Guide](/ecosystem/node/setup-mytonctrl)                              | [Docs](/ecosystem/api/toncenter/v2/accounts/convert-raw-address-to-user-friendly-format) | [Docs](/ecosystem/api/toncenter/v3/accounts/get-account-address-book) | [REST](https://docs.tonconsole.com/tonapi/rest-api), [Swagger](https://tonapi.io/api-v2) | [Site](https://dton.io/)           |

<sup>1</sup> TonAPI's full indexer is not open-source; [OpenTonAPI](https://github.com/tonkeeper/opentonapi) is a limited open-source version.

<sup>2</sup> **Indexer** means the service maintains its own database derived from blockchain data for richer queries (traces, jettons, NFTs, etc.), beyond raw liteserver RPC.

<sup>3</sup> **Archival** indicates historical data retention. For liteservers, this depends on the node's archival configuration; hosted indexers typically keep full history, but exact retention policies are service-specific.

<sup>4</sup> **Proofs** denote responses that can be verified without trust using cryptographic proofs from the network (liteserver/tonlib-based). HTTP indexers typically do not return proof bundles in their REST/GraphQL responses.

## References

* [TON node and liteserver source](https://github.com/ton-blockchain/ton)
* [Mainnet liteserver config](https://ton-blockchain.github.io/global.config.json), [testnet config](https://ton-blockchain.github.io/testnet-global.config.json)
* [TON Center landing page](https://toncenter.com)
* [TON Center v2 source and deploy](https://github.com/toncenter/ton-http-api)
* [TON Center v3 source](https://github.com/toncenter/ton-indexer)
* [TonAPI site](https://tonapi.io), [REST docs](https://docs.tonconsole.com/tonapi/rest-api), [Swagger](https://tonapi.io/api-v2)
* [OpenTonAPI (limited open-source)](https://github.com/tonkeeper/opentonapi)
* [dTON GraphQL](https://dton.io/graphql)
