Try our Interactive Data Client: a revolutionary AI-Powered, self-defined, data retrieval tool. Retrieve ANY data on ANY subject within seconds: Start Now!

Get X Profile API

Retrieve detailed profile information for any X (Twitter) handle, including followers, posts, bio, location, and more.

API Overview

This API retrieves comprehensive profile data for a given X (formerly Twitter) handle. Simply provide a handle to receive detailed information including the display name, bio description, follower and following counts, total posts, website URL, location, and account creation date.

Rich Profile Data

Get comprehensive profile details including display name, bio, website, location, and account creation date in a single API call.

Engagement Metrics

Access key engagement data including follower count, following count, and total post count for any X handle.

Fast & Reliable

Retrieve up-to-date profile information quickly and reliably, ideal for enriching datasets, monitoring accounts, or building integrations.

Premium API

This is a premium API that retrieves real-time profile data from X (Twitter), providing comprehensive account details and engagement metrics for any public handle.

5 credits per API call

Sample Results ("lexfridman")

Field Example Value Description
Handle lexfridman The X (Twitter) handle
DisplayName Lex Fridman The display name on the profile
Description Host of Lex Fridman Podcast. Interested in robots and humans. The profile bio/description
CreateDate Dec 3, 2011 Date the account was created
Following 672 Number of accounts the user follows
Followers 4626684 Number of followers
PostCount 3984 Total number of posts
WebsiteURL https://youtube.com/lexfridman Website URL listed on the profile
Location Austin and Boston Location listed on the profile
Code Success Status code of the API response
Credits 201027 Remaining account credits

API Details

Endpoint

https://api.interzoid.com/getxuserprofile

Request Format

https://api.interzoid.com/getxuserprofile?license=[licensekey]&handle=[x handle]

Sample Request

https://api.interzoid.com/getxuserprofile?license=fh5hs7*****&handle=lexfridman

Sample Response

{ "Handle": "lexfridman", "DisplayName": "Lex Fridman", "Description": "Host of Lex Fridman Podcast. Interested in robots and humans.", "CreateDate": "Dec 3, 2011", "Following": "672", "Followers": "4626684", "PostCount": "3984", "WebsiteURL": "https://youtube.com/lexfridman", "Location": "Austin and Boston", "Code": "Success", "Credits": "201027" }

cURL Example (with API key in header)

curl --header "x-api-key: fh5hs7*****" "https://api.interzoid.com/getxuserprofile?handle=lexfridman"

Additional Examples

Here are additional real-world examples showing the API's versatility across different types of X profiles:

Technology Company Tech

{ "Handle": "nvidia", "DisplayName": "NVIDIA", "Description": "The official handle for NVIDIA...", "Following": "42", "Followers": "2445572", "PostCount": "17431", "WebsiteURL": "https://blogs.nvidia.com", "Location": "Santa Clara", "Code": "Success" }

Handle: "nvidia"
Major Airline Travel

{ "Handle": "southwestair", "DisplayName": "Southwest Airlines", "Description": "We run on #SouthwestHeart...", "CreateDate": "July 2, 2007", "Following": "1", "Followers": "2025731", "PostCount": "3200", "Location": "Dallas, Texas", "Code": "Success" }

Handle: "SouthwestAir"
Sports Celebrity Sports

{ "Handle": "KingJames", "DisplayName": "LeBron James", "Description": "EST. AKRON - ST.V/M Class of '03...", "CreateDate": "Mar 6, 2009", "Following": "181", "Followers": "47864609", "PostCount": "9680", "WebsiteURL": "http://LeBronJames.com", "Location": "Outer Space", "Code": "Success" }

Handle: "kingjames"
Media Personality Media

{ "Handle": "lexfridman", "DisplayName": "Lex Fridman", "Description": "Host of Lex Fridman Podcast...", "CreateDate": "Dec 3, 2011", "Following": "672", "Followers": "4626684", "PostCount": "3984", "WebsiteURL": "https://youtube.com/lexfridman", "Location": "Austin and Boston", "Code": "Success" }

Handle: "lexfridman"
These examples demonstrate the API's ability to retrieve detailed profile data across diverse categories including technology companies, airlines, sports celebrities, and media personalities.

Code Examples, Database Queries, and Specifications

Usage Examples

See quick and easy code examples in multiple programming languages, including Python, Node.js, Java, Typescript, and Go. Also see how to use within database queries on popular database platforms and open specifications such as OpenAPI.

See All Examples

Additional Resources

Try this API Interactively

Our API interactive usage tool enables you to try this API interactively with a user interface and without writing code. The tool is available for all of our APIs.

Try it Now
Use this API in a High-Performance, No-Code, Cloud Batch Mode

Our No-Code batch tool enables you to quickly use this API within our parallel-processing Cloud platform, processing text files (CSV/TSV) with a few clicks and without writing code. This is the fastest and easiest way to use this API with higher volumes of data, enabling results in minutes.

Start Now