Skip to main content

TLD prices

Lists what every registrar we track charges to register and to renew a domain under one TLD, as the TLD pages on namebeta.com do.

Request​

GET https://api.namebeta.com/v1/tlds/{tld}/prices

Counts one single unit; an unknown TLD or currency counts none.

Requires an API token.

Path parameters

FieldTypeRequiredDescriptionConstraints
tldstringYesA TLD without the leading dot; IDNs in Unicode or Punycode.1–63 characters

Query parameters

FieldTypeRequiredDescriptionConstraints
currencystringNoCurrency the amounts are converted to.One of CNY, USD, CAD, EUR, GBP, HKD, JPY, KRW, BRL, IDR, INR, MYR, SGD; Default USD
curl "https://api.namebeta.com/v1/tlds/com/prices?currency=EUR" \
-H "Authorization: Bearer $NAMEBETA_API_TOKEN"

Response​

200: Prices of every registrar we track.

FieldTypeRequiredDescriptionConstraints
tldstringYes
currencystringYes
pricesobject[]Yes
prices[].registrarobjectYes
prices[].registrar.slugstringYes
prices[].registrar.namestringYes
prices[].registrationstringYesA decimal amount in currency.
prices[].renewalstring | nullYesNull when the registrar publishes none.
prices[].promoobjectNoPresent when registration dropped at least 10% in the last 7 days.
prices[].promo.oldstringYesThe registration price before.
prices[].promo.discountintegerYesPercent off the old price.
prices[].register_urlstring | nullYesWhere to register at the registrar; may be an affiliate link.
{
"tld": "com",
"currency": "EUR",
"prices": [
{
"registrar": { "slug": "porkbun.com", "name": "Porkbun" },
"registration": "9.71",
"renewal": "10.17",
"register_url": "https://porkbun.com/"
}
]
}

The example is shortened to one registrar; amounts and links change.

Behavior​

  • Send the TLD without the leading dot: com, io, or an internationalized TLD in Unicode or Punycode. A TLD we do not know gets 422 with unsupported_tld.
  • Amounts are decimal strings in currency, rounded to two decimals. Registrars that price in another currency are converted at our current exchange rate, so the amount you pay at the registrar can differ slightly.
  • renewal is null when the registrar publishes no renewal price.
  • promo appears when the registration price dropped at least 10% in the last 7 days. promo.old is the price before, and promo.discount the percentage off.
  • register_url leads to the registrar's site and may be an affiliate link; it is null when we have none.
  • prices is not paginated; it lists every registrar we track for the TLD.

Statuses​

StatusWhenHeaders
200Prices of every registrar we trackRateLimit-Policy, RateLimit
400Invalid currency
401Missing, invalid, revoked or expired API tokenWWW-Authenticate
403Your plan does not include the API; upgrade to Pro or above
422Unknown TLD
429A quota window of your plan is spent; nothing was countedRateLimit-Policy, RateLimit, Retry-After
OtherAny other error