Skip to main content
GET /api/v1/links — per-link performance for a time window, sorted by revenue. Scope: secret key (lk_).

Query parameters

days
integer
default:"30"
Last N days ending now (1–365). Alternative to from/to.
from
string (ISO 8601)
Start of an explicit window [from, to).
to
string (ISO 8601)
End of the window; defaults to now.
limit
integer
default:"100"
Maximum links to return (max 500).

Response

window
object
The resolved { from, to } window.
One row per link, sorted by revenue descending: slug, channel, destination, clicks, visitors, conversions, revenue.