Skip to content

Does Twitter have an API? The X API explained

Does Twitter have an API? Yes, the X API, with paid tiers. What it covers, how access works and a simpler read-only route if you only need posts and profiles.

Piyushh · November 7, 2026 · 1 min read

Yes, Twitter has an API, though the product is now called X and the API is the X API. Approved developers can use it to read posts and profiles and, with the right access, post on behalf of accounts.

What the X API covers

It covers posts and search, user profiles, followers and following, and actions such as posting and following. What you can use depends on your access tier, and the tiers have changed several times. Our guide to whether the X API is free records the current position, and the pricing calculator turns your usage into a cost.

How access works

You apply for a developer account, create a project and use its keys. The steps are in how to get an X API key, and the code is in the X API in Python guide.

A simpler route for reading

If you only need to read posts and profiles, a hosted API lets you skip the application:

curl "https://api.chatterapi.com/v1/x/tweets/search?q=open+source+llm" \
  -H "Authorization: Bearer $CHATTERAPI_KEY"

The trade-offs are covered in the comparison with the official X API and the Twitter API alternatives. ChatterAPI is independent and not affiliated with X.

Applying for access: how to answer the use-case question.

For a map of what each endpoint does, see the Twitter API endpoints developers actually use.

FAQ

Does Twitter still have an API?
Yes. Twitter is now X, and its API is called the X API. Access is through a developer account with paid tiers.
Is the Twitter API free?
See our guide on whether the X API is free for the current position, with dates.
Is there a Twitter API alternative?
Yes. Several third party APIs read X data. We compare them on the alternatives page.

More on X (Twitter) API

Try it free for 7 days.

1,000 credits to make your first calls. One key for Reddit and X, over REST or MCP.