Skip to content

X

User profiles by usernames

X (Twitter) user profiles by usernames. Get Users by Usernames Price: $0.01 per user, $0.005 per pinned post hydrated (expansions). Up to 100 usernames. Billed on the resources actually returned (posts and users), the quote is the upper bound; X's 24-hour deduplication is not passed through.

Usage based XSocialx/users-by-usernamesListed

Activation pending; your agent will see it as unavailable until then.

Use this tool with your agent

Give this to your agent
Use my connected Agentik MCP server. I want to use the tool x/users-by-usernames (X (Twitter) user profiles by usernames). Call inspect_tool with {"tool_id": "x/users-by-usernames"} first and tell me the price before anything runs. Ask me for the inputs it needs; never invent values, IDs or file URLs. When I confirm, call run_tool with tool_id "x/users-by-usernames" and my inputs, follow it with get_run if it is still running, and give me the result and the price Agentik reports. If the tool is unavailable, say so and use discover_tools to propose an alternative.
Show the prompt

Paste it into Claude, ChatGPT or Codex: your agent takes it from there, and shows the price before it runs.

Parameters

NameTypeRequiredDescription
usernamesstring[]Yes
user.fieldsstring[]NoThe fields available for a User object.
expansionsstring[]NoA comma separated list of fields to expand.
post.fieldsstring[]NoThe fields available for a Post object.

How your agent calls it

First inspect_tool for the current schema and price, then run_tool with the published example after confirming your inputs:

{
  "tool_id": "x/users-by-usernames",
  "input": {
    "usernames": [
      "x"
    ],
    "user.fields": [
      "public_metrics",
      "verified",
      "description"
    ]
  }
}

Price and billing

Price
Usage based
Model
Usage based
Detail
Billed at the cost the provider reports for the call, never above $2. Your agent sees the maximum before running.
  • The provider’s price, 0% markup.
  • One prepaid balance for every provider; your agent sees the price before it runs.
  • Pay for measured usage; unused reservations are released.