---
title: "List connected X accounts"
method: GET
path: "/x/accounts"
tags: ["X Accounts"]
---

# List connected X accounts

`GET /x/accounts`

Returns connected X accounts in creation order. The best-practice contract paginates automatically. Send limit or cursor for legacy pagination. Unpaginated legacy responses retain up to 10,000 accounts.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

X account list

- object
  - `accounts` XAccount[], required
    - `id` string, required
    - `xUserId` string, required
    - `xUsername` string, required
    - `status` string, required
    - `health` 'healthy' | 'locked' | 'needsReauth' | 'recovering' | 'suspended' | 'temporaryIssue', required — Derived health. `healthy` is ready. `needsReauth` needs credentials. `locked` must be unlocked on X. `suspended` is banned. `recovering` can reconnect. Wait before using `temporaryIssue`.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `cookiesObtainedAt` string, date-time
  - `hasMore` boolean — Present on cursor-paginated responses.
  - `nextCursor` string — Pass unchanged as cursor when hasMore is true.

## Other responses

- `400` — Invalid account list cursor or limit
- `401` — Unauthenticated
- `429` — Xquik tier rate limit exceeded. The response includes a `Retry-After` header with the number of seconds to wait before retrying.

## Changes

- **2026-08-26** `bac9a411be37` — 5 info
  - added the new optional `query` request parameter `cursor`
  - added the new optional `query` request parameter `limit`
  - added the non-success response with the status `400`
  - added the optional property `hasMore` to the response with the `200` status
  - …1 more
- **2026-08-19** `73cd0a1d989c` — 36 warning
  - added the new `closed` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `closed` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `closed` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - added the new `closed` enum value to the `error/oneOf[subschema #2: StructuredError]/code` response property for the response status `401`
  - …32 more
- …earlier changes not shown

[Full history](https://skmtc.dev/xquik-dev/apis/xquik-api-3/changes/x/accounts/get.md)

---

[API](https://skmtc.dev/xquik-dev/apis/xquik-api-3.md) · [All operations](https://skmtc.dev/xquik-dev/apis/xquik-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xquik-dev/xquik-api-3/revisions/3e010a962d32/schema)
