Get historical zone file

Retrieves the historical zone file for a specific name.

GET

Parameters

Path Parameters

name
REQUIRED
string fully-qualified name
zoneFileHash
REQUIRED
string zone file hash

Query Parameters

unanchored
boolean Include data from unanchored (i.e. unconfirmed) microblocks
Status codeDescription
200Fetches the historical zonefile specified by the username and zone hash.
4XXError
cURL
curl -L \
"https://api.hiro.so/v1/names/{name}/zonefile/{zoneFileHash}?unanchored=true" \
-H 'Accept: application/json'
Response
{
"zonefile": "string"
}

How is this guide?