{
  "openapi": "3.0.0",
  "info": {
    "title": "Twitter User Profile API (V1)",
    "version": "1.0.0",
    "description": "Get Twitter user Profile data, including account metadata, audience metrics, and verification-related fields, for accessing user profile metadata (e.g., description, location, verification status) and collecting follower and following counts."
  },
  "paths": {
    "/api/twitter/get-user-detail/v1": {
      "get": {
        "tags": [
          "Twitter"
        ],
        "summary": "User Profile",
        "description": "Get Twitter user Profile data, including account metadata, audience metrics, and verification-related fields, for accessing user profile metadata (e.g., description, location, verification status) and collecting follower and following counts.",
        "operationId": "getUserDetailV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "Authentication token required for API access.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "restId",
            "in": "query",
            "description": "The unique numeric identifier (Rest ID) for the X user.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "default": {
            "description": "default response",
            "content": {
              "application/json": {
                "example": {
                  "code": 0,
                  "data": {
                    "status": "active",
                    "profile": "elonmusk",
                    "rest_id": "44196397",
                    "blue_verified": true,
                    "verification_type": null,
                    "affiliates": {
                      "label": {
                        "badge": {
                          "url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
                        },
                        "description": "X",
                        "url": {
                          "url": "https://twitter.com/X",
                          "urlType": "DeepLink"
                        },
                        "userLabelDisplayType": "Badge",
                        "userLabelType": "BusinessLabel"
                      }
                    },
                    "business_account": [],
                    "avatar": "https://pbs.twimg.com/profile_images/2008546467615580160/57KcqsTA_normal.jpg",
                    "header_image": "https://pbs.twimg.com/profile_banners/44196397/1739948056",
                    "desc": "",
                    "name": "Elon Musk",
                    "protected": null,
                    "location": null,
                    "friends": 1292,
                    "sub_count": 236240323,
                    "statuses_count": 98749,
                    "media_count": 4387,
                    "pinned_tweet_ids_str": [
                      "2030159267689632121"
                    ],
                    "created_at": "Tue Jun 02 20:12:29 +0000 2009",
                    "id": "44196397"
                  }
                }
              }
            }
          }
        },
        "x-order": 31001000
      }
    }
  },
  "components": {}
}