Twitter (X) API

Twitter's API charges $100/month for basic posting access and $5,000/month for full features. Zernio is free up to 2 accounts and passes X API costs through at zero markup beyond that. No per-tweet fees.

  • Free tier
  • No credit card
  • 99.97% uptime
Simon Fairhurst@siimonfairhurst

Shipped v2 today ๐Ÿš€ Faster sync, cleaner API, same price.

Monday 39:30 AMScheduled

Join 200,000+ of the world's most ambitious developers and builders

Warner Music Group
Runable
ClickUp
MoFlo
RE/MAX
Readdy
How it works

Live in three steps, no Twitter (X) app review

1

Profile

default

X

Connect Twitter (X)

Sign up for free, get your API key and connect Twitter (X) accounts through our OAuth flow.

2

POST /v1/posts

const { data } = await zernio.posts.createPost({
  body: {
    content: 'Shipping today ๐Ÿš€',
    mediaItems: [{ url: 'https://cdn.acme.com/launch.jpg' }],
    platforms: [
      { platform: 'twitter', accountId: 'acc_8f2a' },
    ],
    scheduledFor: '2027-01-15T14:30:00',
    timezone: 'Europe/Madrid',
  },
});

Make one call

Send content to Twitter (X) from one REST endpoint, right away or scheduled.

3

post.failed

Webhook sent to your app

Failed

Mon, 18 Jan

09:00, Europe/Madrid

Scheduled

Shipping today ๐Ÿš€

Fri, 15 Jan at 14:30

Published

Track every post

Follow each post from scheduled to published, with a webhook when one fails.

Endpoints

Twitter (X) endpoints on one REST API

EndpointWhat it does
POST/v1/postsCreate or schedule a tweet (text, image, video, or GIF)
GET/v1/posts/{id}Get status and details of a tweet
DELETE/v1/posts/{id}Cancel a scheduled tweet
GET/v1/profilesList all connected Twitter/X accounts
Media specs

What you can upload to Twitter (X)

Zernio transcodes and optimizes media for Twitter (X)'s requirements automatically.

twitter/media-specs
TypeFormatMax sizeNotes
ImagePNG, JPEG, GIF, WebP5 MBUp to 20 images per tweet
VideoMP4512 MB0.5 - 140 sec duration
GIFGIF15 MBAnimated GIFs supported
TextUTF-8280 charsLinks counted as 23 chars
Capabilities

Everything the API handles for you

Twitter's v2 API has strict rate limits that vary by endpoint. Zernio manages these automatically, ensuring your posts go out reliably.

Threads

Create multi-tweet threads in one call.

Scheduling

Schedule tweets for your best times.

Tweets with media

Post tweets with images, videos, and GIFs.

X Articles

Publish long-form X Articles with cover and inline media.

Quotes and replies

Quote tweet and reply to any post.

No paid tiers

No need for expensive Twitter API tiers.

Multi-account

Manage several X accounts from one API key.

Status webhooks

Get notified the moment a post publishes or fails.

Response

What comes back from every call

Plain JSON back from every Twitter (X) call, with the IDs and statuses your app needs to follow up.

cURL

$

{
  "post": {
    "_id": "65f1c0a9e2b5af0012ab34cd",
    "status": "published",
    "content": "Just shipped a new feature! ๐Ÿš€ Check it out at example.com",
    "platforms": [{
      "platform": "twitter",
      "accountId": { "_id": "acc_abc123", "username": "@yourhandle" },
      "status": "published",
      "platformPostId": "1234567890123456789",
      "platformPostUrl": "https://x.com/yourhandle/status/1234567890123456789"
    }],
    "publishedAt": "2025-01-10T10:30:00Z"
  },
  "message": "Post published successfully"
}

Start building with the Twitter (X) API

Free tier available. No credit card required.

  • Free tier
  • No credit card
  • 99.97% uptime