---
title: "Crypto Wallet Tracker: Check Any Wallet's Holdings"
description: "A crypto wallet tracker for your AI agent: read a whole wallet's holdings for a cent and check what the total covers. Six jobs, one real run for $0.3475."
canonical: "https://dev.monid.ai/tutorial/how-to-monid-onchain-data"
---

# What does this wallet hold?

> A crypto wallet tracker for your AI agent: read a whole wallet's holdings for a cent and check what the total covers. Six jobs, one real run for $0.3475.

- Web page: https://dev.monid.ai/tutorial/how-to-monid-onchain-data
- Tools for this job: [Onchain Data](https://dev.monid.ai/tools/onchain-data.md)

## Set up

Paste this to your agent once. It installs the Monid skill and asks for an API key from app.monid.ai.

```text
set up https://monid.ai/SKILL.md
```

## Jobs

Each job is a sentence to paste into your agent. Replace the parts in angle brackets.

### 1. Everything one address holds

Ask your agent:

```text
get the wallet detail for <address> with surf on monid and give me the total, the chain split and the top ten positions by usd value. if you pass a chain, use it only to filter the positions: the usd total stays at the ALL-CHAIN figure and does not follow the filter. do not paste the whole response back to me: it runs to hundreds of kilobytes
```

Listed price: $0.012 1,011 positions, one call.

Endpoints for this job:

- [`surf /wallet/detail`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)
- `api.strale.io /x402/wallet-balance-lookup`, $0.02376 (the one this guide ran)
- [`surf /wallet/net-worth`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)
- `x402.quicknode.com /base-mainnet`, $1.10 (the one this guide ran)

What a real run returned:

- **what one cent buys**: a thousand token balances each with a USD value, the NFTs, every active chain, the total and an exchange label at confidence 1; the counts differ per wallet, so read them rather than expecting ours
- **the chain filter does not filter the money**: asking for one chain filters the tokens and the NFTs correctly while the usd total stays at the all-chain figure. On a second wallet that made the chain-scoped answer 11.3x too high, which is the most expensive mistake available on this endpoint
- **and the NFT list is silently capped at 200**: no more-results flag, no total and no paging, and a chain-filtered call returned exactly 200 again sharing only 31 with the unfiltered 200. This page's original wallet only escaped it by holding fewer than the cap
- **the catch**: 530,801 bytes, roughly 132,700 tokens; the call is cheap and the answer does not fit in a context window, so summarise it in code before it reaches a model
- **26 chains, one that matters**: 99.999% of the value sits on the first one; active on 26 chains is true and nearly meaningless
- **the dearer twin is not a strict subset**: it costs about 2x and returns no token amounts, so it loses on price and on holdings. But it carries transfer recency, a provenance block and a settlement id that the cheaper one has nowhere, so a reader told it is a strict subset deletes fields they cannot get elsewhere

### 2. When one provider disagrees with itself

Ask your agent:

```text
get both the wallet detail and the net worth for <address> with surf on monid and tell me the gap AND the age. take the last element of the net worth series yourself: it returns samples over a day rather than a single figure, and its last sample can be over an hour old, so check its timestamp before you treat the two as the same moment
```

Listed price: $0.024 two views, one wallet.

Endpoints for this job:

- [`surf /wallet/net-worth`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)
- [`surf /wallet/detail`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)
- [`surf /wallet/history`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)

What a real run returned:

- **the gap is not rounding**: 0.043% on the first wallet and 10.55% on a second, from the same provider on the same day. The size is not the point; the cause is
- **the series is frozen, not merely sampled**: two calls seven minutes apart returned a byte-identical response with the same last timestamp, which sat 86 minutes behind real time. So the gap is the age of the series, and it grows until the feed moves
- **which is right**: nothing in either payload marks one as authoritative, so pick one endpoint, say which, and read the timestamp before you compare
- **it is not a number**: the net-worth call returns 288 samples at five-minute intervals spanning 23.9 hours; the field name does not warn you
- **what that is good for**: the series is the better answer when the question is whether a balance moved, and the worse one when the question is what it is now

### 3. Who holds the token

Ask your agent:

```text
get the holders of <token> with surf on monid and give me the top ten with their share. it returns twenty by default, so set the limit explicitly, and page with an offset: there is no page parameter and asking for one is refused before the call runs
```

Listed price: $0.012 twenty a page by default.

Endpoints for this job:

- [`surf /token/holders`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)
- [`surf /token/transfer-counterparties`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)
- [`surf /search/token`](https://dev.monid.ai/tools/surf.md), $0.006 (the one this guide ran)

What a real run returned:

- **the shape**: the largest single holder is at 8.286% and the top ten together are at 27.57%, so the head is real but not a majority
- **the paging**: twenty rows by default rather than a hundred, paged by offset rather than by a page number, and on a second token two hundred rows across two pages shared no addresses at all
- **what looked like an overlap**: the last row of one page and the first of the next carried bit-identical percentages on different addresses, which is a tie rather than a repeat. De-duplicate anyway, because it costs nothing, but do not expect the pages to overlap
- **the other side of it**: a counterparty call returns the ten addresses this wallet moves most with; the top one is 162,480 transfers and $635,888,587.86
- **what 1,000 rows costs**: at the default of twenty a row count like that is fifty calls, so set the limit before you budget

### 4. Read the window before the number

Ask your agent:

```text
get the transfer stats for <token> with surf on monid, passing the time range explicitly rather than taking the default of seven days. then DO NOT quote the dollar figure as it stands: it is summed over only the enriched rows while the transfer count beside it covers all of them, so divide it by the enriched ratio or do not quote it at all
```

Listed price: $0.012 big numbers, small window.

Endpoints for this job:

- [`surf /token/transfer-stats`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)
- [`surf /token/holders`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)
- [`surf /wallet/history`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)

What a real run returned:

- **the numbers**: 4,743,032 transfers, 632,382 unique senders, 824,651 unique receivers and $98,182,414,730.88 moved
- **over what**: about eight days, because the time range is a documented parameter that defaults to seven. An earlier version of this page called the window discoverable only by subtracting the timestamps; it is in the schema, and you can simply ask for thirty days instead
- **the dollar figure has a different denominator**: it is summed over only the ENRICHED rows while the transfer count printed beside it covers all of them. On a second token the enriched ratio was 0.107, and the dollar total implied a unit price of $1.28 against a real $15.11: an 11.8x understatement
- **so the instruction is not soft**: reporting the ratio alongside it is not enough. Divide the dollar figure by the enriched ratio, or do not quote it
- **and one field is a string**: the raw amount comes back as a 27-digit string, so it needs a big-number parse rather than a cast

### 5. Query the chain, and check the zero

Ask your agent:

```text
before you reach for the sql endpoint, check whether a dedicated endpoint answers the same question: on our second run the transfer-stats call returned exactly what the sql query did, for half the price. if you do use sql and it returns a zero, run an unfiltered count on the same tables before you report the zero: that costs the same again and is the only thing that separates no rows from no result
```

Listed price: $0.048 the query and its control.

Endpoints for this job:

- [`surf /onchain/sql`](https://dev.monid.ai/tools/surf.md), $0.024 (the one this guide ran)
- [`surf /onchain/schema`](https://dev.monid.ai/tools/surf.md), $0.024 (the one this guide ran)
- [`surf /onchain/tx`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)

What a real run returned:

- **it does not always happen**: on a second run the same shape of filtered query returned real data, so the false zero is a hazard to control for rather than a behaviour to expect
- **what happened the first time**: a query for one token's flow in and out of the address returned two rows of zero, status 200, billed $0.024
- **what was there**: a control on the same tables, billed $0.024 again, found 4,746,481 rows for the token and half a million inbound on the address
- **why this is the worst kind**: a zero looks like an answer. An error would have cost nothing and told you something; this cost full price and told you something false
- **so always control it**: an unfiltered count on the same tables costs the same again and it is the only thing that separates no rows from no result
- **and check you need sql at all**: the sql route is twice the price of the dedicated transfer-stats endpoint and on a second run reproduced it exactly, so the cheaper call is the first thing to try

### 6. Names, labels and what you already paid for

Ask your agent:

```text
resolve <name> to an address with strale on monid. take the exchange label from the wallet detail response you already have rather than calling the labels endpoint: it returns the same object
```

Listed price: $0.0238 one name, one lookup.

Endpoints for this job:

- `api.strale.io /x402/v2/ens-resolve`, $0.02376 (the one this guide ran)
- [`surf /wallet/labels/batch`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)
- [`surf /search/wallet`](https://dev.monid.ai/tools/surf.md), $0.024 (the one this guide ran)
- [`surf /wallet/detail`](https://dev.monid.ai/tools/surf.md), $0.012 (the one this guide ran)

What a real run returned:

- **it works**: a name resolved to its address in 36 ms with a provenance block naming the source and the fetch time
- **what it costs**: $0.0238 for one name, which is twice the price of reading an entire 1,011-position wallet; batch your names or budget for it
- **the duplicate**: the labels endpoint returns exactly the label object already inside the wallet call, at $0.012 for a field you have
- **the ones that failed free**: an entity search 502'd twice and billed $0.0000, and a wrong field NAME is refused before a run exists
- **but a wrong field VALUE is not free**: a well-formed address that holds nothing came back as an empty array with a 200 and billed $0.012, so the shape of the input decides whether a mistake costs you

## More

- [Every how-to guide](https://dev.monid.ai/tutorial.md)
- [Connect an agent to Monid](https://dev.monid.ai/index.md)
