X (Twitter) Profile Scraper API
Returns public profile information for a X user including follower count, following count, post count, bio, profile image URL, verification status, account privacy flag, and join date. The banner image is author.ext.cover_url and the website from the bio is author.ext.bio_link, resolved to its destination rather than the t.co shortener. Every link in the bio text is in author.ext.links, in order, each at its destination. author.url is the profile permalink; X publishes no total-likes-received figure, so author.likes_count is always null.
GET /api/v1/data/x/profile · 1 credit per call · The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.
Inputs
handle(required): X username without the @ symbolmax_duration: Max duration.min_confidence: 0 to 1, default 0.6roles: Comma list of own, management, agency; default own,management
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.source_data.author.avatar_url(string): URL to profile picturesource_data.author.bio(string): Profile biography or descriptionsource_data.author.display_name(string): Display name or full namesource_data.author.ext.bio_link(string): The website set in the Threads bio.source_data.author.ext.business_hours(array)source_data.author.ext.cover_url(string): URL of the page banner or cover image.source_data.author.ext.products(array): Null when it lists none.source_data.author.followers(number): Follower or subscriber count as an integer. YouTube above 1,000 subscribers is YouTube's published three-significant-figure figure. When the integer is a published/rounded value, `author.ext.followers_approximate` is true.source_data.author.following(number): Number of accounts followedsource_data.author.id(string): Platform-specific user ID (always a string; platform-specific prefixes like `did:`, `spotify:artist:`, `t2_` are stripped)source_data.author.joined_at(string): When the account was created, as an ISO 8601 date (YYYY-MM-DD).source_data.author.location(string): ISO region code (e.g. `US`) or freeform location string when surfacedsource_data.author.posts_count(number): Total number of posts / videos / tracks / episodessource_data.author.private(boolean): Whether the account is private.source_data.author.url(string): Direct URL to the profile pagesource_data.author.username(string): User handle or usernamesource_data.author.verified(boolean): Whether the account is verifiedsource_data.computed.content_category(string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.source_data.computed.engagement_rate(number): Computed engagement rate (0..1).source_data.computed.estimated_reach(number): Estimated reach based on views or follower count. Null when uncomputable.source_data.computed.language(string)source_data.computed.save_rate(number)source_data(object): Everything the platform sent for this call, as it came.
Good to know
- Each call costs 1 credit. A call that finds nothing, or fails, is free.
- The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.
Example call
GET /api/v1/data/x/profile?handle=elonmusk
Questions
How much does the X (Twitter) Profile API cost?
Each call costs 1 credit. A call that finds nothing, or fails, costs nothing.
What do I send?
You must send handle. 3 more inputs are optional: max_duration, min_confidence and roles. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How fresh is the data?
The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.
Do I need an X (Twitter) account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.
Related X (Twitter) endpoints
- Profile About: Get a X account's About details. 2 credits a call
- Profile Full: X profile, recent posts, and computed analytics in one call. 5 credits a page
More X (Twitter) scraper APIs
- X (Twitter) AI Search Scraper API
- X (Twitter) Community Scraper API
- X (Twitter) Community Posts Scraper API
- X (Twitter) Post Reposters Scraper API
- X (Twitter) Post Transcript Scraper API
- X (Twitter) Profile About Scraper API
- X (Twitter) Profile Full Scraper API
- X (Twitter) Search Hashtag Scraper API
- X (Twitter) Search Mentions Scraper API
- X (Twitter) Search Users Scraper API
- X (Twitter) User Followers Scraper API
- X (Twitter) User Following Scraper API
- X (Twitter) User Media Scraper API