What's new with v2
The Twitter API v2 represents the largest upgrade of the Twitter API since 2012. With it comes a host of new and advanced features, as well as fast and free access to the API.
Some of the features that are available with v2 include the following:
New endpoints
We have released a set of net-new endpoints to Twitter API v2. You can see a full list of v2 endpoints, including those that are new, on our Twitter API endpoint map guide.
Visit the Twitter API endpoint map >
New and more detailed data objects
We've modernized our data objects with a variety off new improvements that will enable you to more easily navigate and parse data.
Visit the data dictionary >
New parameters to help you retrieve just those objects and fields that you want
We’ve added fields and expansions parameters to our data endpoints that allow you to request related objects and fields beyond those fields that return by default.
Learn how to use fields and expansions >
Advanced metrics
More easily understand the performance of Tweets, users, media, and polls from directly within your payload by requesting both public and private metrics including impressions, video views, user profile, and URL clicks, some of which are separated into an organic and promoted context.
Learn more about metrics >
Filter on and identify which Tweets contain different topics
When using search Tweets or filtered stream, you can now filter by topic using our entity and context operators. We’ve also provided these topics within the Tweet payload to help with analysis.
Learn more about Tweet annotations >
FIlter on and identify which Tweets belong to a reply thread
Make it easier to identify a Tweet as part of a conversation thread when using search Tweets, filtered stream, and Tweet lookup. We've also added the ability to determine whether conversation reply settings have been set for a Tweet with the Tweet field reply_settings.
Learn more about conversation tracking >
And so much more...
- High confidence spam filtering
- Shortened URLs are fully unwound for easier URL analysis
- Simplified JSON response objects by removing deprecated fields and modernizing labels
- Recovery and redundancy functionality for our streaming endpoints
- Return of 100% of matching public and available Tweets in search queries
- Streaming "rules" so you can make changes without dropping connections
- More expressive query language for filtered stream and search
- OpenAPI spec to build new libraries & more transparently track changes
- API support for new features and endpoints more quickly as our platform evolves to meet the needs of developers, researchers, businesses, and people using Twitter