App Logo
x.com

Get X follows

List a user's followers or the accounts they follow, by handle — selected by the direction arg ('followers', the default, or 'following'). Returns per account: user_id, handle, name, followers, following, tweets, verified, location, website, bio. Scrolls until count is met or the list dries up.

Input

handle required

Target user's handle (with or without @).

count optional

Max accounts to return. Scrolls until count is met or the list dries up. Default 100.

Default: 100
direction optional

Which list to read: the user's 'followers', or the accounts they follow ('following').

Default: "followers"

Output

count required

Number of accounts returned. 0 is a first-class outcome (none, or protected/hidden).

handle required
accounts required
direction required

Start building not clicking