X / Twitter API

X / Twitter Profile API

Public profile for a handle: name, bio, website, follower/following counts and verification.

POST/v1/run/twitter.profile
Uptime
100.00%
30d · 16,327 calls
Requests
16,350
30d · weekly, last 12 wks
Response
0.7s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "found": true,
  "data": {
    "handle": "nasa",
    "name": "NASA",
    "bio": "There’s space for everybody.",
    "location": "Pale Blue Dot",
    "verified": true,
    "followers": 79400000,
    "following": 191,
    "tweetCount": 73200,
    "joinedAt": "2007-12-19T20:20:41Z",
    "avatarUrl": "https://pbs.twimg.com/nasa.jpg",
    "website": "https://www.nasa.gov/"
  }
}
Response interface
interface TwitterProfileResponse {
  data: {
    avatarUrl: string;
    bio: string;
    displayName: string;
    followers: number;
    following: number;
    handle: string;
    tweets: number;
    verified: boolean;
    website: string;
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/twitter.profile
curl -X POST https://api.getanyapi.com/v1/run/twitter.profile \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"nasa"}'
FieldTypeExample value
Request body
handlestring"nasa"Twitter/X handle without the leading @.
Response
foundbooleantrue
dataobject
data.handlestring"nasa"
data.namestring"NASA"
data.biostring"There’s space for everybody."
data.locationstring"Pale Blue Dot"
data.verifiedbooleantrue
data.followersnumber79400000
data.followingnumber191
data.tweetCountnumber73200
data.joinedAtstring"2007-12-19T20:20:41Z"
data.avatarUrlstring"https://pbs.twimg.com/nasa.jpg"
data.websitestring"https://www.nasa.gov/"
Price
Price per requestUSD$0.00022
Price /1k reqUSD$0.22

FAQ

About the X / Twitter Profile API

The AnyAPI X / Twitter Profile API returns X / Twitter profile data as normalized JSON from one POST call to /v1/run/twitter.profile. Public profile for a handle: name, bio, website, follower/following counts and verification. AnyAPI routes each request across 5 sources and falls back automatically when one fails. It costs from $0.22 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of X / Twitter profile calls through AnyAPI succeeded, with a median response time of 0.7 seconds across 16,327 measured calls.

It costs from $0.22 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Public profile for a handle: name, bio, website, follower/following counts and verification. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of X / Twitter profile calls through AnyAPI succeeded, with a median response time of 0.7 seconds across 16,327 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.