Twitter User API
Public X (Twitter) profiles — bio, location, website, join date, follower and post counts, badge and avatar — by username or id.
https://api.endpointry.com/v1/twitter/userNASA
NASA
Making the seemingly impossible, possible. ✨
- URL
- https://x.com/NASA
- Location
- Pale Blue Dot
- Website
- http://www.nasa.gov/
- Created at
- 2007-12-19T20:20:32.000Z
- Followers
- 92,131,169
- Following
- 115
Checking live calls…
What you get
Returns a public account by username or user_id: name, bio, location and website, join date, follower, following and post counts, verification badge, protection, avatar, banner and pinned post.
- Description — The bio, with shortened links expanded
- Website — The profile link, expanded
- Tweets — Posts published, retweets and replies included
- Likes — Posts this account liked
- Media — Posts with photos or videos
- Listed — Public lists that include this account
- Verified — Whether the account shows a verification badge
- Verified type — Which badge:
blue(subscription),businessorgovernment
Use cases
What teams build with it
- Influencer discovery and vetting by audience size and verification
- Lead and account enrichment from an X handle
- Tracking follower growth over time
- Resolving handles to stable user ids before storing them
FAQ
Frequently asked questions
Can I look an account up by id instead of username?
Yes. Pass user_id instead of username. Ids never change, while a username can, so store the id if you track accounts over time.
What happens for a suspended or deleted account?
A clean 404 NOT_FOUND, the same as for a username that never existed. Protected accounts return their profile with protected: true.
Which verification badges are reported?
verified tells whether the account shows a badge; verified_type says which one: blue (subscription), business or government.
Do I need an X developer account?
No. One Endpointry API key covers this endpoint along with the rest of the catalog.
More from the Twitter (X) API
Try it on the free plan
One key covers the whole catalog, this endpoint included, starting on the free plan with no card.