Hi everyone,
I’m facing a data discrepancy issue between the Metric Aggregates API and the Reporting API in Klaviyo, and I’d appreciate any guidance.
Context
I’m fetching revenue data for the Placed Order metric using:
-
Metric Aggregates API
-
Campaign Values Reporting API
The issue is that Reporting API data matches the Klaviyo dashboard UI, but Metric Aggregates API data does not, even when filtering by the same campaign.
Metric Aggregates API
Endpoint:https://a.klaviyo.com/api/metric-aggregates
Request body:
{ "data": { "type": "metric-aggregate", "attributes": { "metric_id": "Y_metric_id", "measurements": ["sum_value"], "interval": "day", "timezone": "UTC", "page_size": 500, "by": ["$attributed_message"], "filter": [ "greater-or-equal(datetime,2025-12-01T00:00:00)", "less-than(datetime,2025-12-31T00:00:00)" ] } } }
Reporting API
Request body:
{ "data": { "type": "campaign-values-report", "attributes": { "statistics": ["conversion_value"], "timeframe": { "start": "2025-12-01T00:00:00Z", "end": "2025-12-31T23:59:59Z" }, "conversion_metric_id": "my_metric_id" } } }
Observations
-
For the same campaign, values returned by both APIs do not match.
-
The Reporting API values match exactly with the Klaviyo dashboard UI.
-
The Metric Aggregates API returns lower/different values.
-
I checked the account timezone using:
https://a.klaviyo.com/api/accountsIt returns Europe/London.
-
I also tried setting
timezone: "Europe/London"in the Metric Aggregates API, but the results remain unchanged.
My Questions
-
Is the Metric Aggregates API based strictly on event occurrence time, while the Reporting API is based on send/attribution logic used in the UI?
-
Is it expected that campaign-level revenue will not match between these two APIs?
-
Is there a recommended way to align Metric Aggregates data with dashboard campaign revenue?
-
Are there any known caveats around timezone handling or attribution windows for the Metric Aggregates API?
This discrepancy is causing reporting issues in our system, so any clarification or best practice would be really helpful.
Thanks in advance!

