X API

The X API for posts, images & video

Publish text, images and video to X (Twitter) from your own code, with reply controls and Premium-length posts, through the same request as every other network.

Works with AI agents
What you can publish

Every X format, one endpoint

The same request that posts everywhere else, with the fields X needs and nothing it doesn't.

Text posts

280 characters on standard accounts, up to 25,000 on Premium.

content

Images

Up to 4 JPEG, PNG or WebP images on a single post, 5 MB each.

mediaIds

Video

One MP4 on its own, from 0.5 to 140 seconds, between 1:3 and 3:1.

mediaIds

Reply controls

Limit replies to accounts you follow or mention, or to subscribers or verified accounts on Premium.

reply_settings
Beyond publishing

More than a way to post to X

Everything around the post (when it goes out, how it performs, where else it lands) through the same API.

Scheduling

Schedule X posts to the minute

Give a post a time and Bulkit publishes it then. Queue a week, or a quarter, of X content in one go, and let retries and rate limits take care of themselves.Any time zoneRetries built inRate limits handled

Analytics

X analytics, in one schema

Post metrics, read hourly on day one, then daily, then weekly up to 30 days. Same response shape as every other network, so there's nothing to reconcile.ImpressionsLikesCommentsSharesQuotesSaves

Cross-posting

X and 11 more networks in one call

Add targets to the same request and one payload fans out everywhere, with each network getting the fields it needs. Upload media once and reuse it on every channel.One API keyOne schemaNo per-network fees

AI agents

Let your AI agent post to X

Bulkit's MCP server gives Claude, Cursor or any MCP-compatible agent real tools to publish and schedule to X: the same actions your code calls.Claude & CursorScoped API keysEvery call logged

X at a glance

The X API's sharp edges, filed down

X (Twitter) limits and capabilities
SpecX
FormatsText, images, video
Post text280 characters · 25,000 on Premium
MediaUp to 4 images, or 1 GIF or video on its own
VideoMP4 · 0.5 to 140s · 1:3 to 3:1
RepliesEveryone, following, mentioned, subscribers, verified
AnalyticsImpressions, likes, comments, shares, quotes, saves

Limits that follow the account

The character limit depends on the account's tier. Premium accounts get 25,000 characters through the same request.

Reply settings, per post

Set reply_settings on each post. Some options, like subscribers-only, need a paid X subscription.

Threads that resume

A thread of up to 25 posts publishes one post at a time. If it stops halfway, a retry continues from where it stopped, without posting the first ones again.

Replies from the last 7 days

Read and answer replies to a published post. X's search, which Bulkit uses to find them, only goes back 7 days, and we'd rather say so here than let you find out in production.

X is one of 12 channels

Add a target and the same post goes out everywhere else too: one key, one schema, no per-network fees.

FAQ

X API: common questions

  • How do I post to X with the Bulkit API?

    Connect your X account, then send one POST with your text and any uploaded media. Set intent to schedule with a scheduledAt time to schedule it instead of publishing straight away.

  • Can I post images and video to X?

    Yes. A post can carry up to 4 images (5 MB each), or one GIF or one MP4 video on its own. Videos run from 0.5 to 140 seconds.

  • Does it support long posts?

    Yes, if the connected account has a paid X subscription: up to 25,000 characters. Standard accounts are limited to 280.

  • Can I get X analytics?

    Yes. Impressions, likes, comments, shares, quotes and saves for each post, in the same schema as every other network with analytics.

  • How much does it cost?

    $4.99/month with 500 actions included, then $0.01 per action. X is included with every other network.

Your first X post is one request away

$4.99/mo with 500 actions included, then $0.01 each. X and every other network on the same key.