# Twitter User Profile API (V1)

Get X User Profile via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by JustOneAPI, pass parameters such as restId, and retrieve structured data including business status code, identifier, name, reported status, and returned label field for content research and account lookup, and integration reference.

Documentation: https://openany.si/market/apis/x/x-user-profile/?offering=35750085-dd3d-439e-a620-25cefe7affb0
API ID: 35750085-dd3d-439e-a620-25cefe7affb0
Provider: justoneapi
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/twitter/get-user-detail/v1
Page update time: 2026-12-03T02:53:49.852Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.015385 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:53:48.112Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "15385",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Twitter User Profile API (V1) request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "restId": {
          "type": "string",
          "description": "The unique numeric identifier (Rest ID) for the X user."
        }
      },
      "required": [
        "restId"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "affiliates": {
          "type": "object",
          "properties": {
            "label": {
              "type": "object",
              "properties": {
                "badge": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    }
                  }
                },
                "description": {
                  "type": "string"
                },
                "url": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "urlType": {
                      "type": "string"
                    }
                  }
                },
                "userLabelDisplayType": {
                  "type": "string"
                },
                "userLabelType": {
                  "type": "string"
                }
              }
            }
          }
        },
        "avatar": {
          "type": "string"
        },
        "blue_verified": {
          "type": "boolean"
        },
        "business_account": {
          "type": "array",
          "items": {}
        },
        "created_at": {
          "type": "string"
        },
        "desc": {
          "type": "string"
        },
        "friends": {
          "type": "integer"
        },
        "header_image": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "location": {
          "type": "string"
        },
        "media_count": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "pinned_tweet_ids_str": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "profile": {
          "type": "string"
        },
        "protected": {
          "type": "boolean"
        },
        "rest_id": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "statuses_count": {
          "type": "integer"
        },
        "sub_count": {
          "type": "integer"
        },
        "verification_type": {
          "type": "null"
        }
      }
    },
    "message": {
      "type": "null"
    },
    "recordTime": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Official example · Historical response; independent request temp
```bash
curl \
  'https://api.openany.si/v1/agent-apis/justoneapi/api/twitter/get-user-detail/v1?restId=%3CREPLACE_RESTID%3E' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "code": 0,
  "data": {
    "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"
      }
    },
    "avatar": "https://pbs.twimg.com/profile_images/2103567689515954176/aR-Kjpp4_normal.jpg",
    "blue_verified": true,
    "business_account": [],
    "created_at": "Tue Jun 02 20:12:29 +0000 2009",
    "desc": "https://t.co/ZdBx5WABYx",
    "friends": 1418,
    "header_image": "https://pbs.twimg.com/profile_banners/44196397/1774145451",
    "id": "44196397",
    "location": "",
    "media_count": 4745,
    "name": "Elon Musk",
    "pinned_tweet_ids_str": [
      "2112931457786081428"
    ],
    "profile": "elonmusk",
    "protected": false,
    "rest_id": "44196397",
    "status": "active",
    "statuses_count": 110726,
    "sub_count": 241521573,
    "verification_type": null
  },
  "message": null,
  "recordTime": null
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- anyapi: https://openany.si/market/apis/x/x-user-profile/?offering=a53befe5-bf11-43ad-84bc-21370816ccb8
- justoneapi: https://openany.si/market/apis/x/x-user-profile/?offering=35750085-dd3d-439e-a620-25cefe7affb0
- litescrape: https://openany.si/market/apis/x/x-user-profile/?offering=b345a53b-48e9-46df-960f-e704f1d13de3
- scrapecreators: https://openany.si/market/apis/x/x-user-profile/?offering=b39b6d7d-37a8-4336-9a25-214a8595bb5d
- tikhub: https://openany.si/market/apis/x/x-user-profile/?offering=c259fbd6-be8f-429a-95d2-ad173ffeea84

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
