Getting started
Prerequisites
Section titled “Prerequisites”- Your API token (available in the bot’s personal cabinet).
- Any HTTP client:
curl, Python, Node.js, Postman.
Base URL
Section titled “Base URL”https://api.telesint.devAll endpoints live under /v1/.
First request
Section titled “First request”Use the free /v1/me/ endpoint to verify your token and check the balance:
export API_KEY=your_tokencurl -H "Api-Key: $API_KEY" https://api.telesint.dev/v1/me/Successful response:
{ "id_": 436307416, "balance": 109992, "multiplier": 1, "roles": [ { "name": "user", "description": null, "scopes": [ { "name": "read_users", "description": null }, { "name": "read_groups", "description": null }, { "name": "search", "description": null } ] } ], "notification_threshold": 20}If you get a 401, check the token; 403 — the Api-Key header is missing. If
balance is low, top it up before calling paid endpoints — paid calls with
insufficient balance return 400 with {"detail": "Not enough balance..."}
and do not charge.
Write paths exactly as documented. /v1/me/ has a trailing slash: without it
you get 307 to /v1/me/ (curl without -L gets an empty body). TON paths
(/v1/ton/…, /v1/users/{identifier}/ton/…) work with or without the
slash.
TON: from username to counterparty
Section titled “TON: from username to counterparty”Whom a user sent GRAM to and who is behind the recipient.
-
User profile — 1₽, with groups — 4₽. You need
data.idfrom the response (12345in the example); wallets are inton_wallet(current) andton_wallets(past).Terminal window curl -H "Api-Key: $API_KEY" https://api.telesint.dev/v1/users/johndoe -
Outgoing transfers across all their wallets, including past ones — 1₽–100₽ per hour (0₽ if the page has no outgoing transfers). Within the hour the next pages (
page=2…),/ton/jettonsand/ton/nftsof this user are free.Terminal window curl -H "Api-Key: $API_KEY" \"https://api.telesint.dev/v1/users/12345/ton/transfers?direction=out&limit=100"In each record
destination.address_rawis the recipient,destination.owneris who shows this address in the profile now. -
Recipient summary — 1₽: owner, past owners, totals and
lists_price— the price of an hour of its feeds and counterparties. Usedestination.addressof any record from step 2; the address below is an example.Terminal window curl -H "Api-Key: $API_KEY" \https://api.telesint.dev/v1/ton/wallets/UQBFUCSBDK710QYVnBocfezDNvO7xxmLrJdAnLE8wciMF3Kc
Total from 3₽ (1₽ + 1₽ + 1₽) if the user has up to 20 counterparties and the
profile has no groups. johndoe from the example has groups: the profile is 4₽,
the total from 6₽. If step 2 finds no outgoing transfers (0₽), there is no one
to follow: the total is the profile price. The recipient’s counterparties in one list —
/counterparties, another lists_price
per hour. More — TON wallets.
What to read next
Section titled “What to read next”- Authentication — how to pass the token.
- Rate limits — request and concurrency quotas.
- Pricing — per-endpoint cost.
- Errors — error shapes.
- TON wallets — transfers, owners, hourly billing.