X / Twitter Profile API
Public profile for a handle: name, bio, website, follower/following counts and verification.
Provider network
Providers ranked by traffic
Try it
Make your first request
{
"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/"
}
}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 30dcurl -X POST https://api.getanyapi.com/v1/run/twitter.profile \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"nasa"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| handle | string | "nasa"Twitter/X handle without the leading @. |
| Response | ||
| found | boolean | true |
| data | object | |
| data.handle | string | "nasa" |
| data.name | string | "NASA" |
| data.bio | string | "There’s space for everybody." |
| data.location | string | "Pale Blue Dot" |
| data.verified | boolean | true |
| data.followers | number | 79400000 |
| data.following | number | 191 |
| data.tweetCount | number | 73200 |
| data.joinedAt | string | "2007-12-19T20:20:41Z" |
| data.avatarUrl | string | "https://pbs.twimg.com/nasa.jpg" |
| data.website | string | "https://www.nasa.gov/" |
| Price | ||
| Price per request | USD | $0.00022 |
| Price /1k req | USD | $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.