Skip to main content

/v1/names/{name}/zonefile REST API Endpoint

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.

Updated on
Oct 4, 2023

/v1/names/{name}/zonefile REST API Endpoint

Path Parameters

name
string
REQUIRED
fully-qualified name.

Returns

object
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.
Request
1
curl -X 'GET' \
2
'https://docs-demo.stacks-mainnet.quiknode.pro/v1/names/muneeb.id/zonefile' \
3
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free