Twitter introduces a new, fully rebuilt developer API, launching next week

Comment

A stock photo featuring Twitter's logo and machine cogs.
Image Credits: TechCrunch

Twitter is still recovering from the fallout of yesterday’s sizable attack on high-profile accounts, but it’s continuing to move forward with its plans to roll out a new version of its developer API. Today, the company is announcing its new Twitter API v2, rebuilt from the ground up. The new foundation, which has been rebuilt for the first time since 2012, includes features that were missing from the earlier API, like conversation threading, poll results in tweets, pinned tweets, spam filtering and more powerful stream filtering and search query language. It has also been designed in a way that will allow Twitter to release new functionality faster than in years past, the company claims.

Though Twitter says it has no evidence that yesterday’s security incident had anything to do with its API, actually turning it on today, as was planned, had to take a backseat to its focus on making sure Twitter and its accounts are safe and secure. The company plans to now roll out API v2 and other content, like its new support center, documentation and other blog posts with details sometime next week.

Twitter’s API v2 will introduce multiple access levels, to replace the earlier three-tiered system in the current API (v1.1).

Today, Twitter’s API is separated into three platforms: Standard (free), Premium (self-serve paid) and Enterprise. But this has made it difficult for developers to migrate from one tier to another. The new API will eventually — and fully — replace all three, and will instead serve all users across three different product tracks, designed to accommodate different groups of developers. These tracks include the Standard track, which is launching today, while the Business and Academic/Research tracks will arrive soon. Within each track there will also be Basic, Elevated or Custom access levels available.

“We definitely know that one size does not fit all, and we wanted to make it easier for more developers to be successful building with us,” explains Twitter Developer Platform product head, Ian Cairns. One of those tracks will always be free, he added. “Twitter exists to serve the public conversation, and keeping a free, open API is really important to us,” he said.

The Standard track’s Basic access level will always be free, Twitter says, and is designed for developers just starting out.

Image Credits: Twitter

The company hasn’t finalized its pricing for other tiers but says through its conversations with developers, it has come to understand how its pricing and its rate limit model were limiting developers, particularly researchers and those building for fun. The new pricing is expected to take different types of developer needs into consideration, and will offer free and paid tiers within the Elevated level within the Academic Research track.

The Standard product track could enable common Twitter tools, utilities and fun bots, like BlockParty, TweetDelete, Tokimeki Unfollow, HAM: Drawings bot, Hansard House of Lords bot and Emoji Mashup bot.

Image Credits: Twitter

The Business API, meanwhile, will support businesses that “serve innovative use cases,” says Twitter.

This is an area where Twitter has a complicated history, as it has in the past pulled out the rug from under the feet of developers building alternative Twitter clients and even shafted its own partners. Twitter today defines the use cases it’s aiming to support as those offering things like “social prediction of future product trends, AI-powered consumer insights, and FinTech market intelligence,” such as Black Swan, Spiketrap, and Social Market Analytics.

However, Twitter clarified in a call with press that it has spoken with the makers of third-party clients to figure out how it can better work with them in the future, and noted it’s not changing any policy related to its support right now. Those clients will also be able use the new features in v2. The company still has not said, clearly and definitively, that it has no plans to change how these businesses today operate.

Instead, Twitter explained to TechCrunch it believes these clients “deserve clarity on how to operate” with the new API. But this clarity may require Twitter to take a fresh look at its policy and product access details, Twitter said, adding it’s looking ahead to determine how to best work with this group. Given the API has been in development for more than a year, this is a disappointing answer for Twitter’s power users who prefer third-party clients, like Tweetbot, Twitterific, Echofon and others. Twitter has had plenty of time to take that “fresh look,” and has still not made a decision, it seems.

In addition, the Business API will serve Twitter Official Partners like Brandwatch, Sprinklr and Sprout Social, and Twitter’s enterprise data customers. This track in the future will include Elevated and Custom access to relevant endpoints.

The upcoming Academic/Research track, meanwhile, will allow qualified researchers to learn what’s happening in Twitter’s public conversation.

Developers are today using Twitter data to research a range of topics, like people’s attitudes about COVID-19, the social impact of floods and climate change and the prevalence of hate speech online. This will also later add Elevated and Custom access to relevant endpoints, and will be the first time Twitter has built a product tailored toward researchers’ specific needs, it says.

Of all these, only the Standard API product is ready to ship next week, with a new set of features offered for free at the Basic level. Its launch will be followed by the Academic/Research product track, and Twitter will then continue to release the new API incrementally in the months ahead. It will take some time to shift developers from v1.1 to v2, however, so Twitter’s API roadmap and documentation can help guide them as to when changes will occur.

Twitter “firehose” data (the full stream) will continue to be available only in limited partnerships, as today. Twitter says most developers don’t want this, even when they have high-data access needs, because firehose data is difficult to work with.

Image Credits: Twitter

The company says the decision to rebuild its developer platform came about because Twitter needs to more easily scale a large number of API endpoints for both planned and new functionality going forward. (Perhaps related: a Twitter job description that mentioned its plans to “build a subscription platform.” That could require a new API?)

In the current version of the API, endpoints are implemented by a large set of HTTP microservices — a decision Twitter made when it re-architectured from Ruby in 2013. This ended up creating a disjointed product where independent teams worked on their endpoints without coordinating with others.

Image Credits: Twitter

Twitter has been testing new API features for over a year as part of its Twitter Developer Labs program, a shift toward building in public. This change allowed the company to gain real-time feedback from the developer community as the product was built in the open. Developers told Twitter they wanted better documentation, access to an engaged community, a sandbox for testing, easier onboarding and other features.

Twitter specifically responded to these requests for a new developer portal, which has also been redesigned. The portal will offer an onboarding wizard to simplify getting API keys. The portal also allows developers to manage their apps, understand their API usage and limits, access a new support center, find documentation and more. Developers will additionally be able to view Twitter’s public roadmap and read through a forthcoming “Guide to the future of the Twitter API,” which arrives next week when v2 launches, for more about what to expect.

Next week, Twitter will launch “Early Access” to an initial set of new endpoints. Unlike Twitter Developer Labs, Early Access will be production-ready and fully supported. The new endpoints will allow developers to stream tweets in real time, analyze past conversations, measure Tweet performance, listen for important events and explore tweets from any account. In later weeks, Twitter will decide which other new features it may move to the API — like voice tweets or allowing only select audiences to reply to your tweets, for example.

Twitter says it will continue to share updates on v2 before deprecating any existing products.

“Our intent is to provide plenty of migration time — along with resources to help — when we deprecate existing endpoints. 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,” a spokesperson said.

There will be some exceptions, however. For instance, later this year, Twitter will announce a shorter deprecation window for v1.1 status/sample and statues/filter endpoints. Their replacements are rolling out next week in v2.

Developers can get started with Early Access by way of the Developer Portal, when the API v2 launches.

More TechCrunch

A hacker listed the data allegedly breached from Samco on a known cybercrime forum.

Hacker claims theft of India’s Samco account data

A top European privacy watchdog is investigating following the recent breaches of Dell customers’ personal information, TechCrunch has learned.  Ireland’s Data Protection Commission (DPC) deputy commissioner Graham Doyle confirmed to…

Ireland privacy watchdog confirms Dell data breach investigation

Ampere and Qualcomm aren’t the most obvious of partners. Both, after all, offer Arm-based chips for running data center servers (though Qualcomm’s largest market remains mobile). But as the two…

Ampere teams up with Qualcomm to launch an Arm-based AI server

At Google’s I/O developer conference, the company made its case to developers – and to some extent, consumers –  why its bets on AI are ahead of rivals. At the…

Google I/O was an AI evolution, not a revolution

TechCrunch Disrupt has always been the ultimate convergence point for all things startup and tech. In the bustling world of innovation, it serves as the “big top” tent, where entrepreneurs,…

Meet the Magnificent Six: A tour of the stages at Disrupt 2024

There’s apparently a lot of demand for an on-demand handyperson. Khosla Ventures and Pear VC have just tripled down on their investment in Honey Homes, which offers up a dedicated…

Khosla Ventures, Pear VC triple down on Honey Homes, a smart way to hire a handyman

TikTok is testing the ability for users to upload 60-minute videos, the company confirmed to TechCrunch on Thursday. The feature is available to a limited group of users in select…

TikTok tests 60-minute video uploads as it continues to take on YouTube

Flock Safety is a multibillion-dollar startup that’s got eyes everywhere. As of Wednesday, with the company’s new Solar Condor cameras, those eyes are solar-powered and using wireless 5G networks to…

Flock Safety’s solar-powered cameras could make surveillance more widespread

Since he was very young, Bar Mor knew that he would inevitably do something with real estate. His family was involved in all types of real estate projects, from ground-up…

Agora raises $34M Series B to keep building the Carta for real estate

Poshmark, the social commerce site that lets people buy and sell new and used items to each other, launched a paid marketing tool on Thursday, giving sellers the ability to…

Poshmark’s ‘Promoted Closet’ tool lets sellers boost all their listings at once

Google is launching a Gemini add-on for educational institutes through Google Workspace.

Google adds Gemini to its Education suite

More money for the generative AI boom: Y Combinator-backed developer infrastructure startup Recall.ai announced Thursday it’s raised a $10 million Series A funding round, bringing its total raised to over $12M.…

YC-backed Recall.ai gets $10M Series A to help companies use virtual meeting data

Engineers Adam Keating and Jeremy Andrews were tired of using spreadsheets and screenshots to collab with teammates — so they launched a startup, Colab, to build a better way. The…

Colab’s collaborative tools for engineers line up $21M in new funding

Reddit announced on Wednesday that it is reintroducing its awards system after shutting down the program last year. The company said that most of the mechanisms related to awards will…

Reddit reintroduces its awards system

Sigma Computing, a startup building a range of data analytics and business intelligence tools, has raised $200 million in a fresh VC round.

Sigma is building a suite of collaborative data analytics tools

European Union enforcers of the bloc’s online governance regime, the Digital Services Act (DSA), said Thursday they’re closely monitoring disinformation campaigns on the Elon Musk-owned social network X (formerly Twitter)…

EU ‘closely’ monitoring X in wake of Fico shooting as DSA disinfo probe rumbles on

Wind is the largest source of renewable energy in the U.S., according to the U.S. Energy Information Administration, but wind farms come with an environmental cost as wind turbines can…

Spoor uses AI to save birds from wind turbines

The key to taking on legacy players in the financial technology industry may be to go where they have not gone before. That’s what Chicago-based Aeropay is doing. The provider…

Cannabis industry and gaming payments startup Aeropay is now offering an alternative to Mastercard and Visa

Facebook and Instagram are under formal investigation in the European Union over child protection concerns, the Commission announced Thursday. The proceedings follow a raft of requests for information to parent…

EU opens child safety probes of Facebook and Instagram, citing addictive design concerns

Bedrock Materials is developing a new type of sodium-ion battery, which promises to be dramatically cheaper than lithium-ion.

Forget EVs: Why Bedrock Materials is targeting gas-powered cars for its first sodium-ion batteries

Private equity giant Thoma Bravo has announced that its security information and event management (SIEM) company LogRhythm will be merging with Exabeam, a rival cybersecurity company backed by the likes…

Thoma Bravo’s LogRhythm merges with Exabeam in more cybersecurity consolidation

Consumer protection groups around the European Union have filed coordinated complaints against Temu, accusing the Chinese-owned ultra low-cost e-commerce platform of a raft of breaches related to the bloc’s Digital…

Temu accused of breaching EU’s DSA in bundle of consumer complaints

Here are quick hits of the biggest news from the keynote as they are announced.

Google I/O 2024: Here’s everything Google just announced

The AI industry moves faster than the rest of the technology sector, which means it outpaces the federal government by several orders of magnitude.

Senate study proposes ‘at least’ $32B yearly for AI programs

The FBI along with a coalition of international law enforcement agencies seized the notorious cybercrime forum BreachForums on Wednesday.  For years, BreachForums has been a popular English-language forum for hackers…

FBI seizes hacking forum BreachForums — again

The announcement signifies a significant shake-up in the streaming giant’s advertising approach.

Netflix to take on Google and Amazon by building its own ad server

It’s tough to say that a $100 billion business finds itself at a critical juncture, but that’s the case with Amazon Web Services, the cloud arm of Amazon, and the…

Matt Garman taking over as CEO with AWS at crossroads

Back in February, Google paused its AI-powered chatbot Gemini’s ability to generate images of people after users complained of historical inaccuracies. Told to depict “a Roman legion,” for example, Gemini would show…

Google still hasn’t fixed Gemini’s biased image generator

A feature Google demoed at its I/O confab yesterday, using its generative AI technology to scan voice calls in real time for conversational patterns associated with financial scams, has sent…

Google’s call-scanning AI could dial up censorship by default, privacy experts warn

Google’s going all in on AI — and it wants you to know it. During the company’s keynote at its I/O developer conference on Tuesday, Google mentioned “AI” more than…

The top AI announcements from Google I/O