Skip to main content
GET
/
x
/
accounts
List X accounts
curl --request GET \
  --url https://xquik.com/api/v1/x/accounts \
  --header 'x-api-key: <x-api-key>'
Free — does not consume credits
curl -X GET https://xquik.com/api/v1/x/accounts \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.

Response

accounts
object[]
Array of connected X account objects.
accounts[].id
string
Unique account ID.
accounts[].xUsername
string
X username.
accounts[].xUserId
string
X user ID.
accounts[].status
string
Account connection status (e.g. "active").
accounts[].proxyCountry
string
Proxy region used for the connection (e.g. "US").
accounts[].cookiesObtainedAt
string
ISO 8601 timestamp of when session cookies were last obtained. Omitted if not yet authenticated.
accounts[].createdAt
string
ISO 8601 timestamp of when the account was connected.
accounts[].updatedAt
string
ISO 8601 timestamp of the last update.
{
  "accounts": [
    {
      "id": "3",
      "xUsername": "elonmusk",
      "xUserId": "44196397",
      "status": "active",
      "proxyCountry": "US",
      "cookiesObtainedAt": "2026-02-20T08:15:00.000Z",
      "createdAt": "2026-02-20T08:15:00.000Z",
      "updatedAt": "2026-02-20T08:15:00.000Z"
    },
    {
      "id": "5",
      "xUsername": "xquik_",
      "xUserId": "1234567890",
      "status": "active",
      "proxyCountry": "US",
      "cookiesObtainedAt": "2026-02-22T12:00:00.000Z",
      "createdAt": "2026-02-22T12:00:00.000Z",
      "updatedAt": "2026-02-22T12:00:00.000Z"
    }
  ]
}
Related: Connect X Account to add a new account, or Get X Account to fetch details for a specific account.