X (Twitter) API

Look up public posts and profiles, inspect attached media, or explore trending topics by location.

Choose an API by task

Look up a post

Enter a public post URL or numeric ID to read the text, author, engagement, and available media.

Twitter Tweet API — Read a Public X Post

Look up a profile

Enter a username or profile URL to read the public bio and available account statistics.

Twitter Profile API — Look Up a Public X Account

Explore regional trends

Select a location to see trending topic names, observation times, and associated search links when available.

Twitter Trends API — Get Regional X Trend Labels

API list

5 APIs