# Statistics

Views, unique visitors and taps for 7 and 30 days, with a daily series — what an agent can report back to its owner.

```bash
curl https://tapmy.link/api/profiles/{id}/stats -H "Authorization: Bearer …"
```

```json
{
  "profileId": "66dc…", "username": "anna-bakes",
  "views7": 142, "views30": 611, "uniques7": 98, "uniques30": 402, "clicks7": 37, "clicks30": 160,
  "daily": [ { "day": "2026-08-10", "views": 12 }, … ],
  "clicksByBlock": { "a1b2c3d4": 91, "e5f6a7b8": 69 },
  "note": "Counted without cookies; crawlers and previews excluded. Rows are kept 90 days."
}
```

- A *view* is one page load from a non-crawler; a *unique* is one salted-per-day pseudonym of an address. Nothing is stored in the visitor's browser.
- *Clicks* are taps that went through the page's own redirect: short links (`path`) and the buttons the templates render. A tap on an embed or a messenger button is a click too.
- `clicksByBlock` is keyed by block `id` — read the page to map ids to labels.
- Requests from `curl`, headless browsers and anything with "bot" in the User-Agent are not counted, so your own checks do not inflate the numbers.

A weekly summary for the owner is three numbers and one sentence: views, uniques, the most-tapped link. Do not present views as reach; they are page loads.

---
Part of the [Tapmy.link agent documentation](https://tapmy.link/documentation/agents.md). Canonical: https://tapmy.link/documentation/agents/statistics.md
