- APIs
- Stacks Blockchain API
- Historical Zonefile
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 code | Description |
---|---|
200 | Fetches the historical zonefile specified by the username and zone hash. |
4XX | Error |
cURL
curl -L \"https://api.hiro.so/v1/names/{name}/zonefile/{zoneFileHash}?unanchored=true" \-H 'Accept: application/json'
Response
{"zonefile": "string"}