X API for AI agents
Connect your X account once. Your agent posts, replies, likes and follows, and sends DMs through MCP or REST. No X API key and no app review.
What your agent can do on X
29 actions, including generic browser steps.
| Action | On X |
|---|---|
post | Post |
reply | Reply |
quote | Quote |
delete_post | Delete |
repost | Repost |
unrepost | Undo repost |
like | Like |
unlike | Unlike |
bookmark | Bookmark |
unbookmark | Remove bookmark |
follow | Follow |
unfollow | Unfollow |
block | Block |
unblock | Unblock |
mute | Mute |
unmute | Unmute |
report | Report |
send_message | Direct message |
list_conversations | Messages |
read_conversation | Conversation |
read_feed | Home timeline |
read_notifications | Notifications |
read_post | Post and replies |
read_profile | Profile |
list_followers | Followers |
list_following | Following |
search | Search |
update_profile | Edit profile |
browser | Anything else, step by step |
Not on X: read_reels
Automate X with MCP
Ask in plain words. Your agent makes the call and gets the link back.
Text, up to four images or one video, and threads through `thread[]`.
MCP tool call
// You: "Post our launch thread on X."
// The agent calls the post tool:
{
"account_id": "acc_x",
"text": "We just shipped dark mode.",
"thread": [
"Here is what changed.",
"Try it today."
]
}REST
curl https://api.vicevox.com/v1/accounts/acc_x/actions \
-H "Authorization: Bearer $VICEVOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"post","text":"We just shipped dark mode.","thread":["Here is what changed.","Try it today."],"wait":60}'Connect a X account
Username and password
Send the username, the password and, if the account uses an authenticator app, its secret. ViceVox answers 2FA codes itself.
Cookies
Import cookies from a browser where the account is already signed in: a JSON array or a Netscape cookie file.
Sign in yourself
Open a live browser and sign in as you always do. Or send the one-time sign-in link to the person who owns the account.
Each account uses the fixed device fingerprint and the location or proxy of its identity. Accounts in the docs
X questions
- Do I need a X API key?
- No. ViceVox signs in to your X account the way a person does, so there is no developer app, API key or app review.
- Can my AI agent use X through MCP?
- Yes. Add the ViceVox MCP server to Claude, Cursor or any MCP client. Each X action is a tool, such as post, reply or send_message.
- What does it cost to use X?
- Plans start at USD 29 a month, with a 7-day trial. Every plan has every platform and every action, X included. See pricing.
Other platforms
- Instagram API for AI agents
- Facebook API for AI agents
- LinkedIn API for AI agents
- TikTok API for AI agents
- Threads API for AI agents
- Bluesky API for AI agents
- Reddit API for AI agents
- YouTube API for AI agents
- Pinterest API for AI agents
- Mastodon API for AI agents
- Telegram API for AI agents
- Hacker News API for AI agents
- Twitch API for AI agents
- GitHub API for AI agents
- DEV Community API for AI agents
- Hashnode API for AI agents
Connect your X account.
Create a workspace, add an account with a password or cookies, and make your first call.