About Pricing Playground
LOCAL

Twitter/X API

By Scraper.Tech | Last update 8 months ago

Rating 4.9 (11 votes)
Latency 1 457 ms
Subscribers 1401
Rate this API:

The unofficial Twitter API is a powerful tool that allows developers to access and interact with Twitter’s vast range of data and features. This API provides multiple endpoints to retrieve detailed user information, analyze activity, and explore trends, enabling rich, data-driven applications. Below are the available endpoints:

  • User Info: Retrieve detailed information about a user, such as their bio, location, and profile details.
  • User Timeline: Fetch the most recent tweets from a user’s timeline.
  • Following & Followers: Access the lists of accounts a user follows or those who follow the user.
  • Tweet Info: Get detailed metadata about specific tweets, including likes, retweets, and content.
  • Affiliates: Analyze user relationships and associated accounts.
  • User’s Media: Retrieve media content such as images, videos, and GIFs posted by a user.
  • Retweets & Check Retweet: Access a list of retweets or verify if a specific tweet has been retweeted by a user.
  • Trends & Search: Explore trending topics and search tweets using keywords or hashtags.
  • User Replies & Latest Replies: Collect replies posted by a user or responses to their tweets.
  • Tweet Thread: Retrieve the entire thread of tweets from a specific conversation.
  • Check Follow: Determine if one user follows another.
  • List Timeline, Followers, & Members: Access details of Twitter Lists, their followers, and their members.
  • Profiles By Rest IDs: Retrieve user profiles based on internal Twitter identifiers.
  • Community Posts: Explore posts from Twitter Communities.
  • Spaces Info: Access details about live audio Spaces on Twitter.

These endpoints empower developers to build applications that monitor activity, analyze trends, manage content, or interact with Twitter data for various use cases, such as social media analytics, customer engagement, and trend tracking.

Sample output

Sample response in the Json-format is easy to read and traffic-efficient.

Available Endpoints

User infoUser timelineTweet infoFollowersFollowingAffilatesUser mediaRetweetsTrendsCommunity timelineSearchUser repliesUsers by RestIdsTweet threadLatest repliesList timelineSearch CommunitiesSpaces InfoAbout ProfileUser live

{"status":"active","profile":"elonmusk","rest_id":"44196397","blue_verified":true,"affiliates":{"label":{"url":{"url":"https:\/\/twitter.com\/X","urlType":"DeepLink"},"badge":{"url":"https:\/\/pbs.twimg.com\/profile_images\/1955359038532653056\/OSHY3ewP_bigger.jpg"},"description":"X","userLabelType":"BusinessLabel","userLabelDisplayType":"Badge"}},"business_account":[],"avatar":"https:\/\/pbs.twimg.com\/profile_images\/1936002956333080576\/kqqe2iWO_normal.jpg","header_image":"https:\/\/pbs.twimg.com\/profile_banners\/44196397\/1739948056","desc":"","name":"Elon Musk","protected":null,"location":"","friends":1195,"sub_count":225110922,"statuses_count":85110,"media_count":4114,"pinned_tweet_ids_str":["1962892837009359303"],"created_at":"Tue Jun 02 20:12:29 +0000 2009","id":"44196397"}