Unified Social Media API
for SaaS apps and AI agents
Post to X, Instagram, TikTok, LinkedIn, YouTube and more through one API. Give every customer or agent its own key, with limits, a log and an off switch.
No credit card required.
Building with AI agents?POST https://api.postkey.dev/v1/posts
Authorization: Bearer pk_cust_42_…
{ "content": "Hello world!", "accounts": ["acc_x_789", "acc_li_456"] }Published
2 platforms
Limit
customer_4218/20 today
Activity log
Who posted what
- customer_42published to X
- agent_botrefused, duplicate
- acme_shoppublished to LinkedIn
- X
- TikTok
- YouTube
- YouTube Shorts
- Google Business
- X
- TikTok
- YouTube
- YouTube Shorts
- Google Business
One integration. Every platform.
A key for everyone.
Connect once. Your app, your customers and your AI agents each post through their own key, to every platform.
One connection, every capability
POST /v1/posts
Authorization: Bearer pk_cust_42_…
{
"content": "We just shipped dark mode",
"accounts": [
"acc_ig_123",
"acc_li_456",
"acc_x_789"
],
"media": [
{
"type": "image",
"url": "https://cdn.example.com/dark-mode.png"
}
]
}post_8f21c · key customer_42
- Instagram Sending
- LinkedIn Sending
- X Sending
One result per platform. Counted against customer_42 only.
One API. Every way to build.
Call the API from your code, plug it into your automation tool, or give your AI agents a key of their own. Same keys, same limits, same log.
Give each agent a key of its own.
The agent can post, schedule and read its own log. It can't raise its limits or reach accounts you didn't give it.
Drop a SKILL.md into Claude, Codex or any agent that reads skills. It learns the endpoints, the steps and what to do when a post is blocked.
Explore Agent skill---name: postkey-postingdescription: Publish or schedule social posts through Postkey. Use when the user asks to post, share or schedule something.--- # Posting with Postkey ## Workflow1. POST /v1/posts with content and accounts.2. Add scheduledFor to post later instead of now.3. Read results[] and give the user each post URL.4. GET /v1/logs?key=agent_scheduler to check what this key posted. ## Notes- Each agent posts with its own key (POSTKEY_KEY).- Limits live on the key. The agent can't raise them.- Blocked posts return a reason you can show the user.Everything social, behind one key
The APIs your product needs to post, schedule and talk to customers on every network, without building each integration yourself.
Multi-platform posting
Publish text, images and video to X, Instagram, Facebook, TikTok, LinkedIn, YouTube, Pinterest and Google Business with one request.
Scheduling
Add a time and a time zone to any post. We publish it then and report back per platform.
Comments & replies
Read, reply to and hide comments on your customers' posts without leaving your product.
Messaging
Pull DMs from every network into your app and answer them from one place.
A key per customer
Every customer or AI agent gets its own key, scoped to the accounts you choose.
Limits & off switch
Daily caps and duplicate blocking per key. Turn one key off and everyone else keeps going.
Activity log
Which key posted what, where and when, with the result from each platform.
Managed sign-in
Your users connect through each network's own login. We run OAuth and keep tokens fresh.
Built for developers
REST, Node and Python SDKs, an MCP server, and webhooks with errors in plain English.
Explore Postkey APIs
Pick what you want to do, then the platform.
Posting
Publish text, images and video in each platform's own formats.
Scheduling
Pick a date and time zone; we publish it and report back.
Comments
Read, reply to and hide comments on your customers' posts, from your product.
- Threads
- YouTube
- X
Messaging
Bring DMs from every network into your product or workflow.
- X
- TikTok
Comment to DM
Auto-send a DM when someone comments a keyword on a post, plus an optional public reply.
Keys & control
Give every customer or agent its own key, with limits and a log.
For agents
Let AI agents post through tools, with caps they can't raise.
Questions
Something not here? Email hello@postkey.dev. I answer myself.
What's a posting key?
An API key you make for one of your customers or one of your agents. It can only post to the accounts you allow, within the limits you set. Everything it does is logged under its name.
Why not use one API key and track this myself?
You can. Most teams end up writing limits, usage counting and logs on top of their posting API. Postkey puts that inside the API so you skip that part.
Whose app do my users see when they connect an account?
Ours. They see Postkey on each network's login screen.
Does it work with MCP and agent tools?
Yes, there's an MCP server. Each agent connects with its own key, so its limits and log still apply inside Claude, Cursor or similar tools.
What happens when a post fails?
You get a webhook for each network the post went to, with a plain-English reason and whether a retry can help. Failed posts don't count toward your limits.
What does it cost?
Free to start, no card required. After that, simple usage-based pricing. Exact prices go up before you're asked to pay anything.
Start posting in five minutes
Free to start. No credit card required.
- 9 platforms
- Unlimited accounts
- Failed posts don't count
Install with npm i @postkey/node, then: import { Postkey } from "@postkey/node"; const postkey = new Postkey(process.env.POSTKEY_KEY); const post = await postkey.posts.create({ content, accounts }); console.log(post.status); // "published". Result: published to 3 accounts.