Skip to main content

Twitter introduces new Spaces endpoints for its API

With version 2 of Twitter’s new API, it’s introducing new Spaces endpoints so developers can build tools and other solutions to the company’s chatroom product.

As announced in one of Twitter’s forums (via TechCrunch), these new endpoints will enable developers to “build solutions to help people discover interesting Spaces more easily, and to help hosts measure the performance of their Spaces.”

We’re introducing a new top-level Spaces resource to the Twitter API v2 alongside Tweets and users. Spaces are a new way to communicate, and the data associated with a Space is significantly different from a Tweet; with a new resource object, you can use and select fields who only apply to Spaces, while retaining the flexibility on using expansions to return other resources (such as user objects) in the same request.

With today’s launch, developers will be able to build tools using new endpoints to help users discover live and scheduled Spaces. Users will also be able to discover attendance count in real-time.

There are three different endpoints: Spaces data dictionary, Spaces lookup, and search Spaces endpoints.

With Spaces data dictionary, it contains an initial set of metadata to help the developer understand public metadata and metrics associated with an active Space. Spaces lookup endpoints will enable users to return Spaces using numerous criteria, while search Spaces endpoints allow you to search live and upcoming Spaces by keyword.

In the announcement, the Twitter Spaces team says with the next release, they’ll be exploring ways to enable developers to build specifically for Spaces Hosts, and that they’re also exploring a set of endpoints that will enable developers to create and manage reminders for upcoming Spaces.

Read more:

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
Please wait...processing
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
Please wait...processing