Choosing a social media API
To publish from code you either integrate each platform's official API yourself, or call one unified social media API that has done those integrations and passed the reviews. Direct is free and gives full control, but each platform has its own review and rules. A unified API costs a subscription and saves months of that work.
Route 1: each platform's own API
Every major platform has an official publishing API, and each one asks something different of you before your posts are public.
| Platform | Official route | Gate before real use |
|---|---|---|
| TikTok | Content Posting API | Audit; until then posts are private and at most 5 users post per 24 h |
| YouTube | Data API, videos.insert | OAuth verification; unverified projects upload private |
| Content Publishing API | Meta App Review; professional accounts only | |
| Graph API, Pages | Meta App Review plus business verification; Pages only |
Then the details. TikTok has no scheduling and allows no edits after posting. YouTube's quota is counted per Cloud project, across all your users. Instagram takes JPEG only and caps API posts at 100 per account per day. Facebook Reels are capped at 30 per Page per day. Each platform also has its own token lifecycle: TikTok's refresh tokens rotate, Google's live long, Meta's Page tokens never expire on a timer but die when the user changes their password.
None of this is hard on its own. All of it together, kept working as platforms change, is a product in itself. The per-platform pages go deeper: TikTok posting API, YouTube upload API, Instagram posting API.
Route 2: a unified social media API
A unified API gives you one request shape for every platform. You connect your users' accounts through its OAuth flow, and it holds the tokens, uploads the media, polls for results and applies each platform's rules.
What to compare when choosing one:
- Platforms. Some cover 4, some over 20.
- Pricing unit. Per profile, per connected account, or per plan.
- Validation. Can you check a post before sending it, or do you find out from a failure?
- Rate limits. Published or not, and per what.
- Free tier. Useful for testing; check whether the API is included.
Providers, from their own pages
Prices are as each provider shows them. Checked dates in the last column.
| Provider | Entry price | Platforms | API notes | Checked |
|---|---|---|---|---|
| Ayrshare | $149/mo (1 profile) | 14 | API on all plans; 300 requests per 5 min per profile | 11 Nov 2026 |
| Upload-Post | Free; Basic $24/mo | 22 | API and MCP incl. Free; TikTok paid plans only | 11 Nov 2026 |
| Zernio | First 2 accounts free, then from $6/account | 15 | 60 req/min free, 600 paid | 11 Nov 2026 |
| Postiz | $29/mo | many | REST API on every plan; create-post 90 requests per hour | 11 Nov 2026 |
| Blotato | $29/mo | 9 | API on paid plans, not during the trial | 11 Nov 2026 |
| Post Bridge | $39/mo | 10 | 10 requests per second per key | 11 Nov 2026 |
| Buffer | Free (3 channels) | many | GraphQL API, 3,000 requests/month on Free | 4 Oct 2026 |
| apublished | CHF 19/mo | 4 | REST API and MCP on every plan | Nov 2026 |
Notes on a few: Ayrshare's free trial is on its Launch plan only and needs a card. Zernio was formerly called Late. Upload-Post and Zernio are both Spanish companies. Postiz can also be self-hosted. For head-to-heads, see Ayrshare vs Zernio and Ayrshare vs Upload-Post.
Where apublished fits
apublished covers four platforms only: TikTok, YouTube, Instagram and Facebook. If you need LinkedIn, X, Pinterest or Threads, pick another provider from the table. What it focuses on instead:
- Validation before send.
POST /v1/posts:validatehas no side effects and returns each violation with the actual and allowed value. - Idempotency. Every write takes an Idempotency-Key; the same key and body return the original response instead of a second post.
- Platform rules as schema.
GET /v1/capabilities/{platform}returns each platform's limits and required settings, such as TikTok's privacy level or YouTube's made-for-kids flag. - An approval mode. A key with write but not publish can draft and schedule, never publish immediately.
- Docs for agents. OpenAPI 3.1 at
/v1/openapi.json, and plain Markdown at/llms.txt.
A scheduled post, as documented:
curl -X POST https://apublished.com/v1/posts \
-H "Authorization: Bearer $KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"body": { "items": [{ "text": "Hello" }] },
"targets": [{ "channelId": "…", "settings": { } }],
"scheduleMode": "AT",
"scheduledAt": "2026-09-01T09:00:00Z"
}'
One target per connected account. "scheduleMode": "NEXT_SLOT" uses the account's next free slot instead of a fixed time.
What it does not do: connect an account without a person (the connect call returns a link someone opens), reply to comments, or manage ads. Prices are in Swiss francs (CHF 19, 49 or 129 a month), with a 7-day free trial and no free plan, which makes it a poor fit if you need a free tier to start.
Which route, then?
- Building a product around one platform: go direct.
- Posting to several platforms as a feature: use a unified API.
- Need many networks cheaply: look at Zernio, Upload-Post or Buffer.
- Video to the big four, with validation first: apublished.
- Driving it from an AI assistant rather than code: see social media MCP servers.
FAQ
What is the best social media API? The one that covers your platforms at your volume. Start with the platform list, then the pricing unit.
Is there a free social media posting API? Each platform's own API is free. Upload-Post, Zernio and Buffer have free tiers with API access, per their pages.
What is a social media scheduling API? An API that accepts a time and sends the post then. TikTok's and Instagram's own APIs cannot schedule, so the provider holds the post.
Do I still need my own app review with a unified API? No. The provider's app is the one that was reviewed.
Sources
- TikTok, Google and Meta developer documentation, checked October 2026.
- Provider pricing and docs pages, as dated in the table.
Published November 11, 2026