Cloudflare's old DNS Analytics REST API stops working today
The DNS Analytics and DNS Firewall Analytics REST endpoints reach end of life on 1 December, over a year after Cloudflare first flagged the move to GraphQL.
Cloudflare’s DNS Analytics API and DNS Firewall Analytics API reach end of life today. The two REST endpoints, GET /zones/{zone_id}/dns_analytics/ and GET /accounts/{account_id}/dns_firewall/{dns_firewall_id}/dns_analytics/report, stop serving requests from 1 December 2026. Cloudflare flagged the deprecation back on 9 December 2025, so this has been on the calendar for almost a year.
The replacement is Cloudflare’s GraphQL Analytics API, which the company says covers the same functionality with better performance and flexibility. Any script, dashboard or monitoring job still pointed at the old REST paths needs to move over before today’s cutoff, since Cloudflare’s own docs say integrations “need to be migrated to the new GraphQL API before December 1, 2026 in order to ensure uninterrupted service.”
# old
GET /zones/{zone_id}/dns_analytics/
# new: query the GraphQL Analytics API instead
POST /graphql
Why it matters: this is an easy one to miss if the integration was set up once and left alone. If you have anything querying DNS analytics for a Cloudflare zone, check it today rather than finding out from a failed cron job tomorrow.