User Profile

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

Endpoint ID
GET /v1/twitter/get_user_detail_v1
Endpoint ID
twitter.get_user_detail_v1
Price
$0.02 per successful call · failed calls are free

Parameters

Name Required Type Description Example Allowed values
rest_id Required string The unique numeric identifier (Rest ID) for the X user. 11348282 —

Code samples

curl -G "https://api.mofa-ai.com/v1/twitter/get_user_detail_v1" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'rest_id=11348282'

Try it

Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.

Sign in to try

Example response

Captured 2026-11-08, took 8002 ms · Request parameters {"rest_id": "11348282"}

JSON
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "twitter.get_user_detail_v1",
  "cost_usd": 0.02,
  "data": {
    "code": 0,
    "data": {
      "id": "11348282",
      "desc": "Making the seemingly impossible, possible. ✨",
      "name": "NASA",
      "avatar": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
      "status": "active",
      "friends": 115,
      "profile": "NASA",
      "rest_id": "11348282",
      "location": "Pale Blue Dot",
      "protected": false,
      "sub_count": 92271894,
      "affiliates": [],
      "created_at": "Wed Dec 19 20:20:32 +0000 2007",
      "media_count": 28241,
      "header_image": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
      "blue_verified": true,
      "statuses_count": 74520,
      "business_account": null,
      "verification_type": null,
      "pinned_tweet_ids_str": [
        "2119188276049228152"
      ]
    },
    "message": null,
    "requestId": "187a79ca03ee4d7b8bc09d3375f87147",
    "recordTime": "2026-11-08T08:00:20.228289855",
    "requestParams": {
      "body": null,
      "query": {
        "restId": "11348282"
      }
    }
  }
}