- APIs
- Stacks Blockchain API
- Name Details
Get name details
Retrieves details of a given name including the address, status and last transaction ID.
GET
Parameters
Path Parameters
name
REQUIRED
string fully-qualified name
Query Parameters
unanchored
boolean Include data from unanchored (i.e. unconfirmed) microblocks
Status code | Description |
---|---|
200 | Get name details |
4XX | Default Response |
cURL
curl -L \"https://api.hiro.so/v1/names/{name}?unanchored=true" \-H 'Accept: application/json'
Response
{"address": "1J3PUxY5uDShUnHRrMyU6yKtoHEUPhKULs","blockchain": "stacks","expire_block": 599266,"grace_period": false,"last_txid": "1edfa419f7b83f33e00830bc9409210da6c6d1db60f99eda10c835aa339cad6b","renewal_deadline": 604266,"resolver": null,"status": "registered","zonefile": "$ORIGIN muneeb.id\n$TTL 3600\n_http._tcp IN URI 10 1 \"https://gaia.blockstack.org/hub/1J3PUxY5uDShUnHRrMyU6yKtoHEUPhKULs/0/profile.json\"\n","zonefile_hash": "37aecf837c6ae9bdc9dbd98a268f263dacd00361"}