{"id":"twitter","query":"Twitter","createdAt":"2026-12-05T09:46:08.794Z","model":"claude-opus-5-5","composio":{"source":"composio-api","fetchedAt":"2026-12-05T09:44:19.742Z","slug":"twitter","name":"Twitter","appUrl":"https://x.com","docsUrl":"https://developer.twitter.com/en/docs/twitter-api","description":"Twitter, Inc. was an American social media company based in San Francisco, California, which operated and was named for named for its flagship social media network prior to its rebrand as X.","schemes":[{"name":"twitter_oauth","mode":"OAUTH2","composioManaged":false,"managedScopes":[],"allScopes":[],"creationFields":[{"name":"client_id","displayName":"Client id","description":"Client id of the app","required":true},{"name":"client_secret","displayName":"Client secret","description":"Client secret of the app","required":true},{"name":"generic_id","displayName":"Application Bearer Token","description":"Bearer Token from your X Developer App (same App as the OAuth Client ID/Secret). Required for app-only actions: TWITTER_RECENT_SEARCH, TWITTER_RECENT_SEARCH_COUNTS, TWITTER_FULL_ARCHIVE_SEARCH, TWITTER_FULL_ARCHIVE_SEARCH_COUNTS, TWITTER_POST_LOOKUP_BY_POST_IDS, TWITTER_POST_USAGE, TWITTER_POSTS_LABEL_STREAM, TWITTER_CREATE_COMPLIANCE_JOB_REQUEST, TWITTER_RETRIEVE_COMPLIANCE_JOBS, TWITTER_RETRIEVE_COMPLIANCE_JOB_BY_ID.","required":true},{"name":"oauth_redirect_uri","displayName":"Redirect URI","description":"Add this Redirect URL to your app's OAuth allow list.","default":"https://backend.composio.dev/api/v1/auth-apps/add","required":false},{"name":"scopes","displayName":"Scopes","description":"Scopes to request from the user, comma separated","default":"dm.write,dm.read,mute.read,mute.write,space.read,tweet.write,tweet.read,tweet.moderate.write,users.read,follows.read,follows.write,like.read,like.write,list.read,list.write,block.read,block.write,bookmark.read,bookmark.write,media.write,offline.access","required":false}],"connectionFields":[],"authorizationUrl":"https://x.com/i/oauth2/authorize","tokenUrl":"https://api.x.com/2/oauth2/token"}]},"probes":[{"url":"https://x.com/i/oauth2/authorize?response_type=code&client_id=dummy123&redirect_uri=https://backend.composio.dev/api/v1/auth-apps/add&scope=tweet.read%20users.read%20offline.access&state=abc&code_challenge=challenge&code_challenge_method=plain","purpose":"OAuth authorize URL with dummy client_id","status":200,"finalUrl":"https://x.com/i/oauth2/authorize?response_type=code&client_id=dummy123&redirect_uri=https://backend.composio.dev/api/v1/auth-apps/add&scope=tweet.read%20users.read%20offline.access&state=abc&code_challenge=challenge&code_challenge_method=plain","title":"Authorize app / X","loginWall":false,"at":"2026-12-05T09:44:25.784Z","observation":"HTTP 200"},{"url":"https://console.x.com","purpose":"New X developer console entry point","status":200,"finalUrl":"https://console.x.com/","title":"Developer Console","loginWall":false,"at":"2026-12-05T09:44:25.786Z","observation":"HTTP 200; redirected to https://console.x.com/"},{"url":"https://developer.x.com/en/portal/dashboard","purpose":"Developer console entry point - login wall?","status":200,"finalUrl":"https://x.com/login?redirect_after_login=https%3A%2F%2Fdeveloper.x.com%2Fen%2Fportal%2Fdashboard","title":"X - The Everything App / X","loginWall":true,"at":"2026-12-05T09:44:25.782Z","observation":"HTTP 200; redirected to https://x.com/login?redirect_after_login=https%3A%2F%2Fdeveloper.x.com%2Fen%2Fportal%2Fdashboard; requires login (human must take over)"}],"sources":[{"url":"https://developer.x.com/en/docs/x-api","title":"X API Documentation"},{"url":"https://elfsight.com/blog/how-to-get-x-twitter-api-key-in-2026/","title":"How to Get X API Key: Complete 2026 Guide to Pricing, Setup & Optimization"},{"url":"https://www.blotato.com/blog/twitter-api-pricing","title":"X (Twitter) API Pricing: Complete Guide for 2026 - Blotato"},{"url":"https://superframeworks.com/articles/x-api-pay-per-use-pricing-indie-hackers","title":"X API Goes Pay-Per-Use: What Indie Hackers Should Build Now"},{"url":"https://www.socialcrawl.dev/blog/x-twitter-api-2026","title":"X (Twitter) API in 2026: Credit Pricing + 3 Cheaper Routes"},{"url":"https://opentweet.io/x-api-pricing","title":"X API Pricing 2026: Pay-Per-Use Price Table"},{"url":"https://hyperresearch.ai/guides/x-api","title":"X API (Twitter API): Pricing, Keys, Limits and MCP · Hyperresearch"},{"url":"https://www.xpoz.ai/blog/guides/understanding-twitter-api-pricing-tiers-and-alternatives/","title":"Twitter API Pricing 2026: Pay-Per-Use Costs & Alternatives"},{"url":"https://www.twitterapis.com/twitter-api-pricing","title":"X API Pricing 2026: Official Rates vs Per-Call Vendors"},{"url":"https://docs.x.com/x-api/lists/list-members/integrate","title":"Integration guide - X"},{"url":"https://docs.x.com/fundamentals/authentication/oauth-2-0/user-access-token","title":"How to connect to endpoints using OAuth 2.0 Authorization Code Flow with PKCE - X"},{"url":"https://docs.x.com/fundamentals/authentication/oauth-2-0/authorization-code","title":"OAuth 2.0 Authorization Code Flow with PKCE - X"},{"url":"https://docs.x.com/livestream-api/authentication","title":"Authentication - X"},{"url":"https://developer.twitter.com/en/docs/authentication/oauth-2-0/authorization-code","title":"OAuth 2.0 Authorization Code Flow with PKCE"},{"url":"https://docs.x.com/fundamentals/authentication/guides/v2-authentication-mapping","title":"X API v2 authentication mapping - X"},{"url":"https://apis.io/scopes/x/x-scopes/","title":"X Scopes"},{"url":"https://twitterapi.io/blog/twitter-api-oauth-2-user-context-setup-guide","title":"Twitter (X) API OAuth 2.0 Setup — Full Guide"},{"url":"https://developer.auth0.com/resources/labs/authentication/authenticate-using-x-twitter","title":"Integrate X (Twitter) Login in Your App Using Auth0"},{"url":"https://docs.ultimatemember.com/article/1699-social-login-twitter-api-v2-setup","title":"Social Login: X(formerly Twitter) API v2 Setup - Ultimate Member"},{"url":"https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/identity-idp-x.html","title":"X - Amazon Bedrock AgentCore"},{"url":"https://docs.x.com/fundamentals/developer-apps","title":"Apps - X"},{"url":"https://coinbase-cloud.mintlify.app/embedded-wallets/social-login/x","title":"X (Twitter) OAuth Configuration - Coinbase Developer Documentation"},{"url":"https://mydeveloperplanet.com/2024/05/01/create-tweets-with-x-api-v2/","title":"Create Tweets With X API v2"},{"url":"https://docs.x.com/x-api/getting-started/getting-access","title":"Getting Access - X"},{"url":"https://apexrmgroup.com/guide-twitter-x","title":"X (Twitter) Developer App Setup Guide"},{"url":"https://www.wizbrand.com/tutorials/x-developer-guide-to-develop-an-app/","title":"X Developer Guide to Develop an App"},{"url":"https://docs.x.com/x-api/getting-started/pricing","title":"X API pay-per-usage pricing and credits - X"},{"url":"https://docs.x.com/x-api/introduction","title":"X API - X"},{"url":"https://www.outstand.so/blog/x-api-pricing","title":"X (Twitter) API Pricing 2026: Pay-Per-Use Rates, Costs"},{"url":"https://postproxy.dev/blog/x-api-pricing-2026/","title":"X (Twitter) API Pricing in 2026: All Tiers"},{"url":"https://social-sdk.dev/guides/x-api-pricing","title":"X API pricing in 2026: costs, free credits, limits"},{"url":"https://en.wikipedia.org/wiki/X402","title":"X402"},{"url":"https://docs.x.com/fundamentals/authentication/oauth-2-0/application-only","title":"App only authentication and OAuth 2.0 Bearer Token - X"},{"url":"https://docs.x.com/fundamentals/rate-limits","title":"Rate Limits - X"},{"url":"https://docs.x.com/x-api/fundamentals/rate-limits","title":"X API Rate Limits - X"},{"url":"https://docs.x.com/changelog","title":"X API changelog and release notes - X"},{"url":"https://docs.x.com/x-api/lists/list-tweets/integrate","title":"Integration guide - X"},{"url":"https://bundle.social/blog/x-api-rate-limits","title":"X API Rate Limits and Caps Explained"},{"url":"https://shapelessai.com/notes/x-rate-limit-exceeded","title":"X rate limit exceeded: every posting and reading limit"},{"url":"https://www.getxapi.com/twitter-api-rate-limits","title":"X & Twitter API Rate Limits: 429s, Headers and Every Cap"},{"url":"https://docs.x.com/developer-terms/agreement","title":"X Developer Agreement - X"},{"url":"https://devcommunity.x.com/t/does-an-ai-driven-auto-block-service-require-prior-written-approval-under-the-automation-rules/257890","title":"Does an AI-driven auto-block service require prior written approval under the Automation Rules? - Rules and Policies - X Developers"},{"url":"https://docs.x.com/developer-guidelines","title":"Developer Guidelines - X"},{"url":"https://vorplabs.com/agent-tools/x-api","title":"X API: pay-per-use read and post with conditional reply access, but AI reply bots need prior written X approval"},{"url":"https://www.soloop.io/blog/x-automation-rules-for-ai-agents","title":"X Automation Rules 2026: What AI Agents May Post"},{"url":"https://opentweet.io/answers/does-x-allow-ai-generated-content","title":"Does X Allow AI-Generated Content? The 2026 Policy, Quoted"},{"url":"https://runtimewire.com/article/x-s-new-terms-put-you-on-the-hook-for-its-ai-agents","title":"X’s new terms put you on the hook for its AI agents"},{"url":"https://taupe.site/en/entry/x-api-posting-policy-review/","title":"Human approval did not make my X automation compliant - taupe"},{"url":"https://greenwhite.org/official-x-developer-automation-rules-proxy-policy-2026-best-practices-for-automation-and-proxy-usage-explained","title":"Official X Developer Automation Rules Proxy Policy 2026: Best Practices for Automation and Proxy Usage Explained"}],"guide":{"app":"Twitter","composioSlug":"twitter","oneLineVerdict":"No Composio-managed OAuth app exists for Twitter/X. You have to create your own X Developer app in the console, which takes about 20–40 minutes of hands-on work by estimate, and buy prepaid API credits. The docs that were read mention no app review, but signup wait times and the developer policy are unverified.","paths":[{"name":"Your own X OAuth 2.0 app via Composio (only path)","whenToUse":"Always. Composio has no managed app for Twitter (composioManaged: false).","timeToFirstConnection":"Roughly 20–40 minutes hands-on (estimate), plus an unknown developer signup wait","timeToPublicLaunch":"No review queue was found in the official docs; the real gating is credits and policy compliance, which is unverified","limits":[{"text":"Usage is pay-per-use from prepaid credits, and requests are blocked when the balance goes negative or a spending limit is reached.","evidence":[{"kind":"official_docs","url":"https://docs.x.com/x-api/getting-started/pricing","note":"API requests will be blocked until you add credits."}]},{"text":"Pay-per-use plans are capped at 3 million Post reads per monthly billing cycle; higher volume requires Enterprise.","evidence":[{"kind":"official_docs","url":"https://docs.x.com/x-api/getting-started/pricing","note":"Pay-per-usage plans are capped at 3 million Post reads per monthly billing cycle"}]},{"text":"Per-endpoint rate limits apply:\n- Creating posts: 100 per 15 minutes per user and 10,000 per 24 hours per app.\n- Sending DMs: 15 per 15 minutes per user.\n- Recent search: 450 per 15 minutes per app.","evidence":[{"kind":"official_docs","url":"https://docs.x.com/x-api/fundamentals/rate-limits","note":"Creating posts: 100 per 15 minutes per user, 10,000 per 24 hours per app"}]},{"text":"Access tokens expire after 2 hours unless offline.access is requested; Composio's default scopes include it.","evidence":[{"kind":"official_docs","url":"https://docs.x.com/fundamentals/authentication/oauth-2-0/authorization-code","note":"only stay valid for two hours unless you've used the offline.access scope"},{"kind":"composio_api","url":"","note":"Default scopes include offline.access"}]}]}],"steps":[{"title":"Sign in to the X Developer Console and accept the agreement","detail":"Sign in at console.x.com with an X account, accept the Developer Agreement and Policy, and fill in your profile.","owner":"developer","activeEffort":"10 min","waitTime":"Unknown (signup approval not verified)","dependsOn":[],"evidence":[{"kind":"probed","url":"https://console.x.com","note":"HTTP 200, title 'Developer Console'"},{"kind":"probed","url":"https://developer.x.com/en/portal/dashboard","note":"redirected to x.com/login; requires login (human must take over)"},{"kind":"official_docs","url":"https://docs.x.com/x-api/getting-started/getting-access","note":"basic information about how you'll use the API"}]},{"title":"Create a new app","detail":"Click New App and enter a name, description and use case.","owner":"developer","activeEffort":"5 min","waitTime":"none","dependsOn":[0],"evidence":[{"kind":"official_docs","url":"https://docs.x.com/x-api/getting-started/getting-access","note":"New App with name, description, use case"}]},{"title":"Enable OAuth 2.0 as a confidential client and add the Composio callback","detail":"Choose Web App or Automated App/Bot, because only these get the Client Secret. Add https://backend.composio.dev/api/v1/auth-apps/add to the callback allowlist. It must match exactly, and the allowlist holds at most 10 URLs.","owner":"developer","activeEffort":"5 min","waitTime":"none","dependsOn":[1],"evidence":[{"kind":"official_docs","url":"https://docs.x.com/fundamentals/developer-apps","note":"confidential clients, exact-match callbacks, 10 URL max"},{"kind":"composio_api","url":"","note":"Default redirect https://backend.composio.dev/api/v1/auth-apps/add"}]},{"title":"Copy the Client ID, Client Secret and Bearer Token","detail":"These are shown only once, and regenerating them invalidates the old ones. Store them securely.","owner":"developer","activeEffort":"2 min","waitTime":"none","dependsOn":[2],"evidence":[{"kind":"official_docs","url":"https://docs.x.com/x-api/getting-started/getting-access","note":"credentials shown once"}]},{"title":"Buy API credits","detail":"Save a card and buy credits in the Developer Console. The pricing page mentions $20 in free credits after your first purchase. Optionally, set a spending limit.","owner":"developer","activeEffort":"5 min","waitTime":"none","dependsOn":[0],"evidence":[{"kind":"official_docs","url":"https://docs.x.com/x-api/getting-started/pricing","note":"Purchase credits upfront in the Developer Console. Credits are deducted as you make API requests."}]},{"title":"Create a Composio auth config with your credentials","detail":"Enter client_id, client_secret and generic_id (the Bearer Token, required for app-only actions such as search). Keep or adjust the scopes, including offline.access.","owner":"developer","activeEffort":"5 min","waitTime":"none","dependsOn":[3],"evidence":[{"kind":"composio_api","url":"","note":"client_id, client_secret, generic_id (Application Bearer Token) all required"}]},{"title":"Test a connection end to end","detail":"Run the OAuth flow with a real X account. The authorization code expires in 30 seconds, and Composio handles the exchange.","owner":"developer","activeEffort":"5 min","waitTime":"none","dependsOn":[4,5],"evidence":[{"kind":"official_docs","url":"https://docs.x.com/fundamentals/authentication/oauth-2-0/authorization-code","note":"has a time limit of 30 seconds"},{"kind":"probed","url":"https://x.com/i/oauth2/authorize","note":"HTTP 200 'Authorize app / X' with dummy client_id; no error visible"}]}],"blockers":[{"risk":"Running out of credits or hitting a spending limit","whyItMatters":"All API requests are blocked until you add credits.","mitigation":"Monitor your balance and set alerts; size spending limits to expected usage.","evidence":[{"kind":"official_docs","url":"https://docs.x.com/x-api/getting-started/pricing","note":"API requests will be blocked until you add credits."}]},{"risk":"Lost credentials","whyItMatters":"Regenerating them invalidates the old ones and breaks the Composio config.","mitigation":"Store all three values immediately in a secret manager.","evidence":[{"kind":"official_docs","url":"https://docs.x.com/x-api/getting-started/getting-access","note":"credentials shown only once"}]},{"risk":"Choosing a public client type","whyItMatters":"Without a Client Secret, Composio cannot be configured.","mitigation":"Pick Web App or Automated App/Bot.","evidence":[{"kind":"official_docs","url":"https://docs.x.com/fundamentals/developer-apps","note":"confidential types get Client Secret"}]}],"requirements":[{"text":"An X account that a human can log in with","evidence":[{"kind":"probed","url":"https://developer.x.com/en/portal/dashboard","note":"requires login (human must take over)"}]},{"text":"A payment card and prepaid credits","evidence":[{"kind":"official_docs","url":"https://docs.x.com/x-api/getting-started/pricing","note":"The X API uses pay-per-usage pricing."}]},{"text":"Client ID, Client Secret and Bearer Token from the same X app","evidence":[{"kind":"composio_api","url":"","note":"Bearer Token from your X Developer App (same App as the OAuth Client ID/Secret)"}]}],"canDoInParallel":["Buying credits (step 4) while configuring the app's OAuth settings (steps 1–2)","Reading the Developer Guidelines and Policy while setting up"],"agentVsHuman":{"agentCan":["Fill in the new app form and OAuth settings once a session is logged in","Add the Composio callback URL","Create the Composio auth config","Read the docs and policy"],"youMust":["Log in with an X account and accept the Developer Agreement","Copy and secure the credentials","Enter payment details and buy credits","Complete a test OAuth consent"]},"uncertain":["Whether developer account signup is approved instantly or manually reviewed or suspended","Whether a free tier or the legacy Basic/Pro plans still exist","Developer Guidelines and Policy limits on automation or AI use (not checked)","What end users see when the client ID is invalid (the probe showed no error text)","Whether console.x.com requires login (the probe showed no wall, but the docs say you sign in)","The 20–40 minute effort figure is the researcher's estimate","Prices may change; the console shows current rates"],"nextAction":"Sign in at console.x.com with your X account, accept the Developer Agreement and create a Web App with OAuth 2.0 enabled and the Composio callback URL added."}}