Are cache statistics available via the API

Hi all,

I’m wondering if cache statistics are available via the API.
I’m serving a restful API via Cloudflare CDN and I’d love to use the cache stats to build reports for my clients. Each request comes with a key in the query string, so I’ll be able to generate all my reports using the cache reports - how many were served by origin, how many cache, what URLs, etc.
I can’t find anything like this in the API docs.

So, does anybody know if this data is available via the Cloudflare API?

Best,
Dobromir

I’d have to look it up first, but did you try the Analytics API?

No, I was not aware of this. I will check if it works for us.
Thank you.

were you able to get the statistics?
if yes, please share the solution