Get name price

Retrieves the price of a name.

GET

/v2/prices/names/{name}

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

Path parameters

name
Required
string

The name to query price information for

Example: "muneeb.id"
Status codeDescription
200Success
Terminal
curl -X GET "https://api.mainnet.hiro.so/v2/prices/names/muneeb.id"

Fetch price for name.

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