Pricing
You pay per successful response (HTTP 2xx). Failed requests (4xx,
5xx) are never charged. If the balance is below the request price (for TON
feeds, the hour price), the API returns 400 with
{"detail": "Not enough balance..."} and does not charge; there are no partial
charges. In that case, billing headers still report a zero charge and the
current balance.
- The balance is checked only for a successful response: with a zero balance, request errors (
400 invalid_*,404,422) come as usual. - The charge is atomic: the balance never goes negative, even with parallel requests.
- The charge happens before the response body is sent. A dropped connection does not stop processing: if the response would have been successful, the charge goes through. Repeating a TON summary or feeds within an hour is free; other methods are charged again.
- A rare exception to “errors are not charged” — the billing
503: the charge may have gone through, check the balance. - Within an open TON hour, requests go through even with a zero balance.
- The API has no charge statement: only response headers and
balancein/v1/me/.
Cost per endpoint
Section titled “Cost per endpoint”| Endpoint | Cost |
|---|---|
GET /v1/me/ |
Free |
POST /v1/me/reset-token |
Free |
GET /v1/search/ |
1₽ |
GET /v1/groups/{identifier} |
2₽ |
GET /v1/users/{identifier} |
1₽ if groups and cl_groups are empty; otherwise 4₽ |
GET /v1/users/{identifier}/similar |
6₽ |
GET /v1/groups/{identifier}/similar |
1₽ |
GET /v1/groups/{identifier}/members |
1₽ / 5₽ / 15₽1 |
GET /v1/ton/wallets/{address} |
1₽, then free for 1 hour |
GET /v1/ton/wallets/{address}/… (feeds, counterparties) |
1₽ – 100₽ per hour, empty page — 0₽2 |
GET /v1/users/{identifier}/ton/… |
1₽ – 100₽ per hour, empty page — 0₽2 |
GET /v1/ton/transactions/{hash} |
1₽ |
All prices are in rubles (RUB).
¹ The price of access to the export depends on its size: 1–10 members cost 1₽, 11–49 cost 5₽, and 50 or more cost 15₽. See the endpoint documentation for the calculation and repeat-request rules.
² The first request to the feeds of an address or user grants access for one hour. The price depends on the number of counterparties: up to 20 (including 0) — 1₽, up to 100 — 3₽, up to 1,000 — 10₽, up to 10,000 — 30₽, more — 100₽. The count includes GRAM, token and NFT counterparties, including failed events, excluding the address itself. An empty page — 0₽ and does not open the hour, except for an address with an owner in the response. A user without wallets — 0₽. Details.
Billing response headers
Section titled “Billing response headers”Every successful response from a paid endpoint includes:
| Header | Meaning |
|---|---|
Telesint-Billing-Charged |
Amount charged for this request, in RUB. |
Telesint-Billing-Balance |
Current balance after the request. |
Cache-Control |
private, no-store, because the response contains account-specific billing data. |
Telesint-Billing-* values are whole rubles.
The response body keeps the documented resource model; billing information is not added to JSON.
/v1/me/, /v1/me/reset-token and error responses (except the balance 400) do
not have these headers.
Checking the balance
Section titled “Checking the balance”curl -H "Api-Key: $API_KEY" https://api.telesint.dev/v1/me/{ "id_": 436307416, "balance": 109992, "multiplier": 1, "roles": [], "notification_threshold": 20}balance— current available amount in rubles.multiplier— top-up multiplier. Does not affect request prices.notification_threshold— low-balance alert threshold, configured in the bot. The alert goes to the bot when the balance after a charge drops below the threshold, at most once a day.null— alerts are off.
Cost examples
Section titled “Cost examples”| Scenario | Math | Total |
|---|---|---|
| Look up 100 users with group data by ID | 100 × 4₽ |
400₽ |
| Fuzzy-search + fetch 50 profiles with group data | 50 × 1₽ + 50 × 4₽ |
250₽ |
| Crawl 20 groups + similar for each | 20 × 2₽ + 20 × 1₽ |
60₽ |
| Summary, all transfers and counterparties of a wallet with at most 20 counterparties within an hour | 1₽ + 1₽ |
2₽ |
| Summary of an exchange wallet | 1 × 1₽ |
1₽ |
Poll /v1/me/ every minute for a week |
10 080 × 0₽ | 0₽ |
Monitoring spend
Section titled “Monitoring spend”- Set
notification_thresholdin the bot to hear about low balance early. - Poll
/v1/me/periodically to watchbalance— that call is free. - After every paid response, read
Telesint-Billing-ChargedandTelesint-Billing-Balance: they show the amount charged and the current balance right after the request.