Wallet counterparties
Addresses the wallet exchanged GRAM with: number of transfers, amounts, last transfer and owner.
Authentication
Section titled “Authentication”Api-Key header required.
Parameters
Section titled “Parameters”| Name | Location | Type | Required | Description |
|---|---|---|---|---|
address |
path | string | yes | Address in any form. |
sort |
query | count | volume | last |
no | count — by number of transfers, volume — by total received and sent, last — by last transfer. Always descending; ties are broken by address_raw ascending, the order is stable. Lowercase only, otherwise 422. Defaults to count. |
page |
query | integer | no | Page number, starting at 1. No upper bound. |
limit |
query | integer | no | Records per page, 1–1000. Defaults to 100. |
has_owner |
query | boolean | no | Only counterparties with an owner, see below. true/false, also 1/0; case-insensitive. Defaults to false. |
There are no from, to or direction filters: counterparties are counted over the
whole period, such parameters are ignored. The list is computed at request time: if
paging crossed the daily load — around 06:10 UTC (09:10 MSK) — start over.
Examples
Section titled “Examples”curl -H "Api-Key: $API_KEY" \ "https://api.telesint.dev/v1/ton/wallets/UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L/counterparties?sort=volume&limit=20"import os, requests
response = requests.get( "https://api.telesint.dev/v1/ton/wallets/UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L/counterparties", params={"sort": "volume", "limit": 20}, headers={"Api-Key": os.environ["API_KEY"]}, timeout=30,)response.raise_for_status()known_people = [c for c in response.json()["data"]["items"] if c["owner"]]const res = await fetch( 'https://api.telesint.dev/v1/ton/wallets/UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L/counterparties?sort=volume&limit=20', { headers: { 'Api-Key': process.env.API_KEY } },);if (!res.ok) throw new Error(`HTTP ${res.status}`);const { data } = await res.json();const knownPeople = data.items.filter((c) => c.owner);Response — 200 OK
Section titled “Response — 200 OK”Response to the cURL request above. The address has 13 counterparties (see the summary), all on the first page; one is shown.
{ "data": { "wallet": { "address": "UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L", "address_raw": "0:b915a55524feae38acf18e9bf71838478106b3e1fc2573edcdf08da31c108ec7", "is_telegram_wallet": true, "owner": { "id": 12345, "update": "2026-11-10T03:58:32Z" }, "explorer_url": "https://tonviewer.com/UQC5FaVVJP6uOKzxjpv3GDhHgQaz4fwlc-3N8I2jHBCOx16L" }, "items": [ { "address": "UQB4F-TTGJIHkywFmsmTP0Wk-LxbwZ41QC4TtnwHiv8AW3ku", "address_raw": "0:7817e4d3189207932c059ac9933f45a4f8bc5bc19e35402e13b67c078aff005b", "is_telegram_wallet": true, "owner": null, "in_count": 1, "out_count": 0, "received_nano": "100100000", "received_ton": 0.1001, "sent_nano": "0", "sent_ton": 0.0, "last_time": "2026-10-28T13:05:07Z" }, { "…": "12 more counterparties" } ] }, "pagination": { "page": 1, "limit": 20, "has_next_page": false }}Counterparty fields — data.items[]
Section titled “Counterparty fields — data.items[]”| Field | Type | Notes |
|---|---|---|
address, address_raw |
string | Counterparty address. |
is_telegram_wallet |
boolean | Activated Telegram wallet per the list as of the last load, see the overview. |
owner |
{ id, update } | null |
User who shows this wallet in the profile at request time. |
in_count |
integer | Number of transfers received from the counterparty, including undelivered ones (delivered: false) and refunds (bounced: true). |
out_count |
integer | Number of transfers sent to the counterparty, including undelivered ones and refunds. |
received_nano, received_ton |
string, number | Amount received from it. Returned transfers excluded. |
sent_nano, sent_ton |
string, number | Amount sent to it. Returned transfers excluded. |
last_time |
string (date-time) | Last transfer with it in either direction, including returned ones. |
Only GRAM transfers are counted, including contract service messages. The address
itself is not in the list, even if it sent transfers to itself. Amounts exclude
returned transfers and refunds; a counterparty with only returned transfers is
listed with zero amounts. sort=volume — by the sum of received and sent.
Exchanges, jetton wallets and other contracts are not labeled.
Owners only
Section titled “Owners only”has_owner=true keeps only addresses that have an owner. Useful for
large wallets: out of tens of thousands of counterparties, the people show up at once.
- Candidates come from the list of profile addresses, which is updated once a day: a wallet added to a profile today enters the filter tomorrow.
- Then the owner is checked against the profiles at request time, and addresses without an owner are dropped. So
owneris notnullin any record. pageandlimitcount over the candidate list; dropping happens after pagination. A page may be shorter thanlimitand even empty withhas_next_page: true. Request pages untilhas_next_pageisfalse.
Billing
Section titled “Billing”Included in the hour of access to the address, see billing.
Errors
Section titled “Errors”400— unreadable address, testnet address, or insufficient balance.422— invalidsort,pageless than1,limitoutside1–1000, unreadable or emptyhas_owner.- A deep page may exceed the server timeout —
503. 503— blockchain data is temporarily unavailable, withRetry-After.