Skip to content

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.

Source: Cloudflare

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.

Share

Related reading

More from The Wire

All briefs

node-tar patches a Windows RCE bug triggered by npm install

A newline-injection flaw in node-tar let a crafted archive forge its own file paths and run code during npm install on Windows. The fix landed in a string of releases up to 8.1.0 on 2 December.

via GitHub Security Advisories (isaacs/node-tar)