Skip to main content

compare_prices

Lists what each registrar charges to register and to renew one domain. It returns the same data as the domain's price page on namebeta.com.

Schema​

Input

FieldTypeRequiredConstraints
domainstringYes1–253 characters; Matches \.
currencystringNoOne of CNY, USD, CAD, EUR, GBP, HKD, JPY, KRW, BRL, IDR, INR, MYR, SGD; Default USD

Output

Returned as structuredContent, and repeated as JSON in a text content block.

FieldTypeRequiredConstraints
domainstringYes
currencystringYesOne of CNY, USD, CAD, EUR, GBP, HKD, JPY, KRW, BRL, IDR, INR, MYR, SGD
registrarsobject[]Yes
registrars[].registrarstringYes
registrars[].registration_pricestringYes
registrars[].renewal_pricestring | nullYes
registrars[].promoobjectNo
registrars[].promo.oldstringYes
registrars[].promo.newstringYes
registrars[].promo.discountnumberYes
registrars[].register_urlstringYesFormat uri

Behaviour​

  • domain must be a full domain name such as kettlory.com. Prices depend only on the TLD, so the tool does not check availability — call check_availability first.
  • Prices are first-year registration and yearly renewal, converted from each registrar's own currency into currency and formatted for display, for example $9.80. They are strings, not numbers.
  • renewal_price is null when the registrar does not publish a renewal price.
  • promo is present only while a registrar runs a promotion that was recorded in the last 7 days and still matches the current price: old is the regular price, new the promotional one, and discount the percentage off, rounded to a whole number.
  • Registrars come in the order namebeta.com lists them, not by price. Sort them yourself to find the cheapest, and weigh the renewal price as well as the first-year price.
  • register_url goes through namebeta.com to the registrar's registration page for this domain. Some of these links are affiliate links.

Example​

Arguments:

{ "domain": "kettlory.com", "currency": "USD" }

Result, shortened:

{
"domain": "kettlory.com",
"currency": "USD",
"registrars": [
{
"registrar": "Dynadot",
"registration_price": "$9.80",
"renewal_price": "$9.80",
"register_url": "https://namebeta.com/register/kettlory.com/dynadot.com"
},
{
"registrar": "Porkbun",
"registration_price": "$11.08",
"renewal_price": "$11.08",
"register_url": "https://namebeta.com/register/kettlory.com/porkbun.com"
},
{
"registrar": "EuroDNS",
"registration_price": "$24.41",
"renewal_price": null,
"register_url": "https://namebeta.com/register/kettlory.com/eurodns.com"
}
]
}

Quota​

ToolBucketFree (hour / day)Pro (hour / day)Business (hour / day)Enterprise (hour / day)
compare_prices single150 / 2501,200 / 3,6002,000 / 8,000Unlimited

Errors​

SituationResult
domain has no dotTool error Input validation error: … (A full domain name is required)
domain is not a valid domainTool error Invalid domain format
currency is not in the listTool error Input validation error: …
Quota exceededHTTP 429 with Retry-After; see Quotas and errors