Skip to main content

GET /v1/twitter/user/user_detail_v1

Twitter User Profile API (V1)

stable · 20 credits per success

Retrieve an X (Twitter) user profile by numeric Rest ID. Use it to review a known account before monitoring its posts or conducting creator and account research.

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl
curl -s 'https://api.wellbyte.net/v1/twitter/user/user_detail_v1?restId=demo' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data{
id:"44196397"
desc:"https://t.co/ZdBx5WABYx"
name:"Elon Musk"
avatar:"https://pbs.twimg.com/profile_images/2053244804520427520/m8mdWZCG_normal.jpg"
status:"active"
friends:1411
profile:"elonmusk"
rest_id:"44196397"
location:""
protected:false
sub_count:241702812
affiliates{ 1 item }
created_at:"Tue Jun 02 20:12:29 +0000 2009"
media_count:4722
header_image:"https://pbs.twimg.com/profile_banners/44196397/1774145451"
blue_verified:true
statuses_count:108930
business_account:null
verification_type:null
pinned_tweet_ids_str[ 1 item ]
}
meta{
endpoint:"twitter.user.user_detail_v1"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    restIdstringqueryyesX 用户的唯一数字标识符(Rest ID)。demo

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 20 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All Twitter/X endpoints →

    Search

    Search endpoints and docs