NextDNS API returns Cloudflare Error 1010 (HTTP 403) with Python urllib
Hi NextDNS team,
A read-only request to the documented NextDNS API from Python urllib on my Mac returns HTTP 403 with Cloudflare Error 1010 (browser_signature_banned).
Request:
GET https://api.nextdns.io/profiles/<profile-id>/denylist
Headers: X-Api-Key (my account API key) and Accept: application/json. The script uses urllib’s default User-Agent.
I verified that the API key matches my account page. The NextDNS web dashboard works, but the script receives this response:
Error: 1010: Access denied
Detail: The site owner has blocked access based on your browser’s signature.
Error name: browser_signature_banned
Zone: api.nextdns.io
Ray ID: a3e628502ea184b8
Timestamp: 2026-09-21T03:59:29Z
retryable: false
owner_action_required: true
I stopped retrying after receiving the detailed response. Email support directed me to the community.
Could the NextDNS team review the Cloudflare block and advise on the supported way to access the API from a local Python script? Are any specific client headers required?
My API key and profile ID are omitted from this public report. Thank you.
Reply
Content aside
- 18 hrs agoLast active
- 13Views
-
2
Following
