Authentication
List lookup endpoints support multiple authentication methods:| Method | Best for | Access to private Lists? |
|---|---|---|
| OAuth 2.0 App-Only | Public List data | No |
| OAuth 2.0 Authorization Code with PKCE | User-facing apps | Yes (owned/followed) |
| OAuth 1.0a User Context | Legacy integrations | Yes (owned/followed) |
Example request
cURL
Endpoints overview
| Method | Endpoint | Description |
|---|---|---|
| GET | /2/lists/:id | Get List by ID |
| GET | /2/users/:id/owned_lists | Get Lists owned by a user |
Fields and expansions
Default response
Available fields
list.fields
list.fields
| Field | Description |
|---|---|
created_at | List creation timestamp |
description | List description |
follower_count | Number of followers |
member_count | Number of members |
owner_id | Owner’s user ID |
private | Whether List is private |
user.fields (requires owner_id expansion)
user.fields (requires owner_id expansion)
| Field | Description |
|---|---|
username | Owner’s @handle |
name | Owner’s display name |
verified | Owner’s verification status |
profile_image_url | Owner’s avatar URL |
Example with expansions
cURL
Response with expansion
Fields and expansions guide
Learn more about customizing responses
Pagination
When retrieving owned Lists, results are paginated:cURL
Pagination guide
Learn more about pagination
Private Lists
- Private Lists are only visible to the owner
- You must authenticate as the owner to retrieve private List details
- The
privatefield indicates whether a List is private
Error handling
| Status | Error | Solution |
|---|---|---|
| 400 | Invalid request | Check List ID format |
| 401 | Unauthorized | Verify authentication |
| 403 | Forbidden | List may be private |
| 404 | Not Found | List doesn’t exist |
| 429 | Too Many Requests | Wait and retry |