Get namespace price

Retrieves the price of a namespace.


GET
/v2/prices/namespaces/{tld}

Get Namespace Price

Retrieves the price of a namespace. The amount given will be in the smallest possible units of the currency.

Path Parameters

tld
Required
string

the namespace to fetch price for

Example: "id"
Status codeDescription
200Success
/v2/prices/namespaces/{tld}

Terminal
$
curl -X GET "https://api.hiro.so/v2/prices/namespaces/id"

Fetch price for namespace.

{
"units": "string",
"amount": "string"
}