Twitter / X Data Collection API

Comprehensive collection of Twitter tweets, users, topics, trends, and more

API Endpoints

Get Tweet Information

GET /api/twitter/tweet/{tweet_id}

Get detailed information about a specific tweet, including content, engagement data, media files, etc.

πŸ“‹ Available Fields

β–Ό
πŸ†” Tweet ID (tweet_id)
Unique identifier for the tweet
πŸ“ Text (text)
Tweet text content
πŸ‘€ Author (author)
Includes author ID, username, display name, followers count, and verified status
πŸ• Created At (created_at)
Tweet publication timestamp
πŸ“Š Statistics (statistics)
Includes likes, retweets, replies, quotes, and views count
πŸ–ΌοΈ Media (media)
Media files in the tweet (photos, videos, etc.)
#️⃣ Hashtags (hashtags)
List of hashtags in the tweet
@ Mentions (mentions)
List of mentioned users
πŸ”— URLs (urls)
List of URLs in the tweet

Get User Information

GET /api/twitter/user/{username}

Get user profile information, follower count, tweet statistics, etc.

πŸ“‹ Available Fields

β–Ό
πŸ†” User ID (user_id)
Unique identifier for the user
πŸ‘€ Username (username)
User's unique username
✨ Display Name (display_name)
User's display name
πŸ“ Bio (bio)
User's biography text
πŸ“ Location (location)
User's location
🌐 Website (website)
User's website URL
πŸ–ΌοΈ Profile Image (profile_image)
User's profile picture URL
πŸ–ΌοΈ Banner Image (banner_image)
User's banner image URL
πŸ• Created At (created_at)
Account creation timestamp
πŸ“Š Statistics (statistics)
Includes followers, following, tweets, and likes count
βœ“ Verified (verified)
User verification status
πŸ”’ Protected (protected)
Whether the account is protected

Get User Tweet List

GET /api/twitter/user/{username}/tweets

Get the list of tweets published by a specific user.

πŸ“‹ Available Fields

β–Ό
πŸ‘€ Username (username)
User's username
πŸ“ Tweets (tweets)
Contains tweet ID, text, created time, likes, retweets, reply status, and retweet status
πŸ”’ Total (total)
Total number of tweets
πŸ“„ Page (page)
Current page number
πŸ“Š Page Size (page_size)
Number of tweets per page

Search Tweets

GET /api/twitter/search?q={keyword}

Search for tweets by keywords, supports advanced search syntax.

πŸ“‹ Available Fields

β–Ό
πŸ” Query (query)
Search keyword
πŸ”§ Filters (filters)
Includes date range, language, and minimum likes filters
πŸ“ Results (results)
Contains tweet ID, text, author, created time, likes, and retweets
πŸ”’ Total (total)
Total number of results
πŸ“„ Page (page)
Current page number

Get Trending Topics

GET /api/twitter/trending?location={woeid}

Get trending topics and hashtags for a specific location.

πŸ“‹ Available Fields

β–Ό
πŸ“ Location (location)
Location name
🌍 WOEID (woeid)
Where On Earth ID for the location
πŸ• As Of (as_of)
Timestamp when trends were retrieved
πŸ“ˆ Trends (trends)
Contains trend name, URL, tweet volume, and rank

Get Tweet Replies

GET /api/twitter/tweet/{tweet_id}/replies

Get the list of replies to a tweet.

πŸ“‹ Available Fields

β–Ό
πŸ†” Tweet ID (tweet_id)
Original tweet ID
πŸ’¬ Replies (replies)
Contains reply tweet ID, text, author, created time, and likes
πŸ”’ Total (total)
Total number of replies
πŸ“„ Page (page)
Current page number

Get User Followers

GET /api/twitter/user/{username}/followers

Get the list of followers for a user.

πŸ“‹ Available Fields

β–Ό
πŸ‘€ Username (username)
User's username
πŸ‘₯ Followers (followers)
Contains follower user ID, username, display name, bio, and followers count
πŸ”’ Total (total)
Total number of followers
πŸ“„ Page (page)
Current page number

Get Hashtag Data

GET /api/twitter/hashtag/{hashtag}

Get statistics and related tweets for a specific hashtag.

πŸ“‹ Available Fields

β–Ό
#️⃣ Hashtag (hashtag)
Hashtag name
πŸ”’ Tweet Count (tweet_count)
Total number of tweets with this hashtag
πŸ‘₯ Unique Authors (unique_authors)
Number of unique authors using this hashtag
πŸ“ˆ Top Tweets (top_tweets)
Most popular tweets containing this hashtag

Features

How to Use

πŸ”‘

Get API Key

Contact us to get your exclusive API key and start using our data collection service

πŸ“‘

Make API Request

Use RESTful API interface, supports multiple languages including Python, JavaScript, Java, etc.

πŸ“Š

Get Data Results

Get real-time structured data in JSON format, easily integrate into your applications

1

πŸ“ Register Account

Contact us via Telegram to register an account and get API access

2

πŸ” Configure Authentication

Add your API key to request headers, format: Authorization: Bearer YOUR_API_KEY

3

πŸš€ Start Collecting

Call the corresponding API endpoints with required parameters to get real-time data

4

πŸ’‘ Data Application

Apply the obtained data to various scenarios such as data analysis, market research, content monitoring, etc.