Twitter / X API

api.twitter.com

Community

Twitter (now X) is a social media platform for posting short-form content called tweets. The v2 API lets you create and delete tweets, search recent tweets, retrieve user profiles, and list followers. Use this to automate social media posting, monitor conversations, or gather user data.

Auth

oauth2

Pricing

free

Spec version

1.0

Base URL

https://api.twitter.com

Crawl failures

1

Last verified

2026-03-01T11:55:03.000Z

Health

This is a community-maintained manifest. Health monitoring is not available because this service doesn't host its own /.well-known/agent endpoint yet. Learn more about trust levels →

Capabilities

create_tweet

Post a new tweet to the authenticated user's timeline. Supports text content, polls, reply settings, and quote tweets.

Detail: https://api.twitter.com/capabilities/create_tweet

delete_tweet

Delete a tweet that was posted by the authenticated user.

Detail: https://api.twitter.com/capabilities/delete_tweet

get_tweet

Retrieve a single tweet by its ID, including metrics, author info, and media attachments.

Detail: https://api.twitter.com/capabilities/get_tweet

get_user

Look up a Twitter user profile by username or user ID. Returns display name, bio, follower counts, and profile image.

Detail: https://api.twitter.com/capabilities/get_user

get_user_followers

List the followers of a specific user. Returns paginated user objects with profile information.

Detail: https://api.twitter.com/capabilities/get_user_followers

get_user_tweets

Retrieve tweets posted by a specific user. Supports pagination and filtering by time range.

Detail: https://api.twitter.com/capabilities/get_user_tweets

search_tweets

Search recent tweets (last 7 days) using a query string with operators. Returns matching tweets with metadata.

Detail: https://api.twitter.com/capabilities/search_tweets

Agent Preview

This is what an AI agent sees when it discovers this service via the Gateway:

Service: Twitter / X API
Description: Twitter (now X) is a social media platform for posting short-form content called tweets. The v2 API lets you create and delete tweets, search recent tweets, retrieve user profiles, and list followers. Use this to automate social media posting, monitor conversations, or gather user data.
Auth: oauth2
Capabilities:
  - create_tweet: Post a new tweet to the authenticated user's timeline. Supports text content, polls, reply settings, and quote tweets.
  - delete_tweet: Delete a tweet that was posted by the authenticated user.
  - get_tweet: Retrieve a single tweet by its ID, including metrics, author info, and media attachments.
  - get_user: Look up a Twitter user profile by username or user ID. Returns display name, bio, follower counts, and profile image.
  - get_user_followers: List the followers of a specific user. Returns paginated user objects with profile information.
  - get_user_tweets: Retrieve tweets posted by a specific user. Supports pagination and filtering by time range.
  - search_tweets: Search recent tweets (last 7 days) using a query string with operators. Returns matching tweets with metadata.