Skip to main content
idapt
HomeAI ModelsExploreResourcesPricing
Sign inUse for Free
All integrations

X (Twitter)

Post, read and search on X.

Social
Connect X (Twitter)X (Twitter) docs

How an agent reaches it

MCPREST APICLI

How you authenticate

OAuth
API key
Get an API key
  1. Create a project and app in the X developer portal.
  2. Meaningful write access needs a paid tier. The free tier is post-only with a very low cap.
  3. Copy either an OAuth 2.0 client id and secret for user context, or a bearer token for app-only reads.

Connection details

Base URL
https://api.x.com/2
Pagination
cursor
Rate limit
Tier-dependent and low. Free is roughly 500 posts/month.

Common endpoints

who am IGET /users/me
postPOST /tweets
read a user timelineGET /users/{id}/tweets
search recentGET /tweets/search/recent?query={q}

Worth knowing

  • Access is paid for anything beyond trivial posting; the free tier will 403 most reads.
  • Some endpoints still require OAuth 1.0a signing, which the generic HTTP lane cannot do. Use the CLI lane or an aggregator for those.
  • Fields are opt-in: without `tweet.fields` you get only id and text.
  • Home
  • Pricing
  • AI Models
  • Skills
  • Image models
  • Voice models
  • Video models
  • Rankings
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • Blog
  • About
  • Comparisons
  • Benchmarks
  • Model Match
  • Demos
  • Help center
  • FAQ
  • Privacy
  • Support
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Migrate
  • Downloads
  • Desktop
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)Discord