# GET /api/v1/hosting

> List the user's hosting accounts

- Group: hosting
- Tier: R
- Required scope: read:hosting
- Docs: https://api.inleed.com/reference/hosting/list-hosting-accounts

## Description

Returns `data[]` of `{serviceId, daUsername, node, primaryDomain, domains[], status, isSuspended}` for every hosting account this token owns. Use a `serviceId` or a `primaryDomain` from here as the `input` to `get_hosting_account` and the other hosting tools. This is the account roster, not registrar domains — for those use `list_domains`.

## Request

```bash
curl -X GET "https://mcp.inleed.com/api/v1/hosting" \
  -H "Authorization: Bearer inl_live_…"
```

## Response · 200

```json
{
  "data": [],
  "total": 3
}
```

## Errors

- **401** No token was presented, or the token is revoked, expired or unknown. — codes: unauthorized, token_expired, token_revoked
- **403** The token lacks a required scope, or this account does not own the resource. — codes: insufficient_scope
- **429** The rate limit for this token is exhausted. See `Retry-After`. — codes: rate_limited
- **500** Something went wrong on our side. The failure is logged against `requestId`. — codes: internal_error

## Related

- GET /api/v1/hosting/credentials — https://api.inleed.com/reference/hosting/get-hosting-credentials
- GET /api/v1/hosting/usage — https://api.inleed.com/reference/hosting/get-hosting-usage
- GET /api/v1/hosting/resource-usage — https://api.inleed.com/reference/hosting/get-resource-usage
- GET /api/v1/hosting/usage/history — https://api.inleed.com/reference/hosting/get-hosting-usage-history

