Public APIs
Twitter favicon

Twitter

Social

Read and write Twitter data.

Twitter's website screenshot

About Twitter

The X (formerly Twitter) Developer Platform provides API access to real-time data including posts, users, trends, spaces, direct messages, and lists. It offers two access tiers: a pay-per-use option with credit-based, commitment-free pricing, and an enterprise tier with high-volume endpoints, dedicated account management, and custom rate limits. Requests for a developer's own data (posts, bookmarks, followers, likes) are priced separately at $0.001 per resource under the "Owned Reads" pricing.

The platform includes official Python and TypeScript SDKs, an API reference covering endpoints for posts, users, spaces, DMs, and lists, and a separate Ads API for managing ad campaigns, targeting, creatives, and analytics programmatically. Documentation includes quickstart guides, tutorials, and developer guidelines.

It is aimed at developers building applications or integrations on top of X's data and advertising systems, with support available through a developer forum and community resources.

Key features

  • Access posts, users, trends, spaces, DMs, and lists through the X API
  • Credit-based pay-per-usage pricing with no commitments
  • Reduced pricing for accessing your own data (Owned Reads) at $0.001 per resource
  • Official Python and TypeScript SDKs
  • Enterprise tier with high-volume endpoints, dedicated account management, and custom rate limits
  • X Ads API for programmatic ad campaign, targeting, creative, and analytics management

Frequently asked questions

How is the X API priced?

The X API uses credit-based pay-per-usage pricing with no commitments, and requests for your own data like posts, bookmarks, followers, and likes cost $0.001 per resource under Owned Reads.

What SDKs are available?

Official Python and TypeScript SDKs are provided for faster development.

Is there an enterprise option?

Yes, X API Enterprise offers high-volume endpoints, dedicated account management, and custom rate limits.

What can I access with the X API?

You can access posts, users, spaces, DMs, lists, and more through the API endpoints.

Are there other X developer products besides the core API?

Yes, the X Ads API lets developers programmatically manage ad campaigns, targeting, creatives, and analytics.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product