X (Twitter) posting API
PostLake is the social media posting API for AI agents. Post to X from an API with clear credit rates. Ask Claude, Cursor or ChatGPT to post to X (Twitter), or call REST. Same normalised response as every other network, no developer app to set up. Coming soon
Get started free →No card for the free tier · one API for every network · full MCP access
Availability: Built and ready; we're finishing X (Twitter) account setup on our side, then it opens to everyone.
"platforms": ["x"].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.
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.
PostLake manages the X (Twitter) connection for you. No developer app to register or platform review to run yourself.
Post to X (Twitter) and other networks in one call and get back a single normalised shape. Your code never branches per platform.
Idempotency keys mean a retrying agent never double-posts, and analytics come back normalised so an agent can decide what to post next.
A free tier to start, then usage-based credits. One per post (X costs more). You only pay for posts that actually publish.
Yes. PostLake gives you one normalised call for X publishing. A text post uses 6 credits and a post with a link uses 75 credits.
X has dedicated credit rates: 6 credits for text and 75 credits for a post with a link. Every other supported network uses 1 credit per successful post.
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 Bluesky · Post to LinkedIn · Post to Instagram · Post to TikTok · All platform support · Markdown
One API and MCP server for X (Twitter) and every major network. Free to start.
Get started free →