I see the growth reports for lists online but I am looking to get that info via the API for ingestion into our own hosted data tools.
Anyone have any experience grabbing this data?
thanks
This topic has been closed for replies.
Best answer by Brian Turcotte
Hi @BocoTech and welcome to the Community!
It sounds like this use case could be accomplished using our Query Metric Aggregates endpoint. This endpoint can be used to gather aggregate event data associated with native Klaviyo metrics like “Subscribed to List”.
In order to fit your exact use case, you would just need to pull the ID of your Subscribed to List metric from your Klaviyo account, then specify "count" from the measurement parameter, and "day" in the interval parameter. In order to get the metric ID, you can go to your Klaviyo account and navigate to Analytics > Metrics> Search for Subscribe:
Then, go up to the URL and grab the ID, which is the alphanumeric code that will appear after “metric”:
You can also use our Developer Portal docs on this endpoint to help you form the Curl Request if you’d like.
I hope this helps, and thanks for using the Community!
It sounds like this use case could be accomplished using our Query Metric Aggregates endpoint. This endpoint can be used to gather aggregate event data associated with native Klaviyo metrics like “Subscribed to List”.
In order to fit your exact use case, you would just need to pull the ID of your Subscribed to List metric from your Klaviyo account, then specify "count" from the measurement parameter, and "day" in the interval parameter. In order to get the metric ID, you can go to your Klaviyo account and navigate to Analytics > Metrics> Search for Subscribe:
Then, go up to the URL and grab the ID, which is the alphanumeric code that will appear after “metric”:
You can also use our Developer Portal docs on this endpoint to help you form the Curl Request if you’d like.
I hope this helps, and thanks for using the Community!
The discrepancy in results is likely due to Klaviyo’s attribution model. My colleague David discusses this in detail here:
Essentially, the API includes organic data and is not confined by the same date restrictions as the Klaviyo dashboard. In order to get a closer match to your API results within Klaviyo, you could use custom reports.