Social Media Scheduler API for Developers and AI Agents
One unified REST API and hosted MCP server to draft, schedule, and publish posts across X, Instagram, LinkedIn, and TikTok. Connect unlimited accounts with credit-based pricing.
Authenticate with a Bearer token, fetch your connected account_id, create a draft, schedule it with an ISO 8601 timestamp, and check publishing status.
AUTHAuthorization: Bearer <your-api-key>
# Create your key in the dashboard, then set it locallyexport POSTPIPER_API_KEY="<your-api-key>"# Verify authentication by listing your connected accountscurlhttps://api.postpiper.ai/v1/accounts \
-H "Authorization: Bearer $POSTPIPER_API_KEY"
200 OK · Connected accountsExample output
{
"accounts": []
}
An empty list means you need to connect a social account in the dashboard. Examples show illustrative API responses.
One REST API for drafts, scheduling and publishing. Choose your account and content; PostPiper handles the platform connection.
Current PostPiper publishing capabilities
Platform
Content types
Media support
Scheduling & drafts
Account authorization
X (Twitter)
Text & image posts
JPEG, PNG, WebP images
REST API & MCP
X OAuth 2.0
Instagram
Feed posts & Carousels
1–10 JPEG images
REST API & MCP
Meta OAuth · professional account (experimental connection)
LinkedIn
Text & image posts
Up to 20 JPEG / PNG images
REST API & MCP
LinkedIn OAuth 2.0
TikTok
Video posts
One MP4 or MOV video
REST API & MCP
TikTok OAuth 2.0
Managed account connections. Authorize accounts in your dashboard and use your PostPiper API key in your code. Platform permissions and token validity still apply. Instagram connection is experimental; Reels are not currently supported.
Dual-Surface Architecture
Built for Both Code (REST API) and AI Agents (MCP)
Build a publishing workflow in your backend, or connect a compatible AI assistant to your social calendar through Model Context Protocol.
Standard REST API for Apps & Cron Jobs
Use JSON over HTTPS in SaaS backends, Next.js apps, scheduled jobs, or n8n and Make HTTP workflows. Authenticate with a Bearer API key.
Accounts, drafts, media and post-status endpoints
Explicit ISO 8601 scheduling with time zone offsets
Connect ChatGPT, Claude, Cursor or a custom MCP client with OAuth. Draft with your assistant, review the details, then confirm scheduling or publishing.
Hosted endpoint with OAuth authorization
Draft review and confirmation before publication
Client-specific setup guides; no local server to run
Choose your post allowance. Connect as many supported accounts as you need, with no per-channel subscription fee. Only successful publications count toward your credits.
A publication to each account counts separately. Post allowances are not API throughput guarantees. See pricing details for current billing terms.
Objective Benchmark
PostPiper vs. Postiz, Buffer, and Zernio: Social Media API Comparison
PostPiper prices its plans by post credits with unlimited connected accounts. Postiz Cloud uses channel tiers, Buffer uses per-channel plans, and Zernio bills connected accounts plus metered services.
Essentials: 450 requests / 15 min; other quotas apply
Account tiers + metered services
Self-hosting
Hosted service
Open-source self-hosting available
Hosted service
Hosted service
Base subscriptions are not complete feature equivalents. Zernio passes through X API costs separately; these are excluded here. Self-hosted Postiz also requires infrastructure and platform-app configuration. Monthly post credits and request-rate limits measure different things.
Start with 10 accounts and 1,000 monthly publications, then adjust the scenario to see how the billing models change.
1 account10 accounts
One post means one publication to one account. This compares recurring plans for publishing, using monthly USD billing.
PostPiper’s 30 starter credits are one-time. Buffer’s free plan may fit up to 3 channels with 10 queued posts per channel, subject to API quotas.
Estimated monthly base cost
PostPiper$10/mo
1,000 monthly post credits · unlimited accounts
Postiz Cloud$39/mo
Team · up to 10 channels
Buffer$60/mo
Essentials · $6 per channel, monthly billing
Zernio$48/mo + usage
First 2 accounts free · X usage costs excluded
Estimates cover 1–10 accounts and up to 3,000 monthly publications using the published plans above. Excludes taxes, annual discounts, add-ons, hosting, and metered X usage. Buffer and Postiz publishing remains subject to fair-use and API quotas; actual feature coverage varies. View sources and comparison assumptions.
Find Your Fit
Which Social Media Scheduler API Should You Choose?
PostPiper
For founders and AI-agent builders
Choose PostPiper for a hosted REST and MCP workflow with unlimited connected accounts and post-based pricing. Check the platform matrix if you need a specific media format.
Choose Postiz when running your own scheduler matters, or you need its broader publishing and AI tooling. Budget time for deployment and provider-app configuration when self-hosting.
Choose Buffer if your team already uses its dashboard, wants broader social tools, or prefers a GraphQL integration. Its free plan can suit a small publishing queue.
Choose Zernio when your product needs publishing alongside inboxes, messaging or advertising. Model the connected-account costs and additional metered usage for your workload.
The practical details of authentication, scheduling, media and agent workflows.
Is there a free social media scheduler API?
Yes. PostPiper includes 30 one-time post credits with REST API access, hosted MCP and the web calendar. No credit card is required to start.
Why does PostPiper charge per post instead of per connected account?
PostPiper bases its published plans on successful posts so you can connect multiple brands and accounts without a separate per-channel bill. One successful publication to one account counts as one post credit.
How does scheduling handle time zones?
Send a future ISO 8601 scheduled_at timestamp with Z for UTC or an explicit offset, such as 2030-12-01T09:00:00-08:00. The scheduling response normalizes that time to UTC.
Can I create drafts without publishing immediately?
Yes. POST /v1/posts creates an unpublished draft for review. Publish with POST /v1/posts/{postId}/publish or schedule it separately with POST /v1/posts/{postId}/schedule.
Do I need my own platform developer apps?
Use PostPiper’s dashboard to authorize your supported social accounts through its platform connections. Your REST integration uses a PostPiper API key; each connected account must meet its platform’s account and permission requirements. Instagram connection is currently experimental.
Can ChatGPT, Claude or Cursor schedule posts?
Yes, through a compatible MCP client connected to https://mcp.postpiper.ai/mcp with OAuth. The MCP workflow creates drafts and asks for confirmation before scheduling or publishing. Client setup and custom-server availability vary.
Which media formats can I publish?
X supports text and images. LinkedIn supports text and up to 20 JPEG or PNG images. Instagram supports feed posts and carousels of 1–10 JPEG images, plus a caption, on a professional account; its connection is experimental. TikTok requires one MP4 or MOV video. This API does not yet offer every native platform format.
Are monthly post credits the same as API rate limits?
No. Post credits describe your publishing allowance, while request limits and upstream platform restrictions govern traffic. Do not treat a 1,000-post plan as a requests-per-minute guarantee. Check API errors and post status before retrying.
Your next integration
Build once. Publish from your code or your AI.
Connect your accounts, create a draft, and schedule your first post. Start with 30 free credits. No credit card required.