> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xquik.com/llms.txt
> Use this file to discover all available pages before exploring further.

# X list details API for names, owners & counts

> Get one public X (Twitter) List as its page shows it: name, description, member and follower counts, owner, banner and creation time. 1 credit per call.

<Panel>
  <Tabs defaultTabIndex={0} sync={false}>
    <Tab title="200" id="response-x-list-details-200">
      ```json theme={null}
      {
        "list": {
          "id": "4143408",
          "name": "NASA Centers",
          "description": "NASA has 10 centers",
          "memberCount": 11,
          "subscriberCount": 859
        }
      }
      ```
    </Tab>

    <Tab title="400" id="response-x-list-details-400">
      ```json theme={null}
      {
        "error": "invalid_input",
        "message": "Invalid input. Check the request body."
      }
      ```
    </Tab>

    <Tab title="401" id="response-x-list-details-401">
      ```json theme={null}
      {
        "error": "unauthenticated",
        "message": "Authentication required. Provide a valid API key or bearer token."
      }
      ```
    </Tab>

    <Tab title="402" id="response-x-list-details-402">
      ```json theme={null}
      {
        "error": "insufficient_credits",
        "message": "Insufficient credits. Top up or subscribe to continue."
      }
      ```
    </Tab>

    <Tab title="404" id="response-x-list-details-404">
      ```json theme={null}
      {
        "error": "not_found",
        "message": "Resource not found."
      }
      ```
    </Tab>

    <Tab title="424" id="response-x-list-details-424">
      ```json theme={null}
      {
        "error": "x_api_unavailable",
        "message": "X data source temporarily unavailable. Try again later."
      }
      ```
    </Tab>

    <Tab title="429" id="response-x-list-details-429">
      ```json theme={null}
      {
        "error": "rate_limit_exceeded",
        "message": "Too many requests. Try again later.",
        "retryAfter": 60
      }
      ```
    </Tab>

    <Tab title="502" id="response-x-list-details-502">
      ```json theme={null}
      {
        "error": "x_api_unavailable",
        "message": "X data source temporarily unavailable. Try again later."
      }
      ```
    </Tab>

    <Tab title="503" id="response-x-list-details-503">
      ```json theme={null}
      {
        "error": "x_api_unavailable",
        "message": "Xquik is busy right now. Retry shortly."
      }
      ```
    </Tab>
  </Tabs>
</Panel>

<blockquote className="agent-llms-directive">
  For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
</blockquote>

<Callout icon="coins" color="#5c3327">
  **1 credit per call** · [All plans](https://xquik.com/#pricing) from \$0.00012/credit
</Callout>

<CodeGroup>
  ```bash cURL theme={null}
  curl https://xquik.com/api/v1/x/lists/4143408 \
    -H "x-api-key: xq_your_api_key_here" | jq
  ```

  ```javascript Node.js theme={null}
  const response = await fetch("https://xquik.com/api/v1/x/lists/4143408", {
    headers: { "x-api-key": "xq_your_api_key_here" },
  });
  const body = await response.json();
  if (!response.ok) throw new Error(JSON.stringify(body));

  const { list } = body;
  console.log(
    `${list.name} by @${list.owner?.username}: ${list.memberCount} members, ${list.subscriberCount} followers`,
  );
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://xquik.com/api/v1/x/lists/4143408",
      headers={"x-api-key": "xq_your_api_key_here"},
  )
  body = response.json()
  if not response.ok:
      raise RuntimeError(body)

  lst = body["list"]
  print(f'{lst["name"]} by @{lst["owner"]["username"]}: {lst["memberCount"]} members')
  ```
</CodeGroup>

## One public List

Use `GET /x/lists/{id}` for one public X List as its page on X shows it: its name, description, member and follower
counts, owner, banner, and creation time. Name the List by its ID or its URL-encoded URL, such as
`x.com/i/lists/4143408`.

A private List returns 404 `list_not_found`, as X shows it to nobody but its members.

To read the List's people or posts, use [List members](/api-reference/x/list-members),
[List followers](/api-reference/x/list-followers), or [List tweets](/api-reference/x/list-tweets).

## Path parameters

<ParamField path="id" type="string" required>
  List ID, such as `4143408`, or the URL-encoded List URL.
</ParamField>

## Headers

<ParamField header="x-api-key" type="string">
  Full account key. Sessions and OAuth also work.
</ParamField>

<ParamField header="Authorization" type="string">
  `Bearer xq_your_guest_key_here` for `paid_reads`.
</ParamField>

## Response

### 200 OK

<ResponseField name="list" type="object">
  The List.

  <ResponseField name="id" type="string">
    List ID.
  </ResponseField>

  <ResponseField name="name" type="string">
    List name.
  </ResponseField>

  <ResponseField name="description" type="string">
    List description. Omitted if empty.
  </ResponseField>

  <ResponseField name="memberCount" type="number">
    Number of accounts on the List.
  </ResponseField>

  <ResponseField name="subscriberCount" type="number">
    Number of accounts that follow the List.
  </ResponseField>

  <ResponseField name="owner" type="object">
    The owner's public profile, with `id`, `username`, and `name`.
  </ResponseField>

  <ResponseField name="url" type="string">
    The List's page on X.
  </ResponseField>

  <ResponseField name="createdAt" type="string">
    ISO 8601 creation time.
  </ResponseField>
</ResponseField>

### 404 List not found

```json theme={null}
{ "error": "list_not_found" }
```

The List is private, deleted, or never existed.

### 401 Unauthenticated

```json theme={null}
{ "error": "unauthenticated" }
```

Missing or invalid API key.

### 402 Payment required

Account keys get account options. Guest keys get guest top-up only.
No checkout starts automatically. Confirm any payment action.

### 502 X API unavailable

```json theme={null}
{ "error": "x_api_unavailable" }
```

The read service returned an error. Retry after a short delay.

<Note>
  **Related.** [List members](/api-reference/x/list-members) · [List tweets](/api-reference/x/list-tweets) · [Search lists](/api-reference/x/search-lists)
</Note>

<div className="related-api-links">
  <Accordion title="Related follower, list & community APIs" icon="link">
    * Profiles: [Search users](/api-reference/x/search-users) · [Search autocomplete](/api-reference/x/search-autocomplete) · [Get user](/api-reference/x/twitter-profile-lookup) · [Batch users](/api-reference/x/batch-users)
    * Followers: [Followers](/api-reference/x/followers) · [Following](/api-reference/x/following) · [Follower IDs](/api-reference/x/follower-ids) · [Following IDs](/api-reference/x/following-ids) · [Creator subscriptions](/api-reference/x/user-subscriptions) · [Affiliates](/api-reference/x/user-affiliates) · [Similar accounts](/api-reference/x/user-similar) · [Translate bio](/api-reference/x/user-bio-translation) · [Verified followers](/api-reference/x/verified-followers) · [Followers you know](/api-reference/x/followers-you-know) · [Check follower](/api-reference/x/check-follower)
    * Lists: [Search lists](/api-reference/x/search-lists) · [User lists](/api-reference/x/user-lists) · [List memberships](/api-reference/x/user-list-memberships) · [List details](/api-reference/x/list-details) · [List members](/api-reference/x/list-members) · [List followers](/api-reference/x/list-followers)
    * Communities: [Find](/api-reference/x/community-find) · [Popular](/api-reference/x/community-popular) · [Topics](/api-reference/x/community-topics) · [Suggested](/api-reference/x/community-suggested) · [Details](/api-reference/x/community-info) · [Members](/api-reference/x/community-members) · [Member search](/api-reference/x/community-member-search) · [Moderators](/api-reference/x/community-moderators) · [Timeline](/api-reference/x/community-tweets) · [Media](/api-reference/x/community-media) · [Keyword search](/api-reference/x/community-search) · [Tweets search](/api-reference/x/community-tweets-search)
  </Accordion>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.