Get Link Analytics Breakdown
get_aggregate_statsGet aggregated analytics for a link: clicks by day (7/30/90d), top countries, device breakdown, top referrers, inbound source breakdown (ref/partner params), and UTM breakdown (source/medium/campaign). Available on Builder plans and higher, with up to 365 days of history. Note: analytics events captured during an overage period are excluded until the billing cycle resets or the monthly click limit increases.
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": {
"short_code": "<short_code>"
},
"name": "get_aggregate_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Analytics window (default "30d"). Tier limits apply. | |
| short_code | Yes | The short code to analyze |