Tonnected docs
Methodology & data sources
Tonnected aggregates public TON-ecosystem data sources. All third-party calls go server-side through cached route handlers — no API keys ship to the client. Cache TTLs are tuned for each provider; hot data (prices, balances) refreshes every 30 seconds.
| Source | Endpoint | Covers | Auth |
|---|---|---|---|
| TonAPI | tonapi.io | Accounts, jettons, NFTs, traces | Optional bearer token |
| TON Center | toncenter.com | Raw chain data, blocks, transactions | Optional API key |
| STON.fi | api.ston.fi/v1 | DEX pools, swaps, TVL | Public |
| DeDust | api.dedust.io/v2 | DEX pools, swaps, TVL | Public |
| DefiLlama | api.llama.fi | TVL, stablecoins, fees | Public |
| GeckoTerminal | api.geckoterminal.com | OHLCV candles, pool metadata | Public (key lifts limits) |
| DexScreener | api.dexscreener.com | Token discovery, trending pairs | Public |
| CoinGecko | api.coingecko.com/v3 | Fiat conversions, market context | Public |
Caching
Hot data (prices, balances): in-memory or Redis with 10–30s TTL. Warm data (TVL, OHLCV): Postgres with 1–5 minute TTL via TanStack Query. Historical: daily refresh job.