GET
/api/v1/stats/timeseriesReturns daily aggregated metrics for the product associated with your API key. Each data point represents one day and includes clicks, signups, conversions, revenue, and commissions.
Query parameters
| Parameter | Type | Description |
|---|---|---|
period | string | Time period: 7d, 30d, 90d, or 12m. Defaults to 30d. |
Example request
bash
curl https://anderro.com/api/v1/stats/timeseries?period=7d \
-H "x-api-key: sk_your_secret_key"
Responses
200Array of daily data points
json
{
"data": [
{
"date": "2026-04-05",
"clicks": 45,
"signups": 3,
"conversions": 2,
"revenue_cents": 19800,
"commissions_cents": 3960
},
{
"date": "2026-04-06",
"clicks": 52,
"signups": 5,
"conversions": 1,
"revenue_cents": 9900,
"commissions_cents": 1980
}
]
}
Zero-filled days
Days with no activity are included in the response with all values set to 0, so you can plot continuous time series without gaps.