Existing customer? Sign in
APIs
Search engines 15 APIs
Web scraping 1 APIs
AI search 5 APIs
Shopping 16 APIs
Specialty stores 8 APIs
Maps & local 8 APIs
Travel 9 APIs
Images & videos 21 APIs
- Bing Images API
- Bing Videos API
- Dailymotion Video API
- Deezer Search API
- Google Images API
- Google Lens API
- Google Reverse Image API
- Google Shorts API
- Google Videos API
- IMDb Search API
- Letterboxd Search API
- Naver Images API
- Niconico Video API
- Rumble Video API
- Shazam Search API
- Yahoo Images API
- Yahoo Videos API
- Yandex Images API
- Yandex Reverse Image API
- Yandex Videos API
- YouTube Search API
Jobs & people 9 APIs
Social media 11 APIs
Ad libraries 4 APIs
Apps & reviews 8 APIs
Real estate 3 APIs
Research & finance 14 APIs
- Goodreads Search API
- Google Books API
- Google Dataset Search API
- Google Finance API
- Google Patents API
- Google Scholar API
- Google Trends API
- Kaggle Dataset API
- Kaggle Dataset Search API
- Kaggle Notebook API
- Kaggle Notebook Search API
- Polymarket Events API
- TradingView Symbol Search API
- Wikipedia Search API
X (Twitter) API
Pull any public X account's profile, audience counts and newest posts as clean JSON- Followers, following, post and media counts, verification label, professional type and join date
- The newest posts a profile shows, up to 5 with the pinned post first, with likes, reposts, replies, quotes, bookmarks and views
- Photos, videos and GIFs with direct MP4 links, plus links, mentions, hashtags and the post each one quotes
curl --get https://www.searchapi.org/api/v1/search \
-d engine="x_profile" \
-d username="NASA"
X Profile Results
Get JSON results in seconds
A profile comes back as clean JSON with its counts and labels, followed by its newest posts and their engagement.
{
"search_metadata": {
"id": "search_T6wHSdh0kZa36p04wC6Hhcbw",
"status": "Success",
"created_at": "2026-11-21T14:04:35Z",
"request_time_taken": 6.43,
"parsing_time_taken": 0.0,
"total_time_taken": 6.43,
"request_url": "https://x.com/NASA",
"html_url": "https://www.searchapi.io/api/v1/searches/search_T6wHSdh0kZa36p04wC6Hhcbw.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_T6wHSdh0kZa36p04wC6Hhcbw"
},
"search_parameters": {
"engine": "x_profile",
"username": "NASA"
},
"profile": {
"id": "11348282",
"username": "NASA",
"name": "NASA",
"link": "https://x.com/NASA",
"bio": "Making the seemingly impossible, possible. ✨",
"external_link": "http://www.nasa.gov/",
"location": "Pale Blue Dot",
"followers": 92191243,
"following": 115,
"posts": 74570,
"media_posts": 28260,
"is_verified": true,
"verified_type": "Government",
"affiliates": 85,
"birth_date": "1958-10-01",
"created_at": "2007-12-19T20:20:32Z",
"avatar": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
"banner": "https://pbs.twimg.com/profile_banners/11348282/1788992290"
},
"posts": [
{
"position": 1,
"id": "2123820070803542306",
"link": "https://x.com/NASA/status/2123820070803542306",
"text": "LIVE: Watch as an uncrewed SpaceX Dragon spacecraft undocks from the @space_station and begins its journey to bring research samples and hardware back to Earth. https://x.com/i/broadcasts/2evOEzWEYBkWyn",
"iso_date": "2026-11-20T16:45:38Z",
"language": "en",
"likes": 2169,
"reposts": 321,
"comments": 112,
"quotes": 18,
"saves": 77,
"views": 834316,
"content_links": [
{
"text": "x.com/i/broadcasts/2…",
"link": "https://x.com/i/broadcasts/2evOEzWEYBkWyn"
}
],
"mentions": [
"Space_Station"
]
},
"..."
]
}
Developer experience
Easy integration
Integrating is as simple as making a GET HTTP request.
https://www.searchapi.org/api/v1/search?engine=x_profile&username=NASA
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.org/api/v1/search"
params = {
"engine": "x_profile",
"username": "NASA"
}
response = requests.get(url, params=params)
print(response.text)
Structured Profile Data
Everything you need in one response
Each X profile is parsed into clean JSON, ready for your pipeline.
-
Profile & Bio
- Display name, bio with full links, website, location, avatar, banner and join date
-
Audience Counts
- Followers, following, total posts and media posts as exact numbers
-
Verification & Labels
- Verified checkmark and its type, X Professional type and category, and affiliate badges
-
Recent Posts
- Up to 5 of the newest posts the profile shows, the pinned post first, with full text and date
-
Engagement
- Likes, reposts, replies, quotes and bookmarks for each post, and views where X shows them
-
Media & Quoted Posts
- Images, videos and GIFs with dimensions and MP4 links, plus each quoted post and its author
Simple Pricing
Pricing plans
- Pay per success
- Built in location geo-targetting
- Only premium proxies
- 10,000 Searches
- 35,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- 100,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Medium Throughput
- 250,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- High Throughput
- 500,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
- 1,000,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
- 2,000,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
- 5,000,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
Trusted by industry leaders
Robust Infrastructure
Handle even the most demanding needs
Performance
Sub-2 second average response time
Optimized for low latency, delivering rapid results for AI applications, SEO analysis, and research.
100% Success Rate
Guaranteed query completion
Guaranteed success with built-in auto-retry mechanism and adaptive error handling to ensure complete data collection.
Proxy Management
Scalable proxy rotation
Our built-in proxy rotator and auto-retry mechanisms ensure scalability, handling millions of searches daily across a global network of 100M+ proxies.
Captcha Solving
Advanced CAPTCHA bypass
Mimics real human behavior with full browser rendering, JavaScript execution, and CAPTCHA solving for uninterrupted data scraping.
Integrations
Open-source integrations
Easily integrate with popular open-source tools like Dify, Flowise, LangChain, and Haystack to extend functionality with minimal setup.
Get started with SearchApi today
No credit card required. No commitment. Cancel anytime.