## GET /api/v2/products/domains

**List domain products**

Return the public TLD catalog as a bounded snapshot. This is not a customer domain list and it does not include prices, order IDs, or internal product IDs. Use the `tlds[].tld` value as the canonical handle, then call `GET /api/v2/products/domains/{tld}` for the selected extension to get current register, transfer, renew, redemption, multi-year pricing, and registry requirements before building a `POST /api/v2/orders` domain item.

### Related Endpoints

- `GET /api/v2/products/domains/{tld}`: Get TLD pricing and registry requirements
- `GET /api/v2/products/vps`: List regular VPS products
- `GET /api/v2/products/shared-hosting`: List shared-hosting products

### Headers

- `Accept`: application/json
- No authorization header required.

### Request Example

```bash
curl -X GET "https://cloud.hostup.se/api/v2/products/domains" \
  -H "Accept: application/json"
```

### Response Schema

- `tlds` (array<object>, required): Complete bounded snapshot of orderable TLD suffixes. Pricing is intentionally omitted from this catalog.
- `tlds[].tld` (string, required): Canonical TLD suffix with a leading dot. Example: `.se`

### Responses

#### 200 - Public TLD catalog.
```json
{
  "tlds": [
    {
      "tld": ".se"
    },
    {
      "tld": ".com"
    },
    {
      "tld": ".nu"
    },
    {
      "tld": ".co.uk"
    }
  ]
}
```

#### 400 - Invalid request. The response body is an RFC 7807 Problem Details document.
```json
{
  "type": "https://developer.hostup.se/errors/invalid_request",
  "title": "Invalid request",
  "status": 400,
  "detail": "The request body failed validation.",
  "code": "invalid_request",
  "instance": "/api/v2/resource",
  "requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3",
  "timestamp": "2026-04-27T12:34:56.000Z",
  "errors": [
    {
      "pointer": "/items/0/domainName",
      "detail": "`domainName` is required.",
      "code": "invalid_request"
    }
  ]
}
```

#### 429 - Rate limited. Retry after the limit resets. 429 responses include `Retry-After` seconds plus `X-RateLimit-*` headers.
```json
{
  "type": "https://developer.hostup.se/errors/rate_limit_exceeded",
  "title": "Too many requests",
  "status": 429,
  "detail": "Too many requests. Retry after the limit resets.",
  "code": "rate_limit_exceeded",
  "instance": "/api/v2/resource",
  "requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3",
  "timestamp": "2026-04-27T12:34:56.000Z"
}
```

#### 500 - Internal error. Retry later or contact support if the issue persists.
```json
{
  "type": "https://developer.hostup.se/errors/internal_error",
  "title": "Internal server error",
  "status": 500,
  "detail": "An unexpected error occurred. Retry later or contact support if the issue persists.",
  "code": "internal_error",
  "instance": "/api/v2/resource",
  "requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3",
  "timestamp": "2026-04-27T12:34:56.000Z"
}
```
