Get page stats
get_page_statsVisits of the user's pages over the last days days, per page: views,
daily views, channels (where visitors came from), top referrers and
countries, clicks on its links with click_channels and destinations (no
query strings), and automations: its instagram_dm views and clicks by the
automation whose DM sent them (since November 2026). Plus site-wide channels.
Channels: instagram_dm (the automations' DM links, tagged ?source=instagram),
instagram_bio (untagged, from Instagram: almost always the bio link),
saypage (from another of the user's pages), other_sites, direct (typed,
bookmarked, or an app that hides it), or a link shared elsewhere with ?source=
tiktok, facebook, youtube, linkedin, pinterest, x, threads, email, newsletter,
website or qr; a click with none is other. Never suggest ?source=instagram on a
bio link: it would count as DM visits.
Every page load counts, link-preview bots included. Clicks are taps, not people or sales, and a few are missed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_page_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||