Retrieve the DNS records of a specific domain as a BIND style zonefile. The response contains the complete zone, including the SOA and the apex NS records. data.zone is a JSON string, so line breaks and tabs appear as \n and \t in the response; decode the JSON once to get the raw zonefile. Not available for domains whose DNS is managed through Cloudflare.
Request
Authorization
API Key
Add parameter in header
API-key
Example:
API-key: ********************
or
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.