Skip to main content

/v2/prices/namespaces/{tld} REST API Endpoint

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

Updated on
Oct 4, 2023

/v2/prices/namespaces/{tld} REST API Endpoint

Path Parameters

tld
string
REQUIRED
the namespace to fetch price for.

Returns

object
Fetch price for namespace.
units
string
The units of the price, e.g., USD
amount
string
The amount of the price
Request
1
curl -X 'GET' \
2
'https://docs-demo.stacks-mainnet.quiknode.pro/v2/prices/namespaces/btc' \
3
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free