Skip to main content
GET /api/v1/channels — channel performance for a time window, ranked 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.
ltv
boolean
Set ltv=1 to merge all-time lifetime value per channel into each row (adds an ltv field).

Response

window
object
The resolved { from, to } window.
channels
array
One row per channel, sorted by revenue descending. Each row: channel, clicks, visitors, conversions, revenue, and ltv (when ltv=1).