# X user profile

Takes screen name and rest id, all optional. Served by TikHub.

Purpose:
- Get user profile
Parameters:
- screen_name: Screen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk
- rest_id: User ID, for example: 44196397, if the user ID is used, the username will be ignored, only one of them can be selected.
Return:
- User profile

- Tool ID: `tikhub/twitter-web-fetch-user-profile`
- Name in the catalog: X, Get user profile
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [X profiles](/tools/x/profiles.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "screen_name": {
      "type": "string",
      "description": "用户名/Screen Name",
      "title": "Screen Name"
    },
    "rest_id": {
      "description": "用户ID（如果使用用户ID则会忽略用户名）/User ID (If the user ID is used, the user name will be ignored) Use an exact decimal string for IDs beyond JavaScript's safe integer range.",
      "title": "Rest Id",
      "anyOf": [
        {
          "type": "integer",
          "maximum": 9007199254740991
        },
        {
          "type": "string",
          "pattern": "^[0-9]+$",
          "minLength": 1,
          "maxLength": 30
        }
      ]
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/twitter-web-fetch-user-profile",
  "input": {
    "screen_name": "elonmusk",
    "rest_id": "44196397"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Twitter-Web-API/fetch_user_profile_api_v1_twitter_web_fetch_user_profile_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/twitter-web-fetch-user-profile) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/twitter-web-fetch-user-profile) · [Agent index](/llms.txt)
