Skip to main content
GET
Retrieve clicks

Query Parameters

The ID of the link to retrieve analytics for.
string
The domain to retrieve analytics for (e.g. dub.sh).
string
The key (slug) of the link.
string
The interval for the analytics. values: 24h, 7d, 30d, 90d, ytd, all. Defaults to 30d.
string
The parameter to group the analytics by. values: count, browser, os, referer, country, device. Defaults to count.

Response

Returns a JSON object containing the requested analytics data.

Code Examples

cURL
Node.js