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
curl "https://cloud.hostup.se/api/v2/products/domains"Responses
200 The TLD catalog.
{ "tlds": [ { "tld": ".se" }, { "tld": ".com" }, { "tld": ".nu" }, { "tld": ".co.uk" } ]}Response fields
tldsarray of objectEvery TLD in the catalog. No prices.
tldstringThe TLD with a leading dot.
Errors
Errors are Problem Details with a stable code. Branch on the code, not on the text.
| 400 | Invalid request. The response body is an RFC 7807 Problem Details document. |
| 429 | Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers. |
| 500 | Internal error. Retry later or contact support if the issue persists. |
| 502 | upstream_failed: the catalog could not be loaded. Retry later. |