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

# List connected X accounts

`GET /api/v1/x/accounts`

Returns connected accounts in creation order. Omit pagination for up to 10,000 accounts. Send limit or cursor for legacy pagination.

## 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.
- `default` — Unexpected error.

## Changes

- **2026-08-26** `64f095703549` — 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-12** `5d4938bb7de3` — 54 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 #1: LegacyErrorCode]/` response property for the response status `default`
  - …50 more
- …earlier changes not shown

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

---

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