X (Twitter) User API
Get public X (Twitter) profiles, posts, timelines, followers, search results, replies and threads, articles, lists, communities, Spaces, and trends.
User
10 endpoints- Check follow relationship (v1)GETCheck whether one account follows another, in both directions. An unknown handle returns data: null.
/v1/x/profile/relationship2 cr - Get profile (v1)GETGet an account's public profile: name, bio, location, follower and post counts, verification, and pinned post IDs. An unknown handle returns data: null.
/v1/x/profile1 cr - Get profile About details (v1)GETGet an account's About panel: creation date, verification history, country, handle-change count, and affiliation. An unknown handle returns data: null.
/v1/x/profile/about1 cr - List followed accounts (v1)GETList accounts a profile follows, up to 200 per page. Paginate with cursor and has_more. An unknown handle returns data: null or an empty page.
/v1/x/profile/followings3 cr - List followers (v1)GETList accounts that follow a profile, up to 200 per page. Paginate with cursor and has_more. An unknown handle returns data: null or an empty page.
/v1/x/profile/followers3 cr - List profile mentions (v1)GETList posts that mention an account, newest first. Paginate with cursor and has_more. An unknown handle returns data: null or an empty page.
/v1/x/profile/mentions5 cr - List profile posts (v1)GETList an account's posts newest first, plus its pinned post. Set include_replies to add the account's replies. Paginate with cursor and has_more. An unknown handle returns data: null or an empty page.
/v1/x/profile/posts5 cr - List verified followers (v1)GETList verified accounts that follow a profile. Needs the numeric user_id, which /v1/x/profile returns as id. Paginate with cursor and has_more. An unknown user_id returns data: null.
/v1/x/profile/verified-followers1 cr Get account (v1)DeprecatedGETDeprecated: use /v1/x/profile instead. Get an account's public profile, verification status, and activity counts. An unknown handle returns data: null./v1/x/user1 crList account posts (v1)DeprecatedGETDeprecated: use /v1/x/profile/posts instead. List an account's posts with text, engagement counts, entities, and author details. An unknown handle returns data: null./v1/x/tweets1 cr