About the Twitter API
The Twitter API can be used to programmatically retrieve and analyze data, as well as engage with the conversation on Twitter.
This API provides access to a variety of different resources including the following:
- Direct Messages
The Twitter API currently consists of two supported versions, as well as different access tiers. We have listed these below to help you better understand which version and tiers are available, but would recommend using the newest versions (Twitter API v2) where available. Learn more about our new versioning strategy.
|Version / tier||Description|
|Twitter API v2: Early Access||
We are providing Early Access to our new v2 endpoints, which include the following:
We are also introducing several new features with this new version, including the following:
The legacy standard endpoints provide access to the following resources with the standard v1.1 offerings.
We will eventually release Twitter API v2 equivalents for most of the currently available endpoints. To learn more about Twitter API v2: Early Access, visit one of the following resources:
- Migration hub for how to upgrade your current v1.1 endpoints to v2
- Guide to the future of the Twitter API
- Tutorials on how to build with Twitter API v2
Learn how to get access to the Twitter API so you can get started building.
Learn more about the different resources that we've built to help you get started.
Review our step-by-step tutorial on how to make your first request with recent search v2.