x.com
Export an X (Twitter) account's followers or following
Input
count optionalMax accounts to return. Scrolls until count is met or the list dries up. Default 100.
Default: 100handle optionalTarget user's handle (with or without @).
handles optionalNot supported since 19 Oct 2026: the run fails with a message saying so. Send one handle per call and fan out with run_script's scripts.
direction optionalWhich list to read: the user's 'followers', or the accounts they follow ('following').
Default: "followers"Output
count optionalNumber of accounts returned. 0 is a first-class outcome (none, or protected/hidden).
handle optionalaccounts optionalcomplete optionalTrue when X showed the end of the list and every account it sent is returned. False when more may exist: count was reached or X stopped loading.
direction optional