Post to X (Twitter)

Post to X (Twitter)
from an API or an agent.

PostLake is one social media API — post to X from an API, priced honestly. Publish to X (Twitter) over REST or a hosted MCP server, with the same normalised response you get for every other network, and no per-platform developer app to set up. Live now

Get started free →

No card for the free tier · one API for every network · full MCP access

Availability: Live now — connect a X (Twitter) account and post today.

The fastest way: ask your agent

Connect PostLake's hosted MCP server to your AI assistant (Claude, ChatGPT, Cursor and others), then just ask it to post to X (Twitter). No API key to paste — it authorizes over OAuth. See the MCP guide.

Post to X (Twitter) via the API

Connect your X (Twitter) account, then one call publishes to it (and any other accounts under the profile). No media required for a text post:

curl -X POST https://api.postlake.dev/v1/posts \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello from PostLake 👋",
    "platforms": ["x"],
    "profile": "my-brand"
  }'

You get back one normalised shape — a post id plus a targets list with the live URL. Full detail in Publishing a post.

X (Twitter) specifics

Why PostLake for X (Twitter)

No app setup

PostLake manages the X (Twitter) connection for you — no developer app to register or platform review to run yourself.

One response for every network

Post to X (Twitter) and other networks in one call and get back a single normalised shape — your code never branches per platform.

Agent-safe

Idempotency keys mean a retrying agent never double-posts, and analytics come back normalised so an agent can decide what to post next.

Honest pricing

A free tier to start, then usage-based credits — one per post (X costs more). You only pay for posts that actually publish.

Common questions

Is there an API to post to X (Twitter)?

Yes — X has a paid API, and PostLake wraps it so you post with one normalised call. X is pay-per-use, so PostLake meters it at 5 credits per text post (55 with a link) to cover the cost.

Why does posting to X cost more credits?

X is the only network that charges for API posting. Rather than raise prices for everyone, PostLake meters X higher and keeps every other network at 1 credit per post.

Can an AI agent post to X through PostLake?

Yes, via the same API or the MCP server. X access uses PostLake's managed app, so you don't set up your own X developer account.

Post to other networks

Post to Bluesky · Post to LinkedIn · Post to Instagram · Post to TikTok · All platform support

One API and MCP server for X (Twitter) and every major network. Free to start.

Get started free →