Back to tools

AI Agent Tool

Twitter X logo

Twitter X

Social platform and developer API for real-time public conversation, content publishing, and data access.

Social MediaCommunity

x.com

•

One-click Login

•

Ready to use

About Twitter X

X (formerly Twitter) is a real-time social media platform used by businesses for brand communication, customer support, and content distribution. The developer API, overhauled in early 2026 to a pay-per-use model, allows programmatic posting, reading, and searching of posts. Businesses primarily use the platform organically or via paid advertising through X Ads. Legacy flat-rate API plans (Basic $200/month, Pro $5,000/month) are closed to new signups as of February 2026.

AI Agent Use Cases

- Real-time public post publishing and timeline reading

- X Ads platform for promoted posts, follower campaigns, and video views

- Developer API with pay-per-use pricing (post reads, writes, user lookups)

- X Premium subscription for higher algorithmic reach and edit functionality

- Direct Messages for customer support workflows

- Analytics dashboard for engagement and audience metrics

Available Actions

These are the specific actions that AI agents can perform with this tool

Inputs

count

Specifies the number of most recent Tweets to retrieve, up to the endpoint's documented limit (default 20, maximum 200).

since_id

Returns results with an ID greater than (that is, more recent than) the specified 'since_id' Tweet ID.

max_id

Returns results with an ID less than (that is, older than) or equal to the specified 'max_id' Tweet ID.

trim_user

If set to 'true', each Tweet returned in a timeline will include a user object including only the status author's numerical ID.

exclude_replies

If set to 'true', replies will not be included in the returned timeline.

include_entities

The entities node will not be included when set to 'false'.

Inputs

text

The text of the tweet you want to post.

media

Optional parameter for media to attach to the tweet.

reply_settings

Settings for user replies to this tweet.

geo

Geolocation data for the tweet.

tags

User tags to mention in the tweet.

Inputs

user_id

The unique identifier for the user responding to the post.

tweet_id

The unique identifier for the post that the user is responding to.

response_text

The content of the user's response to the post.

Inputs

media

The image file to be uploaded

media_category

A string that must be included for videos to categorize the upload