Skip to content

List domain products

GET /api/v2/products/domains

List the domain extensions (TLDs) you can register or transfer at Hostup. It is the sales catalog, not a customer domain list. It needs no API key and is not paginated. It does not include prices. Get prices, periods and registry requirements for one TLD with GET /api/v2/products/domains/{tld}.

Authentication: None. Anyone can call it.

Example

GET /api/v2/products/domains
curl "https://cloud.hostup.se/api/v2/products/domains"

Responses

200 The TLD catalog.

Response 200
{
"tlds": [
{
"tld": ".se"
},
{
"tld": ".com"
},
{
"tld": ".nu"
},
{
"tld": ".co.uk"
}
]
}
Response fields
tldsarray of object
Every TLD in the catalog. No prices.
tldstring
The TLD with a leading dot.

Errors

Errors are Problem Details with a stable code. Branch on the code, not on the text.

400Invalid request. The response body is an RFC 7807 Problem Details document.
429Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers.
500Internal error. Retry later or contact support if the issue persists.
502upstream_failed: the catalog could not be loaded. Retry later.