Domain price API
Build a domain search, compare renewal costs, or track price changes in your own app. Get JSON pricing for 2,913 extensions from 45 registrars, checked daily.
Try your first API request
Base URL https://api.tldspy.com/api/v1. Send your key in the
X-API-Key header.
The free plan includes 500 results a day for 22 popular extensions.
One price returned or one domain checked counts as one result. Check your remaining allowance in
X-Results-Remaining, and the count resets at 00:00 UTC.
Want to ask instead of code? Connect ChatGPT or Claude and compare domain prices in your chat using the same API key.
curl "https://api.tldspy.com/api/v1/prices/cheapest?tlds=com&limit=1" \
-H "X-API-Key: YOUR_API_KEY" {
"results": {
"com": {
"registrar_count": 45,
"cheapest_register": [
{
"rank": 1,
"registrar_name": "Hostinger",
"register_price": 6.19,
"renew_price": 20.19,
"transfer_price": 9.99
}
]
}
}
} What can you build with the API?
| GET/prices/cheapest?tlds=com,io | Registrars ranked by price for each TLD, with 1, 3 and 5-year totals | |
| GET/prices?tlds=com,net®istrars=porkbun,namecheap | Prices for the TLDs and registrars you name | |
| GET/prices/{registrar} | Every TLD price at one registrar | |
| GET/registrars/tld/{tld}?include_prices=true | Every registrar selling a TLD | |
| GET/prices/changes?tlds=io | Price changes with old and new value | Pro |
| POST/domains/availability | Availability of up to 50 domains | |
| GET/domain/{domain} | WHOIS/RDAP, DNS, SSL and HTTP status of a domain | |
| GET/export | Every price as CSV and JSON, 3 times a day | Business |
| GET/usage | Results used today and your limit |
Full parameters and responses in the API reference. Prices are one-year prices in USD, excluding VAT.