X (Twitter) data: search, posts, profiles
x-twitterOne node for X (Twitter): search 20 recent posts, read an account's latest 20 posts, or look up a profile's followers and bio. Each action has its own price. Use it when: A task needs X (Twitter): what people say about a topic right now, what an account posted recently, or how big an account is. Not for: Follower lists, private accounts or direct messages. Returns: Depends on the action; see the actions table. Typical time: about 11 s. Actions: search (20 recent posts for a query; needs query); posts (an account's latest 20 posts; needs handle); profile (an account's profile and follower counts; needs handle). Price: from $0.006 per call, charged only on success. Price depends on action: posts $0.006, search $0.006, profile $0.008 (default search). One call = one X action (search, posts or profile).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "x-twitter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query; X search operators work, e.g. x402 payments, #bitcoin, from:nasa (for: search) | |
| action | Yes | What to do; sets the price. search (needs query), posts (needs handle), profile (needs handle). Default search | |
| handle | No | Account handle without @, e.g. NatGeo (for: posts, profile) | |
| sortBy | No | Optional, default Latest (for: search) |