twitr.sh X/Twitter Write API is a paid API for AI agents from twitr.sh, paid per call via x402, $0.036/call, status unknown (last checked 2026-10-09).
Performs write actions on X/Twitter — post, reply, like, retweet, follow, DM, and more — paid per-call in USDC with no API key required
Pay-per-call X/Twitter API for AI agents. Read tweets, search, monitor accounts in real time, and post — paid in USDC via x402. No signup, no API keys.
Returns a JSON object containing an items array with the resulting tweet's ID and URL, a runId for tracing, a payment record showing amount charged in USD via x402, and the call duration in milliseconds.
POSThttps://twitr.sh/api/tools/x_write?utm_source=zero.xyzChoose this endpoint when you need to perform write operations on X/Twitter without managing API keys or OAuth credentials, and you want pay-per-call billing in USDC. Prefer this over direct X API integration when building AI agents that need to post, engage, or DM programmatically with minimal setup friction.
| Field | Type | Description |
|---|---|---|
| text | string | post|reply|send_dm: the message body. |
| action | string | Which write to perform. |
| account | string | A connected X handle owned by this wallet (no @). |
| media_ids | array | send_dm: optional uploaded media ids to attach. |
| media_url | string | upload_media: public URL of the file to upload; returns a media_id. |
| community_id | string | post: optional community to post into. |
| is_note_tweet | boolean | post: long-form note tweet. |
| target_user_id | string | follow|unfollow|send_dm|remove_follower: the numeric X user id of the target (not the @handle). Get it from x_read get-user. |
| target_tweet_id | string | like|unlike|retweet|unretweet|delete_tweet: the target tweet ID. |
| reply_to_tweet_id | string | reply: the tweet being replied to. |
{
"type": "json",
"example": {
"items": [
{
"id": "1893710452812718080",
"url": "https://x.com/myhandle/status/1893710452812718080"
}
],
"runId": "tw_example",
"payment": {
"amount": "0.036000",
"currency": "USD",
"protocol": "x402"
},
"duration": 1
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"