GET /api/v1/channels — channel performance for a time window, ranked 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.
boolean
Set
ltv=1 to merge all-time lifetime value per channel into each row (adds an ltv field).Response
object
The resolved
{ from, to } window.array
One row per channel, sorted by revenue descending. Each row:
channel, clicks, visitors,
conversions, revenue, and ltv (when ltv=1).
