Developer homeGuidesAPI ReferenceAll resourcesChangelog

Statistics API · Link

Link statistics

GET /statistics/link/{id}

Returns actual tracked clicks within your plan’s retention window. Reports use UTC. Available periods: today, yesterday, last7, last30, last90, last365, all, custom. Custom reports require ISO startDate and endDate. Intervals: hour, day, week, month. Limit: 1–1000. Columns: country, region, city, path, browser, os, device, social, refhost, utm_source, utm_medium, utm_campaign, language, ab_path. POST reports also support include/exclude objects, for example {"country":["IN"]}; dimension filters require an eligible plan.

Path parameters

Query parameters

JSON request body

No JSON body is needed. Supply the required path/query parameters and credentials. A blank body is correct for this operation.

Recent requests

This page only. Credentials and responses are not saved.

TimeMethodStatus

Response codes

200 / 201
Read the resource or report; bulk requests can contain item errors.
400
Check IDs, JSON, dates and filters.
401
Check key expiry, revocation and membership.
402 / 403
Check plan, role and key scope.
404
Resource not found in the permitted workspace or domain.
429
Wait for Retry-After and reduce request frequency.

Language

Your key is sent only to this installation when you select Try it.

Response

Run a request to see its response.

Run from your terminal →