Skip to main content

Get Zone File

Retrieves a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.

Path Parameters
name string REQUIRED

fully-qualified name

Responses
200

Success

Schema OPTIONAL
undefined

Fetch a user's raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.

400

Error

Schema OPTIONAL
error string OPTIONAL
404

Error

Schema OPTIONAL
error string OPTIONAL
fetch_zone_file
GET /v1/names/:name/zonefile
name — path
https://api.mainnet.hiro.so
curl -L 'https://api.mainnet.hiro.so/v1/names/:name/zonefile' \
-H 'Accept: application/json'