- APIs
- Stacks Blockchain API
- Name Subdomains
Get name subdomains
Retrieves the list of subdomains for a specific name.
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 | Fetch a list of subdomains in a name. |
4XX | Default Response |
cURL
curl -L \"https://api.hiro.so/v1/names/{name}/subdomains?unanchored=true" \-H 'Accept: application/json'
Response
["address_test.id.blockstack","previous_subdomain.id.blockstack","subdomain.id.blockstack","zonefile_test.id.blockstack","zone_test.id.blockstack"]