What is a social media API?
A social media API is the programming interface a platform offers so that other software can read from or publish to accounts without a person using the app. Scheduling tools, analytics dashboards and AI agents all work through these APIs. Each platform decides what its API allows, which permissions an app needs and how many calls it may make.
Also called: Social API, Unified social media API
Social media API on each platform
TikTok
- Until TikTok audits an API client, everything it posts through the Direct Post API is visible only to the creator, and it can post for at most 5 users in a 24-hour window. Passing the audit lifts these limits.
Instagram
- The Instagram API publishes only to professional accounts. Media must sit on a public server for Meta to fetch, and JPEG is the only image format it accepts.
Threads
- A Threads app needs advanced access to the threads_content_publish permission to post for anyone. Before approval it can only post for the Threads testers added to the app.
One API per platform or one API for all
Building directly on each platform means a developer app per network, an app review, token refresh and different media rules for each. A unified API wraps those behind one set of endpoints and one key, so one request can post to several networks. You trade some platform-specific control for far less upkeep, so check that the unified API exposes the settings you need.
Frequently asked questions
Is there one API that posts to every social network?
Unified social media APIs exist. The PublishQ REST API, for example, creates and schedules posts for YouTube, TikTok, Instagram, X, LinkedIn, Facebook, Threads and Bluesky in one request, with an SDK, a CLI and an MCP server built on it.
What permission does an app need to post to Instagram?
It needs instagram_content_publish or instagram_business_content_publish, depending on the login it uses, and it can only publish to Instagram professional accounts.
Why are my TikTok API posts private?
Until TikTok audits your API client, everything it posts through the Direct Post API is restricted to private viewing. Passing the audit lifts that restriction.
Related terms
- MCP serverAn MCP server is a program that gives AI applications access to a service's tools and data through the Model Context Protocol, an open standard for connecting AI apps to external systems.
- AI agentAn AI agent is software built on a large language model that works toward a goal by choosing its own steps and using tools, such as web search, code or other apps' APIs, until the task is done.
- Social media management toolA social media management tool is software for running several social media accounts from one place.
- Social media schedulingSocial media scheduling is setting a post to publish automatically at a chosen date and time instead of posting it by hand.
Post to every platform from one place
Write a post once, adjust it per platform, and schedule it to YouTube, TikTok, X, LinkedIn, Instagram, Facebook, Threads and Bluesky with PublishQ.
Explore related
API & Developer Tools
Schedule posts, manage accounts, and upload media programmatically. Build your own integrations, automate workflows, or connect PublishQ to your existing tools.
Write Once, Post Everywhere
Write one post, add photos and watch it take shape for Facebook, Instagram, Threads and every other platform as you type. Then publish everywhere at once.
One social media API for every platform you post to
A REST API that publishes to Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Threads and Bluesky. One POST fans out, and the OpenAPI spec is public.
The social media SDK for agents and backends
Install @publishq/sdk for typed calls that publish to Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Threads and Bluesky from Node or your own agent.
The social media CLI for humans and AI agents
Install @publishq/cli, sign in through your browser and post from a shell. JSON output by default, one command per action, and PUBLISHQ_API_KEY for CI and cron.
The social media MCP server for AI agents
One MCP server gives any MCP client tools to list your connected social accounts, upload media, and publish or schedule posts.
Quick Start
Get started with the PublishQ API.
SDK
API reference for SDK.
CLI
API reference for CLI.
YouTube Upload API Without Google Cloud: 3 curl Calls
Upload videos to YouTube through an API in three curl calls, with no Google Cloud project, OAuth consent screen, app verification or quota audit.