# GET /api/v1/services

> List the account's services

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

## Description

Returns `data[]` of services with `id`, `type`, `domain`, `status`, `price`, `expiresAt` and `can:{}`, plus `hasMore` / `nextCursor`. For one service in full call `get_service`; for registrar domains specifically call `list_domains`.

## Query parameters

- `type` — string. Optional service type to filter by, e.g. hosting or .com.
- `status` — string. Optional status filter, e.g. completed, pending or suspended.
- `expiring_within_days` — integer. Only services expiring within this many days. Applied to the returned page; a note says so. Range 1–365.
- `limit` — integer. Page size for a collection. Range 1–100.
- `cursor` — string. Opaque pagination cursor. Pass back the previous response’s nextCursor; stop when it is null. Up to 64 characters.

## Request

```bash
curl -X GET "https://mcp.inleed.com/api/v1/services?type=A&status=active&expiring_within_days=3&limit=3&cursor=example.se" \
  -H "Authorization: Bearer inl_live_…"
```

## Response · 200

```json
{
  "data": [],
  "hasMore": true,
  "nextCursor": "example.se",
  "total": "example.se",
  "note": "Resolved via the owning account."
}
```

## 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
- **422** Validation error — codes: validation_failed
- **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/services/{service} — https://api.inleed.com/reference/services/get-service
- PATCH /api/v1/services/{service} — https://api.inleed.com/reference/services/set-service-note
- GET /api/v1/services/{service}/addons — https://api.inleed.com/reference/services/list-service-addons
- GET /api/v1/services/{service}/actions/upgrade — https://api.inleed.com/reference/services/get-upgrade-options

