Get link stats
get_link_statsShow how a link is doing: total and unique clicks, new and returning visitors, clicks by day, busiest hours of the week, top countries, top referrers, visits from AI assistants such as ChatGPT or Claude, browsers, systems and devices. For a bio page it also gives views and clicks for each button, and on a paid plan the conversions. Visits from bots are reported apart and are not in the totals.
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_link_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The link's id, as returned by list_links or shorten_link. Give either id or code. | |
| code | No | The link's code (the part after siz.la/) or its full short address. Give either id or code. | |
| days | No | How many days back to report: 7, 30 or 90. The plan may keep less history than that. |