curl --request GET \
--url https://dev.namify.host/api/v1/pricing \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.namify.host/api/v1/pricing"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.namify.host/api/v1/pricing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.namify.host/api/v1/pricing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev.namify.host/api/v1/pricing"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dev.namify.host/api/v1/pricing")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.namify.host/api/v1/pricing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"dotstore": {
"register": {
"1": 65,
"2": 65,
"5": 65,
"10": 65
},
"renew": {
"1": 65,
"2": 65,
"5": 65,
"10": 65
},
"transfer": {
"1": 65
},
"restore": {
"1": 170
},
"register_monthly": {
"1": 2.99,
"6": 3.49,
"11": 3.49
},
"renew_monthly": {
"1": 3.49,
"6": 3.49,
"11": 3.49
}
},
"privacy_protection": 6
}{
"message": "Unauthorized"
}All TLD Pricing
Returns your partner pricing for all configured TLDs and privacy protection.
Each TLD entry is keyed by its slug (e.g. dotcom, dotstore) and contains pricing broken down by operation and duration. Duration keys are integers representing years (for register, renew, transfer, restore) or months (for register_monthly, renew_monthly), and values are the price in USD.
privacy_protection is returned as a flat annual price in USD.
curl --request GET \
--url https://dev.namify.host/api/v1/pricing \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.namify.host/api/v1/pricing"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.namify.host/api/v1/pricing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.namify.host/api/v1/pricing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://dev.namify.host/api/v1/pricing"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://dev.namify.host/api/v1/pricing")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.namify.host/api/v1/pricing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"dotstore": {
"register": {
"1": 65,
"2": 65,
"5": 65,
"10": 65
},
"renew": {
"1": 65,
"2": 65,
"5": 65,
"10": 65
},
"transfer": {
"1": 65
},
"restore": {
"1": 170
},
"register_monthly": {
"1": 2.99,
"6": 3.49,
"11": 3.49
},
"renew_monthly": {
"1": 3.49,
"6": 3.49,
"11": 3.49
}
},
"privacy_protection": 6
}{
"message": "Unauthorized"
}Authorizations
A personal access token. Obtain one from the dashboard under Settings > API Key. Include it in the Authorization header as Bearer <token>. Unauthenticated requests to protected routes return 401 Unauthorized.
Response
Pricing retrieved successfully.
An object keyed by TLD slug (e.g. dotcom, dotstore) plus privacy_protection.
Pricing breakdown for a TLD.
Show child attributes
Show child attributes