ShortyyDocs

Link Analytics

GET

Retrieve real-time click metrics, referrers, and device breakdown for a specific short link.

Link Analytics

GET /v1/links/:id/analytics

Provides real-time analytics data including click timeseries, geographical distribution, and referrer sources.

Headers

HeaderTypeDescription
AuthorizationstringBearer token with format `Bearer sh_live_...`

Path Parameters

ParameterTypeDescription
:idstring (UUID)The UUID identifier of the short link

Response Status Codes

CodeDescription
200Analytics retrieved successfully.
401Missing or invalid API key.
403Key lacks `analytics:read` scope.
404Link not found.
GET/v1/links/:id/analytics
Scope: analytics:read
Server:
GEThttp://localhost:4000/v1/links/%7Bid%7D/analytics
Your API Key(In-Memory Only)
Get API Key

Keys entered here are held exclusively in volatile browser memory. They are never written to disk, cookies, or storage, and reset immediately upon page reload.

Path Parameters
:id

Click “Send Request” to execute a live test.