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 relationshipGETCheck whether one account follows another, in both directions. An unknown handle returns data: null.
/v1/x/profile/relationship2 cr - Get profileGETGet 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 detailsGETGet 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 accountsGETList 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 followersGETList 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 mentionsGETList 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 postsGETList 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 followersGETList 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 accountDeprecatedGETDeprecated: 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 postsDeprecatedGETDeprecated: 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