Skip to main content
POST
/
twitter
/
lists
/
memberships
Get List Memberships
curl --request POST \
  --url https://api.apitwitter.com/twitter/lists/memberships \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "cookie": "<string>",
  "proxy": "<string>",
  "user_id": "<string>",
  "count": 100,
  "cursor": "<string>"
}
'
{
  "data": {
    "lists": [
      {
        "id": "123456789",
        "name": "Tech Leaders",
        "description": "Top tech leaders",
        "member_count": 50,
        "subscriber_count": 1000,
        "is_private": false
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Your API key

Body

application/json

Twitter auth cookie

proxy
string
required

Proxy URL to use for the request (HTTP or SOCKS5)

user_id
string
required

Numeric Twitter user ID

count
integer
default:100

Number of results to return (default: 100)

cursor
string

Pagination cursor for the next page

Response

List of memberships

status
string

Response status

Example:

"success"

msg
string

Response message

data
any

Response data