Skip to main content
The List lookup endpoints let you retrieve information about Lists. Look up a specific List by ID or get all Lists owned by a user.

Overview

By ID

Get details for a specific List

By owner

Get all Lists owned by a user

Endpoints

MethodEndpointDescription
GET/2/lists/:idGet List by ID
GET/2/users/:id/owned_listsGet Lists owned by a user

Response fields

By default, the response includes id and name. Request additional fields:
FieldDescription
descriptionList description
owner_idOwner’s user ID
privateWhether List is private
follower_countNumber of followers
member_countNumber of members
created_atList creation date

Example request

curl "https://api.x.com/2/lists/1234567890?\
list.fields=description,owner_id,member_count,follower_count" \
  -H "Authorization: Bearer $BEARER_TOKEN"

Getting started

Prerequisites