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

# GET /api/v1/x/accounts

`GET /api/v1/x/accounts`

## Request

- Base URL: `https://xquik.com`
- URL: `https://xquik.com/api/v1/x/accounts`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

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` needs an unlock on X. `suspended` is banned. `recovering` can reconnect. Wait before using `temporaryIssue`.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `connectedAt` string, date-time: When the account last connected or reconnected.
  - `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`: Too many requests right now. Each user gets 500 reads a second. Each minute allows 120 writes & 60 deletes. `x_api_rate_limited` means X limits this read for now. Neither answer costs anything. Wait for the seconds in `Retry-After`, then retry.
- `500`: Unexpected error.
- `default`: Unexpected error.

## Changes

- **2026-10-20** `45942c75fdc2`: 10 warning
  - added the new `topup_in_progress` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `429`
  - added the new `topup_in_progress` enum value to the `allOf[#/components/schemas/Error]/error/oneOf[subschema #2: StructuredError]/code` response property for the response status `429`
  - added the new `topup_in_progress` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `400`
  - added the new `topup_in_progress` enum value to the `error/oneOf[subschema #1: LegacyErrorCode]/` response property for the response status `401`
  - …6 more

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

---

[API](https://skmtc.dev/xquik-dev/apis/xquik-api.md) · [All operations](https://skmtc.dev/xquik-dev/apis/xquik-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xquik-dev/apis/xquik-api/revisions/45942c75fdc2?raw)
