AI Agents API LibrarySocial media

Social media APIs and MCP servers for AI agents

Read and publish posts, comments and videos on social platforms.

10 social media APIs an AI agent can call: auth method and header, official MCP server (3), free tier (7), docs links. Machine-readable JSON included. Agents: fetch catalog/social-media.json instead of parsing this page. Last checked 2026-11-04.

Ratings and usage (★) fetched: .

ServiceWhat an agent can doAuthMCP serverFree tierDetails (with sources)NotesProof (ratings, usage)
AyrshareUnified API to post, schedule, and analyze content across 14+ social networks (X, Instagram, LinkedIn, TikTok, etc.) with one API key.API key
Authorization: Bearer <API_KEY>; since 2026-03-31 X/Twitter requests also need X-Twitter-OAuth1-Api-Key and X-Twitter-OAuth1-Api-Secret headers
officialTrial: one-time 28-day free trial of the Launch plan ($299/mo), no card required; Premium from $149/moBase URL: https://api.ayrshare.com/api
Free plan: 28-day free trial of the Launch plan, one-time, no card ↗
Example call: publish a post to connected social networks: POST https://api.ayrshare.com/api/post ↗
Ayrshare itself holds the underlying per-platform app approvals, so agents avoid individually applying for X/Meta/TikTok developer access. Hosted MCP action server at https://api.ayrshare.com/mcp (Streamable HTTP, 27 tools).
Bluesky / AT ProtocolPost, read, and moderate content on Bluesky via the open, self-hostable AT Protocol REST/XRPC API.OAuth 2.0
Authorization: Bearer <session/OAuth2 token> (legacy app passwords also supported)
—free, no key needed for public reads; free account required for postingBase URL: https://public.api.bsky.app/xrpc
Free plan: no_key, no card ↗
Rate limits: PDS: 3,000 requests/5 min per IP; writes 5,000 points/hour and 35,000/day per account (create=3 pts) ↗
Example call: create a post (accessJwt from com.atproto.server.createSession): POST {pds_host}/xrpc/com.atproto.repo.createRecord ↗
MCP tools: 8: get-timeline-posts, get-profile, get-post-thread, search-posts, search-people, create-post … ↗
Decentralized protocol; official OAuth2 is replacing legacy app passwords as the recommended auth method.
LinkedIn APISign users in and share basic posts via OAuth2/OpenID Connect; most other endpoints require partner approval.OAuth 2.0
Authorization: Bearer <OAuth2 token>
—check pricing — most scopes require LinkedIn Partner Program approvalBase URL: https://api.linkedin.com/v2
Rate limits: Daily per-app and per-member limits (reset midnight UTC), shown in Developer Portal; Share on LinkedIn: 150/member, 100,000/app per day ↗
OAuth scopes: w_member_social ↗
Example call: create a text share (post) as the member: POST https://api.linkedin.com/v2/ugcPosts ↗
LinkedIn API access is heavily gated; only a narrow self-serve subset (Sign In with LinkedIn/OpenID Connect, basic Share on LinkedIn) is available without applying to a partner program (Marketing, Sales, Talent, Learning solutions).
Mastodon APIPost statuses, read timelines, and manage accounts on any Mastodon instance via REST API.OAuth 2.0
Authorization: Bearer <OAuth2 token>
—Free: register an app per instance at no cost; default limit 300 requests per 5 minutes per accountBase URL: https://mastodon.example/api/v1
Free plan: 300 requests/5 min per account (default) ↗
Rate limits: Default 300 requests per 5 minutes per account and per IP; media uploads 30 per 30 minutes ↗
OAuth scopes: read, write, push, profile ↗
Example call: post a new status: POST {instance}/api/v1/statuses ↗
Decentralized: each Mastodon instance is its own API endpoint; app registration is per-instance and free.
Meta Graph API (Facebook, Instagram)Read and publish posts, manage Pages, and access Instagram business content via Meta's Graph API.OAuth 2.0
access_token=<token> query param or Authorization: Bearer <token>
officialFree: no fee; platform rate limit 200 calls/hour x app users; most non-trivial permissions need Meta App Review and business verificationBase URL: https://graph.facebook.com/v{version}
Free plan: 200 calls/hour x number of app users (app-token platform limit) ↗
Rate limits: Platform limit: calls per hour = 200 x number of daily active users; BUC limits for Marketing/Pages APIs ↗
Example call: publish a post to a Facebook Page: POST https://graph.facebook.com/v25.0/{page_id}/feed ↗
Most useful permissions (posting, Instagram content, insights) require Meta App Review; basic/dev-mode access is limited to admins/testers. The official MCP covers ads, catalogs and reporting only, not organic posting.
Pinterest APICreate pins and boards and read analytics data on Pinterest via REST API v5.OAuth 2.0
Authorization: Bearer <OAuth2 token>
—Free: new apps get Trial access (1,000 requests/day); Standard access (100 req/s per user per app) requires app reviewBase URL: https://api.pinterest.com/v5
Free plan: Trial access: 1,000 requests/day; Standard access (after review): 100 requests/s per user per app ↗
Rate limits: Trial access: 1,000 requests/day; Standard access: 100 requests/sec per user per app, plus per-category per-minute limits ↗
OAuth scopes: boards:read, pins:read, pins:write, boards:write ↗
Example call: create a pin on a board: POST https://api.pinterest.com/v5/pins ↗
Reddit APIRead posts/comments and submit posts, comments, or votes on Reddit via OAuth2 REST API.OAuth 2.0
Authorization: Bearer <OAuth2 token>
—Free: Data API usable within Reddit's rate limits under the Data API Terms; commercial use or research above rate limits needs a separate agreement with RedditBase URL: https://oauth.reddit.com
Free plan: free_tier ↗
OAuth scopes: identity, read, submit, history, vote ↗
Example call: submit a self (text) post to a subreddit: POST https://oauth.reddit.com/api/submit ↗
Since 2023, commercial/high-volume access requires a separate paid Reddit Data API agreement.
TikTok APIPost videos/drafts and query content on TikTok via the Content Posting and Display OAuth2 REST APIs.OAuth 2.0
Authorization: Bearer <OAuth2 token>
—Free: no fee; default 600 requests/min per endpoint; app review needed for production, unaudited clients post private-onlyBase URL: https://open.tiktokapis.com/v2
Free plan: 600 requests/min per endpoint (user info, video query/list) ↗
Rate limits: Default 600 requests/min (sliding window) for /v2/user/info/, /v2/video/query/, /v2/video/list/ ↗
Async jobs: Content Posting returns publish_id; poll the publish status fetch endpoint ↗
OAuth scopes: video.publish ↗
Example call: initialize a direct video post: POST https://open.tiktokapis.com/v2/post/publish/video/init/ ↗
Apps must pass TikTok's review process before production/unaudited-client-mode access is granted.
X (Twitter) APIPost, search, and read tweets and manage X (Twitter) content via REST API v2.API key / OAuth
Authorization: Bearer <App Bearer token or OAuth2 user token>
officialPaid only: pay-per-usage with prepaid credits (e.g. $0.005 per Post read, $0.001 per owned read), no subscriptions and no free tierBase URL: https://api.x.com/2
Free plan: none ↗
Example call: create a post: POST https://api.x.com/2/tweets ↗
Credits are deducted per request; pay-per-usage is capped at 3M Post reads per billing cycle, higher volumes need an Enterprise plan. The official xurl bridge (xdevplatform) handles OAuth for the MCP server.
YouTube Data APISearch videos, manage playlists/comments, and upload videos to YouTube via REST API.API key / OAuth
key=<API_KEY> for public reads; Authorization: Bearer <OAuth2 token> for writes/private data
—Free tier: 10,000 quota units/day plus separate caps of 100 search.list and 100 videos.insert calls/day (extendable on request)Base URL: https://www.googleapis.com/youtube/v3
Free plan: 10,000 units/day for most endpoints + 100 search.list and 100 videos.insert calls/day ↗
Rate limits: Default quota: 100 search.list calls, 100 videos.insert calls and 10,000 units/day for other endpoints; resets midnight PT ↗
OAuth scopes: https://www.googleapis.com/auth/youtube.readonly, https://www.googleapis.com/auth/youtube.upload, https://www.googleapis.com/auth/youtube.force-ssl ↗
Example call: search videos: GET https://www.googleapis.com/youtube/v3/search?part=snippet&q={query}&key={API_KEY} ↗
Daily quota of 10,000 units shared across most calls; search.list costs 1 unit from a separate Search Queries bucket capped at 100 calls/day.

Other categories