X Accounts

List connected X accounts

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

get/api/v1/x/accounts

Query parameters

limitinteger

Maximum items per page: 1 to 100, default 50. Credits can reduce paid results. With none affordable, it returns 402 insufficient_credits.

cursorstring

Previous nextCursor. Offset pagination is not supported.

Response

X account list

hasMoreboolean

Present on cursor-paginated responses.

nextCursorstring

Pass unchanged as cursor when hasMore is true.

Example response

{
  "accounts": [
    {
      "id": "42",
      "xUserId": "9876543210",
      "xUsername": "elonmusk",
      "status": "active",
      "health": "healthy",
      "createdAt": "2025-01-15T12:00:00Z",
      "updatedAt": "2025-03-10T08:30:00Z"
    }
  ],
  "nextCursor": "MjAyNi0wMS0wMVQwMDowMDowMC4wMDBafDQy"
}

Changes