7 actions · from $0.00015 / call
X
X API for AI agents
Profiles and posts. X gives your agent 7 actions through one OMOB API key, starting from $0.00015 / call, billed per call to one prepaid balance. It works from ChatGPT and Claude through one MCP connector, and from the SDK, CLI or REST.
Profiles and posts on X.
Part of Social media
What agents use X for
Monitor a founder's account and summarize their posts each morning.
x.profile· $0.002 / callx.list-x-user-posts· $0.00015 / callRead one post in full before quoting it in a report.
x.get-x-post· $0.00015 / callFollow an X Community's discussion for product feedback.
x.get-x-community· $0.00015 / callx.list-x-community-posts· $0.00015 / call
Actions
Every action: POST /v1/tools/runs { "tool": "<name>", "input": { … } }
- X
Get profile
x.profile
Followers, bio, verified flag and the latest posts for one account.
Parameters Parameter Description usernamestring · requiredHandle without the @. Example response
{ "object": "x.profile", "username": "naval", "followers": 12804113, "following": 81, "verified": true, "bio": "Exploring the universe and our home planet.", "posts": [ { "id": "7312094", "views": 1840022, "likes": 211940, "posted_at": "2026-11-21" }, { "id": "7311877", "views": 902114, "likes": 88012, "posted_at": "2026-11-19" } ] }$0.002 / call - X
List posts
x.posts
Recent posts for an account, with views, likes, replies and reposts.
Parameters Parameter Description usernamestring · requiredHandle without the @. Example response
{ "object": "list", "username": "naval", "data": [ { "id": "7312094", "caption": "Artemis II, one year out", "views": 1840022, "comments": 4120 }, { "id": "7311877", "caption": "Saturn's rings, up close", "views": 902114, "comments": 1977 } ], "next": "c_8f2a" }$0.00015 / call - X
List X Community Posts
x.list-x-community-posts
Get posts from an X community, including authors, engagement and media.
$0.00015 / call - X
List X User Posts
x.list-x-user-posts
Get recent posts from an X user's timeline.
$0.00015 / call - X
Get X Community
x.get-x-community
Get X community details, including its creator, member count and rules.
$0.00015 / call - X
Get X Profile
x.get-x-profile
Get a public X profile, including its bio, follower counts and profile images.
$0.00015 / call - X
Get X Post
x.get-x-post
Get an X post with its text, author, engagement counts and media.
$0.00015 / call
Pricing
from $0.00015 / call
Billed per call to one prepaid balance. No vendor accounts, no subscription.
Use it from ChatGPT, Claude, the SDK or the CLI
import { createOMOB } from "@omob-sdk/omob"; const omob = createOMOB(); // reads OMOB_API_KEYconst run = await omob.tools.run("x.profile", {"username":"naval"}, { wait: true });console.log(run.output);
X API: questions
- How do I get an X API key for my agent?
- You do not need a separate X key or account. Sign up at developers.omob.app, create one OMOB API key, and your agent calls every X action with it, from the SDK, the CLI, REST or the MCP connector.
- How much does the X API cost?
- X actions start from $0.00015 / call, billed per call to one prepaid balance. Each action's price is listed on this page, and you only pay for calls that run.
- Is there a free tier?
- Yes. Every new developer account gets $1 of free credit, no card, and tool calls like these run on it (about 6,666 calls at the starting price). After that you top up a prepaid balance; there is no subscription.
- Can ChatGPT or Claude use X?
- Yes. Add OMOB as a connector with the URL https://mcp.omob.app/v1/mcp and sign in; then ask in plain words and the assistant finds and runs the X actions for you. Claude Code, Codex and other MCP clients use the same URL. In ChatGPT, custom connectors need a Business, Enterprise or Edu workspace; on Plus or Free, use Claude.
Guides using X
- TikTok, Instagram and YouTube MCP Server URL for Claude and ChatGPTOne MCP server URL gives Claude and ChatGPT TikTok, Instagram, YouTube, X and Reddit data, billed per call from $0.00015, with no scraper to run.
- Introducing Social Data: Public Social Media for Every AgentAgents and developers on OMOB Managed Agents can now read public posts, profiles, comments, followers, hashtags and trends on 21 social networks, with no connected account.
Related tools
Profiles, videos, comments, hashtags and trending sounds.
151 actionsfrom $0.00015per callProfiles, posts, reels, comments and hashtags.
62 actionsfrom $0.00015per callChannels, videos, transcripts and comments.
52 actionsfrom $0.00015per call
