Listen & analyze

Understand the public conversation

With the Twitter API, you can tap into the public conversation to understand what's happening, discover insights, listen for events, and more.

What does it mean to listen and analyze?

Here are some ways developers, researchers, and businesses listen and analyze with the Twitter API to better understand the world around us:

Stream Tweets in real-time

Surface and stream Tweets and conversations as they happen.

Analyze past conversations

Search for topics or keywords and analyze the related conversation.

Measure Tweet performance

Build a simple tool to understand how users’ Tweets are performing in the world.

Listen for important events

Listen for events that matter to you so that you can trigger appropriate actions or notifications. Build a simple tool to understand how users’ Tweets are performing in the world.

Explore Tweets from a specific account

Retrieve and explore a user’s timeline of Tweets and replies.

Explore and get started with tutorials for some of the most common use cases.

API functionality to listen and analyze

The latest generation of our Twitter API includes a number of endpoints and features designed to help you understand the global conversation on Twitter.

Query the most recent seven days of public Tweets to analyze and understand past events.

Filter the complete stream of realtime public Tweets to listen to what's happening or derive insights from the conversation.

Stream a sample of new Tweets as they are published, across ~1% of all public Tweets in real-time to quickly assess what's trending or what people think about a topic.

Look up Tweets by ID to get information about Tweets to help you understand Tweet performance, whether the Tweet is part of a broader conversation thread, and more.

Look up a user or group of users by name or ID, and get up-to-date fields like follower count and the ID of their pinned tweet.

Topic labels applied to Tweets based on Twitter's ML models to make it easy to identify and discover Tweets you care about.

Tweet metrics included within the Tweet object so that you can quickly understand the performance and engagement of Tweets.

A field to help you understand and rebuild the full conversation around a Tweet.

Developer spotlights

  • HateLab

Bristol University studies online hate speech to find ways to counter it.

Next Steps

Are you an academic researcher? A business
Learn about the solutions and resources designed for you.