Cloudflare Pages API: Get information for a static site without requiring auth?

Basically I am wondering if there is an endpoint that lets me query basic information for a static site hosted on pages. An equivalent to neocities' GET /api/info?sitename=SITENAME!
2 Replies
Chaika
Chaika3w ago
I mean Cloudflare itself has APIs to get all a project/sites info: https://developers.cloudflare.com/api/resources/pages/subresources/projects/methods/get/ but of course locked behind auth/api. That'd get you created at / last updated/ domain info
Cloudflare API | Pages › Projects › Get Project
Interact with Cloudflare's products and services via the Cloudflare API
Chaika
Chaika3w ago
If you wanted views/hits, could enable Web Analytics https://developers.cloudflare.com/pages/how-to/web-analytics/, and query that info via GraphQL: https://developers.cloudflare.com/analytics/graphql-api/, still all behind auth though

Did you find this page helpful?