How can we fetch the Analytics data via the API?

We want to obtain the Analytics report data via the API.

We currently using the REST and GraphQL APIs but we don’t found those fields.

List of fields:

  1. Online Store Conversion Over time

  2. Added to Cart

  3. Conversion Rate

  4. Sessions

  5. Total Visitor Count

Hi SnirYadid,

There’s no direct APIs endpoints that will return the analytics data that can be generated from the admin reports, but you could use ShopifyQL and the Admin API to piece together the data you’re looking for. For example you could use the Orders dataset, which is a part of ShopifyQL to explore data about order value and volume, and create custom reports with the Reports resource in Rest.

If I understand correctly, in order to fetch the fields I mentioned above, we should first create a custom report in the UI and then pull it via the Reports endpoint?

https://shopify.dev/docs/api/admin-rest/2023-10/resources/report#post-reports

As those apis are being deprecated what other ways are there to retrieve reports from shopify?

Good news - it looks like these have been added to the upcoming API version (2026-01) :tada:
Documentation available here: shopifyqlQuery - GraphQL Admin

[Edit: I deleted my previous replies because they moved the endpoint from 2025-10 to the 2026-01 release]