A public profile with its counters merged with the about-page detail: bio, location, join date, website and verification state.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
2 optional filters available.
string
Required
Screen name, with or without the leading @.
example
string
Optional
Numeric account id. Accepted only together with a tweet_id, because no public route turns a bare numeric id into a screen name.
1234567890
string
Optional
A tweet id by the same author. Required when rest_id is supplied without a handle.
1234567890
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
user
counters_provenance
{
"user": {
"url": "https://x.com/elonmusk",
"name": "Elon Musk",
"joined": "June 2009",
"website": "https://example.com",
"location": "Earth",
"statuses": 45000,
"followers": 218000000,
"following": 2400,
"protected": false,
"description": "Public bio.",
"media_count": 3100,
"screen_name": "elonmusk",
"verification": {
"verified": true
}
},
"counters_provenance": "Engagement counters are public, third-party-visible values, not X-attested metrics. estimated_view_count is X's estimated-view signal and is a different quantity from a view count."
}
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.