Skip to content

Getting started

  • Your API token (available in the bot’s personal cabinet).
  • Any HTTP client: curl, Python, Node.js, Postman.
https://api.telesint.dev

All endpoints live under /v1/.

Use the free /v1/me/ endpoint to verify your token and check the balance:

Terminal window
export API_KEY=your_token
curl -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.

Whom a user sent GRAM to and who is behind the recipient.

  1. User profile — 1₽, with groups — 4₽. You need data.id from the response (12345 in the example); wallets are in ton_wallet (current) and ton_wallets (past).

    Terminal window
    curl -H "Api-Key: $API_KEY" https://api.telesint.dev/v1/users/johndoe
  2. 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/jettons and /ton/nfts of 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_raw is the recipient, destination.owner is who shows this address in the profile now.

  3. Recipient summary — 1₽: owner, past owners, totals and lists_price — the price of an hour of its feeds and counterparties. Use destination.address of 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.

  1. Authentication — how to pass the token.
  2. Rate limits — request and concurrency quotas.
  3. Pricing — per-endpoint cost.
  4. Errors — error shapes.
  5. TON wallets — transfers, owners, hourly billing.