---
title: "Get a public X List"
method: GET
path: "/v1/x/lists/{id}"
tags: ["X"]
---

# Get a public X List

`GET /v1/x/lists/{id}`

## Request

- Base URL: `https://api.weirapp.io`
- URL: `https://api.weirapp.io/v1/x/lists/{id}`
- Auth: HTTP bearer

Returns a List's name, description, owner, and member and follower counts. Read its members with `getXListMembers` and its timeline with `getXListPosts`. 404 when the List does not exist or is private. Billed per List returned.

## Path parameters

- `id` string, required: Numeric List id: the digits after `/i/lists/` in a List's URL.

## Response `200`

One X List.

- object
  - `data` object, required
    - `id` string, required
    - `name` string, required
    - `description` string, nullable, required
    - `url` string, required: `https://x.com/i/lists/{id}`.
    - `createdAt` string, date-time, required
    - `memberCount` integer, required
    - `subscriberCount` integer, required: Accounts following the list.
    - `ownerId` string, required
    - `owner` object, nullable, required: The list's owner. Null only when X omits it.
      - `id` string, required
      - `username` string, required
      - `name` string, required
      - `verified` boolean, required
      - `followersCount` integer, required
      - `profileImageUrl` string, nullable, required
  - `meta` object, required
    - `requestId` string, required
    - `nextCursor` string, nullable

## Other responses

- `400`: The request failed validation.
- `401`: The API key is missing, malformed, expired, or revoked.
- `402`: The account is out of credit. Not retryable: this cannot clear until the billing period resets or the plan changes.
- `403`: The API key does not carry the scope this route requires.
- `404`: The requested resource does not exist.
- `429`: The per-minute rate limit is exhausted. Retryable: wait for Retry-After and try again.
- `500`: An unexpected error occurred.
- `503`: The source is temporarily unavailable. The request is safe to retry.

---

[API](https://skmtc.dev/weirapp/apis/weir-api.md) · [All operations](https://skmtc.dev/weirapp/apis/weir-api/llms.txt) · [OpenAPI document](https://skmtc.dev/weirapp/apis/weir-api/revisions/4c6a9ae0bfca?raw)
