X 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.

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

Parameters

  • rest_id string Required

    The unique numeric identifier (Rest ID) for the X user.

    Example11348282

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'

Example response

Request parameters {"rest_id": "11348282"}

JSON Captured 2026-11-08, took 8002 ms
{
  "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"
      }
    }
  }
}

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

More X endpoints

  • Search Timeline

    $0.02

    Searches X (Twitter) by keyword across top, latest, media, people, or list result modes with cursor pagination. Use it to find public conversations, accounts…

    /v1/twitter/search_v1

  • User Published Posts

    $0.02

    Retrieves posts published by an X (Twitter) user identified by Rest ID, with cursor pagination. Use it to browse a known account's timeline or continue throu…

    /v1/twitter/get_user_posts_v1

  • Post Comments

    $0.02

    Retrieves the latest comments for an X (Twitter) post identified by tweet ID, with cursor pagination. Use it to review recent discussion on a known post and…

    /v1/twitter/get_post_comments_v1

↑↓ to move, Enter to open, Esc to close