GET /api/v1/links — per-link performance for a time window, sorted by revenue.
Scope: secret key (lk_).
Query parameters
integer
default:"30"
Last N days ending now (1–365). Alternative to
from/to.string (ISO 8601)
Start of an explicit window
[from, to).string (ISO 8601)
End of the window; defaults to now.
integer
default:"100"
Maximum links to return (max 500).
Response
object
The resolved
{ from, to } window.array
One row per link, sorted by revenue descending:
slug, channel, destination, clicks,
visitors, conversions, revenue.
