{"uid":"cap_oeyp5qj2UA7a8P8I6xL8o","slug":"twit-sh-post-long-tweet-86d4cddb","name":"twit.sh Post Long Tweet","description":"Real-time Twitter/X data for AI agents. No sign-up, no API keys. Pay per request in USDC on Base via x402.","url":"https://x402.twit.sh/tweets/long","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"queryParams":{"type":"object","required":["text","auth_token","ct0"],"properties":{"ct0":{"type":"string","description":"Twitter ct0 cookie value"},"text":{"type":"string","description":"Tweet content (can exceed 280 characters)"},"medias":{"type":"string","description":"Comma-separated media IDs from /tweets/mediaUpload to attach (optional)"},"auth_token":{"type":"string","description":"Twitter auth_token cookie value"},"quote_tweet_id":{"type":"string","description":"Numeric tweet ID to quote (optional)"},"in_reply_to_tweet_id":{"type":"string","description":"Numeric tweet ID to reply to (optional)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"id":"1110302988","text":"A long post...","created_at":"2026-01-01T00:00:00.000Z"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__jMFVfbdPcOtPTf4K-upU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Posts a tweet to X/Twitter that can exceed the standard 280-character limit, optionally with media or as a reply/quote tweet, authenticated via user cookies.","exampleAgentPrompt":"Post this long tweet to my X account using my auth_token and ct0 cookies: 'Here is my extended take on the future of AI agents and micropayments — this goes well beyond 280 characters and I want the full text published as a single post without truncation.'","exampleUseCases":null,"resultDescription":"Returns a JSON object with the newly created tweet's numeric ID, full text content, and ISO 8601 creation timestamp under a `data` key.","failureModes":["Invalid or expired auth_token/ct0 cookies return an authentication error","Tweet content flagged by Twitter's spam or policy systems may be rejected","Invalid media IDs cause attachment failures","Invalid quote_tweet_id or in_reply_to_tweet_id returns a not-found error","Payment failure in USDC on Base results in a 402 response and no tweet is posted","Rate limiting by Twitter's internal systems may cause temporary failures"],"whenToPreferThis":"Use this endpoint when an AI agent needs to autonomously publish long-form content to X/Twitter on behalf of a user who provides their session cookies, especially when the content exceeds 280 characters. Prefer it over standard tweet endpoints when extended text length is required. It is ideal for agents automating social media workflows without needing a Twitter developer account or API keys — just pay per request in USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:19.320Z","isFirstParty":false}