Early Access guide
Guide to the future of the X API
Overview
At X, our purpose is to serve the public conversation and we believe developers play a critical role in achieving this. X wouldn’t be what it is today if it weren’t for you. Your creativity and work with our API make X, and the world, a better place.
We’re building the next generation of the X API to better serve our diverse community of developers. Our API gives you the ability to learn from and engage with the conversation on X and we want to give you the tools you need to further uncover, build on, and share the value of this conversation with the world.
To serve our diverse ecosystem, we plan to introduce a few new concepts and components to the platform. Consider this page your guide to the future of the X API. As we build, we’ll update our product roadmap and will be keeping you updated here about the details of our plans. And with our new API foundation, we'll be better able to incorporate your feedback and make improvements along the way.
To learn more, read the launch blog post. If you have questions, feedback, or suggestions about any of the following, let us know.
Last updated: July 16, 2020
Support for diverse use cases
We’ve always known that our developer ecosystem is diverse, but our API has long taken a one-size-fits-all approach. You helped us to understand the use cases you have when you work with the X API and we're building the new API to help you accomplish these goals—releasing new functionality in phases, each supporting the core goals that we’ve heard from you.
Understanding the global conversation
Our first few releases will be focused on making it easier to understand the public conversation. One of the most common reasons developers use the X API is to listen to and analyze the conversation happening on X. The first endpoints we’re releasing are focused on helping you to understand the conversation, to answer questions, or make informed decisions.
Engaging with people on X
People come to X to connect and interact with each other, with their favorite teams, celebrities, or musicians, with world leaders, with their communities, with brands, with fun bots, and more. Developers play a critical role in creating content and engaging in various ways on the platform. In the coming months, we’ll release a number of endpoints (including new versions of endpoints for creating posts) to Early Access to support these use cases.
Improving X
Developers have played a key part in making X healthier and more engaging since the beginning. Your love for X shows through your work and we want to make it easy for you to channel your passion for X into actively making it better. We want to empower you to give people more control over their experience on X. We’re planning to build endpoints, guidance, and tools to fuel your work.
New access options to get started and grow
Your feedback helped us see the importance of making the new X API more flexible and scalable to fit your needs. With the new API, we are building new access options and product tracks so more developers can find options to support their goals
Access levels
Within the new X API, we intend to introduce three core access levels which make it easy to grow and scale. The three access levels include:
- Basic access: Free, default access to endpoints for developers with an approved developer account. Based on research over the past few years, we expect that the large majority of developers (>80%) will find the access they need within this tier to get started and build something awesome.
- Elevated access: Increased access to collections of relevant endpoints that include access to more posts, increased rate limits, and more advanced reliability features.
- Managed access: While the majority of developers’ goals will be met by Basic and Elevated access, for those who need more, we can help get you what you need.
Product tracks
We love the incredible diversity of developers who use our API. And we want to provide a platform that:
serves many types of developers with access and tools
continues to offer free and open access for developers, and
provides a dedicated path and level opportunity for those serving businesses or monetized services built with the API.
To accomplish these, our plan is to introduce new, distinct product tracks to better serve different groups of developers and provide them with a tailored experience and support, a range of relevant access levels, and appropriate pricing (where applicable).
Developers who already have a developer account will start in the Standard product track and will be able to apply for others. New developers will be able to apply for the tracks that are relevant to you.
Standard: The default product track for most developers, including those building something for fun, for a good cause, to learn or teach.
Academic Research: Academic researchers are one of the largest groups looking to understand what’s happening in the public conversation. Within this track, qualified academic researchers will get highly Elevated access to a relevant collection of endpoints. We’re also providing resources for researchers to make it easier to conduct academic research with the X API.
- Business: Developers build businesses on the X API. And we love that their products help other people and businesses better understand and engage with the conversation on X. This track includes Elevated access to relevant collections of endpoints, or Managed access.
A key part of our strategy is our commitment to working with a diverse set of developers to enable their success. Developers building client-like applications deserve clarity in how to operate with the new X API. Though too early to share any specifics, reaching this clarity may require a fresh look at policy and product access details that affect them. We’re looking ahead and seek to determine how best to work with this group to serve the public conversation together.
New license terms
We’re designing these tracks with access level options to serve your goals as your use of the API scales. We also want to ensure our platform promotes level and consistent access for developers who invest in our API for commercial use. To do this, we plan to introduce new license terms to our Developer Agreement which will specify that commercial use of the API is limited to certain product tracks.
Over the coming weeks, we’ll share more information about these terms, how we plan to define ‘commercial use’, and our intention for the specific product tracks to which they will apply. The new license terms won’t be introduced immediately but will roll out as relevant product tracks are made available in the future.
We’ll be using these next few months to learn more from you about this approach. If you’re interested, let us know your thoughts on these plans with this short survey.
Supporting the health of the public conversation
As with the introduction of our developer application a few years ago, we are committed to a developer platform that works in service of the overall health of conversation on X. Simultaneously, we are committed to a developer platform that is open and serves diverse needs. The introduction of these new access levels and product tracks allows us to offer more options and access with increased trust, as well as more controls to help address platform abuse and to keep the X service safe and secure for everyone. Our hope is that you find that these paths provide even more clarity about how to adhere to our Developer Terms and make it easier to scale your use of the X API for years to come.
Bringing it all together
Evolution of the developer portal
Over the coming months, all developers will see a new interface when they log in to their developer accounts. This new developer portal will become a home base for managing your use of the new X API, with continual improvements and new features to help you build. We’re planning to create new ways to manage access for multiple development environments, to help you rethink how you manage a team of collaborators, track and understand your API usage, move up and down between access levels, and find resources to help you be successful. If you have other ideas you’d like to see, let us know and share your feedback!
We’re also introducing "Projects" within the developer portal as a way to organize your work and manage your access to the X API for each use case you’re building with it. We’re starting with just one Project per developer account for the first Early Access release, so you can begin using Basic access to the new X API.
As we roll out further access levels and product tracks, you’ll be able to create multiple Projects for different use cases. We plan to support separate production, staging and development Apps within a Project as distinct environments to help you better manage your integration, and make it easier for a team to manage a Project and its Apps. For now, you can still use your existing, standalone Apps and create new ones if you need to; eventually, all API access will be through Projects.
Support for OAuth 2 and new permissions
We are working to add support for OAuth 2. In doing so, we intend to improve the developer experience with more granular permissions to give you more control and to serve the expectations of people authorizing your application. It will be some time before we make this available, however, this is a path we are actively pursuing. We'll share more in the future about how to test this. Share your feedback and suggestions as we build.
Versioning
We expect to launch new major API versions more often than we have in the past (8 years ago!), but we'll still make it a goal to avoid doing so unless there's a compelling reason. We don't expect to make major version updates more often than once every 12 months, and when we do, it will be our goal to support the previous version for at least 1 year until retirement. Between major version changes, you’ll continue to see us add non-breaking improvements as they’re ready. Our goal is that you will only need to update your integration if you’d like to take advantage of new functionality.
Rolling out the new X API
Early Access
Eventually, the new API will fully replace the v1.1 standard, premium, and enterprise APIs. Before that can happen though, we have more to build, which is why we are referring to the current phase as "Early Access." It's a chance to get started now and get ahead.
Based on what we've learned from you in the past few years, we feel it it's important to build in the open and give you access to the new functionality and access levels as they become available. Everything that we’re releasing into Early Access is fully supported and ready for you to build in production at scale.
Once we've completed releasing new versions of core functionality, we’ll move the new API version (v2) into the General Availability phase and make it the new default version of the X API. To learn more, visit the Early Access overview.
If you don't yet have a developer account, apply to get started.
Deprecations and migrations
We know migrations can be challenging and we’re committed to doing our part to make migrating to our new API as easy as we can. Whether you use the current standard v1.1, premium, or enterprise endpoints — or a combination — you likely won’t need to migrate for some time. Our intent is to provide plenty of migration time (along with resources to help) when we deprecate existing endpoints. Our goal is to wait until we have completed releasing new versions of core functionality, but there may be exceptions where we need to turn off some legacy services sooner, including:
Standard v1.1 statuses/sample and statuses/filter endpoints. Later this year we plan to announce a shorter deprecation window for these two endpoints. The replacements for these endpoints are available in Early Access: the filtered stream and sampled stream endpoints. We're giving you this heads up so you can begin exploring these replacements now. For specific requests or to provide your thoughts on this update, please share your feedback.
Expected sequence of updates
The effort to replace the v1.1, premium, and enterprise APIs will take some time. To help you plan, we want to share a rough outline of the order in which we hope to roll out changes. Should our plans evolve, we will do our best to keep it updated here. To receive notification about the progress of specific items, sign up to "watch" any cards within our roadmap.