Get a profile
Twitter User API · 10 points per successful call
Product overview and demoAll Twitter (X) API endpointsError codes
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. Returns 404 NOT_FOUND when no account answers to that name or id, or the account is suspended or deactivated. Protected accounts return their profile. Records are cached briefly and shared with the account’s lists.
bearerAuthAuthorizationBearer <token>Your API key, sent as a bearer token. In the console on this page you can leave it empty: signed in, calls run on your own plan; otherwise they run on a shared demo key after a quick human check.
username?stringThe account handle, with or without the leading @. Give this or user_id.
^@?[A-Za-z0-9_]{1,20}$user_id?stringThe numeric user id, which survives a change of username. Give this or username.
^[0-9]{1,20}$Successful response
application/json- response
meta*data*curl -X GET 'https://api.endpointry.com/v1/twitter/user?username=NASA'{
"meta": {
"request_id": "req_7729f93d3facf68ff83e5c50",
"as_of": "2026-11-24T12:00:00.000Z",
"cache": "MISS"
},
"data": {
"user": {
"id": "11348282",
"username": "NASA",
"name": "NASA",
"url": "https://x.com/NASA",
"description": "Making the seemingly impossible, possible. ✨",
"location": "Pale Blue Dot",
"website": "http://www.nasa.gov/",
"created_at": "2007-12-19T20:20:32.000Z",
"followers": 92131169,
"following": 115,
"tweets": 74577,
"likes": 17122,
"media": 28263,
"listed": 96871,
"verified": true,
"verified_type": "government",
"protected": false,
"profile_image_url": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
"pinned_tweet_id": null
}
}
}