get_link_stats
Retrieve click statistics for a single shortened link, including breakdowns by country, device, referrer, and day, with an optional date range.
Instructions
Click statistics for one link, with breakdowns by country, device, referrer and day. Optionally limit the date range. For all links at once use get_analytics. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_link_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Link id (UUID) as returned by shorten_url, shorten_urls or list_links. | |
| to | No | End date, YYYY-MM-DD. | |
| from | No | Start date, YYYY-MM-DD. |