Get a short link's click count
get_link_statsRetrieve the total number of times a Linkonda short link was followed by slug, with optional custom-domain support for accurate redirect counts.
Instructions
Return the total number of times a short link has been followed. Linkonda stores no per-visitor information, so there is no geographic, device or referrer breakdown to report. For an A/B split link it also returns each variant's count, but only to the link's owner, through that account's API key (paid plans). Without host it looks the short code up on Linkonda's own short-link host; set host for a link on a custom domain. No API key needed for the total.
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": {
"slug": "<slug>"
},
"name": "get_link_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Optional. The hostname of the custom domain the link is on, such as links.example.com, without https:// or a path. Omit it for a link on Linkonda's own short-link host. | |
| slug | Yes | The link's short code (the part after the domain). |