Bulkpublish README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Bulkpublish listing page.

BulkPublish Logo

BulkPublish API

The free social media API built for automation, AI agents, and LLMs.

License 15 Platforms MCP Server PyPI npm

Facebook Instagram X / Twitter TikTok YouTube Threads Bluesky Pinterest Google Business LinkedIn Mastodon Discord Telegram Tumblr Snapchat

Get Started » · API Docs · Website · MCP Server


BulkPublish Multi-Platform Composer

Programmatically publish to 15 platforms from a single API call. Built for developers, AI agents, LLMs, and agentic workflows that need reliable social media automation without browser sessions or manual interaction.

server.ts
from bulkpublish import BulkPublish

bp = BulkPublish("bp_your_key_here")
bp.posts.create(
    content="Launching our new product today!",
    channels=[{"channelId": 1, "platform": "x"}, {"channelId": 2, "platform": "linkedin"}],
    status="scheduled",
    scheduled_at="2026-04-10T09:00:00Z",
)

Why BulkPublish?

Most social media tools are built for humans clicking buttons. BulkPublish is built for code — whether that code is written by a developer, an AI agent, an LLM with tool use, or an autonomous workflow.

  • Headless by design — No browser, no UI, no OAuth pop-ups at runtime. Connect accounts once in the dashboard, then automate everything via API.
  • AI-native — MCP server for Claude, tool definitions for GPT and LangChain, structured JSON responses that LLMs parse reliably.
  • Agentic-ready — Deterministic API with clear error codes. AI agents can create posts, check status, retry failures, and read analytics autonomously.
  • 15 platforms, one endpoint — Facebook, Instagram, X/Twitter, TikTok, YouTube, Threads, Bluesky, Pinterest, Google Business Profile, LinkedIn, Mastodon, Discord, Telegram, Tumblr, Snapchat.

Use Cases

  • AI social media managers — Let Claude, GPT, or custom agents schedule and publish posts autonomously
  • Content pipelines — RSS-to-social, blog-to-social, newsletter-to-social automation
  • Bulk scheduling — Upload a CSV or feed a content calendar and schedule weeks of posts programmatically
  • Cross-platform syndication — Publish once to all platforms with per-platform content optimization
  • Analytics dashboards — Pull engagement data into your own tools, spreadsheets, or AI analysis
  • Zapier/n8n/Make alternatives — Direct API access without middleware, lower latency, more control
  • LLM-powered content creation — Generate content with AI, publish it with BulkPublish, track performance, iterate

Quick Start

1. Sign up

Create a free account at app.bulkpublish.com.

2. Get your API key

Go to Settings > Developer in the dashboard and create an API key. Keys start with bp_ and are shown only once — save it securely.

3. Connect platforms

Connect your social accounts in the dashboard under Channels. The API uses your connected channels to publish.

4. Install an SDK

Python

Terminal
pip install bulkpublish

Node.js

Terminal
npm install bulkpublish

Homebrew (macOS/Linux)

bash
brew tap azeemkafridi/bulkpublish && brew install bulkpublish

Or call the REST API directly with curl, fetch, requests, or any HTTP client.

5. Make your first API call

Terminal
curl -X POST https://app.bulkpublish.com/api/posts \
  -H "Authorization: Bearer bp_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Hello from the BulkPublish API!",
    "channels": [{"channelId": 1, "platform": "linkedin"}],
    "status": "draft"
  }'

AI Agent Integration

MCP Server (Claude, Cursor, Windsurf, Claude Code)

BulkPublish ships an MCP server so AI assistants can manage your social media directly:

config.json
{
  "mcpServers": {
    "bulkpublish": {
      "command": "npx",
      "args": ["-y", "@bulkpublish/mcp-server"],
      "env": {
        "BULKPUBLISH_API_KEY": "bp_your_key_here"
      }
    }
  }
}

91 tools in the local (stdio) server: create_post, list_channels, upload_media, get_analytics, get_engagement_analytics, get_best_times, the interactive compose_post composer (MCP Apps), and more. The hosted server at https://mcp.bulkpublish.com/mcp (OAuth 2.1) serves the 55-tool inbox profile: channels, posts, media, analytics (including best times to post, post metric history and link clicks), labels, approvals, repeat posts, the interactive panels, and the Inbox (direct messages, reviews, comments and mentions, with team notes, labels and saved replies). https://mcp.bulkpublish.com/mcp/full serves every tool. See mcp-server/README.md.

Social Media Content Skills

BulkPublish includes a skill library for AI agents to plan, adapt, review, schedule, publish and fix social media content: Social Media Content Skills for the full tool set, and core-profile skills for the hosted connector. Both are generated from skills/src.

LLM Tool Use / Function Calling

Ready-made tool definitions for autonomous AI agents:

All examples are complete, runnable scripts with error handling.

Code Examples

Create a Post

PythonNode.js
server.ts
from bulkpublish import BulkPublish

bp = BulkPublish("bp_your_key_here")

post = bp.posts.create(
    content="Check out our latest update!",
    channels=[
        {"channelId": 1, "platform": "facebook"},
        {"channelId": 2, "platform": "x"},
        {"channelId": 3, "platform": "linkedin"},
    ],
    status="draft",
)
server.ts
import { BulkPublish } from 'bulkpublish';

const bp = new BulkPublish({ apiKey: 'bp_your_key_here' });

const post = await bp.posts.create({
  content: 'Check out our latest update!',
  channels: [
    { channelId: 1, platform: 'facebook' },
    { channelId: 2, platform: 'x' },
    { channelId: 3, platform: 'linkedin' },
  ],
  status: 'draft',
});

Schedule a Post

python
post = bp.posts.create(
    content="This will go out tomorrow morning.",
    channels=[{"channelId": 1, "platform": "instagram"}],
    status="scheduled",
    scheduled_at="2026-04-10T09:00:00Z",
    timezone="America/New_York",
)

Upload Media and Publish

python
media = bp.media.upload("./product-photo.jpg")

post = bp.posts.create(
    content="Our newest product is here.",
    channels=[{"channelId": 1, "platform": "instagram"}],
    media_files=[media["file"]["id"]],
    status="scheduled",
    scheduled_at="2026-04-10T12:00:00Z",
)

Automation Example: Bulk Schedule from CSV

server.ts
import csv
from bulkpublish import BulkPublish

bp = BulkPublish("bp_your_key_here")
channels = bp.channels.list()["channels"]

with open("content-calendar.csv") as f:
    for row in csv.DictReader(f):
        bp.posts.create(
            content=row["content"],
            channels=[{"channelId": ch["id"], "platform": ch["platform"]} for ch in channels],
            status="scheduled",
            scheduled_at=row["scheduled_at"],
            timezone="America/New_York",
        )

More examples in examples/ — including Python automation scripts, Node.js examples, curl reference, and AI agent integrations.

Features

  • 15 platforms — Facebook, Instagram, X/Twitter, TikTok, YouTube, Threads, Bluesky, Pinterest, Google Business Profile, LinkedIn, Mastodon, Discord, Telegram, Tumblr, Snapchat
  • Scheduling — Schedule posts for any future time with timezone support, or let queue slots pick optimal times
  • Media uploads — Images (JPEG, PNG, WebP, GIF) up to 100 MB, and videos (MP4, MOV, WebM) up to 1 GB through resumable multipart uploads
  • Recurring schedules — Repeat posts daily, weekly, biweekly, or monthly at a set time of day
  • Analytics — Track impressions, likes, comments, shares, and engagement. Each platform reports a different subset of metrics, and the response says which (supportedMetrics / supportedTotals) so a 0 is never mistaken for a measurement — see Metrics by Platform
  • Link tracking — Opt in per organization, or per post via linkTrackingOverride, to rewrite links through bulkpubli.sh and count the clicks. Reported as linkClicks / totalLinkClicks and measured by BulkPublish rather than the platform, so it works even where the platform reports nothing — see Character Limits
  • Labels — Organize posts and media with color-coded labels
  • Hashtag groups — Save sets of hashtags and drop them into a post in one call
  • Templates — Save post text, and optionally a post setup (channels, format, post types, media, per-platform media and text), and start new posts from it
  • Per-platform media — Attach several files and choose which ones each platform publishes with platformMediaFileIds — see Per-Platform Media
  • Review links — Share a read-only page of a post with someone who has no account
  • Calendar notes — Pin campaigns, holidays and reminders to calendar days
  • Inbox and comments — Read and answer direct messages, reviews, comment threads and mentions, with team notes, labels and saved replies (Pro and Business plans) — see the Inbox guide
  • Approvals — Hold a post for review before it publishes; a pending or rejected post never goes out
  • Best times — The weekdays and hours that get your account the most engagement, from your own posts
  • Client connect links — A one-time link a client opens to connect their own account, no BulkPublish account needed
  • Read-only API keys — Keys for reports, dashboards and agents that should only look — see Authentication
  • OAuth 2.1 — Sign-in for apps and MCP clients, so a user authorizes access without pasting a key into every tool
  • Bulk operations — Delete or retry multiple posts in a single request
  • Threads — Multi-part thread posts for X, Threads, Bluesky, and Mastodon
  • Auto first comment — Automatically add a comment after publishing, on Facebook, Instagram, X, YouTube, Threads, Bluesky, LinkedIn, Mastodon and Telegram
  • All post types — Reels, Stories, Carousels, Threads, Shorts, Video — set per-platform via postTypeOverrides
  • Per-platform content — Customize text and options per platform in a single post
  • Platform-specific options — Instagram collaborators, TikTok privacy, YouTube categories, Pinterest boards, and more

API Reference

Full interactive API documentation: app.bulkpublish.com/docs

Base URL

Code
https://app.bulkpublish.com

Authentication

Code
Authorization: Bearer bp_your_key_here

Core Endpoints

MethodEndpointDescription
POST/api/postsCreate a post (draft, scheduled, or immediate)
GET/api/postsList posts (paginated, filterable by status/date/channel/label)
GET/api/posts/:idGet a post with platform statuses and metrics
PUT/api/posts/:idUpdate a draft or scheduled post
DELETE/api/posts/:idDelete a post
POST/api/posts/:id/publishPublish a draft immediately
POST/api/posts/:id/retryRetry failed platforms
POST/api/posts/:id/approveApprove a post awaiting team approval (roles with post:approve)
POST/api/posts/:id/rejectReject a pending post back to draft, with an optional reason
POST/api/posts/bulkBulk delete, retry or reschedule (up to 100 posts per request)
GET/api/channelsList connected social media channels
GET/api/channels/:id/healthCheck channel token health
GET/api/channels/:id/optionsGet platform options (Pinterest boards, YouTube playlists, Tumblr blogs, Discord channels, Threads ?q= place search, Instagram music for Reels: trending or ?q= search)
GET/api/channels/:id/mentionsSearch accounts for @mention (X, Bluesky, Mastodon, LinkedIn Pages — LinkedIn results are @[Name](urn:li:organization:ID) tokens plus the vanityName slug they matched on)
GET/POST/api/templatesSaved post templates (get/update/delete via /api/templates/:id)
GET/POST/api/calendar-notesNotes pinned to calendar days, ?from&to range (update/delete via /api/calendar-notes/:id)
POST/DELETE/api/posts/:id/shareCreate or revoke the post's read-only review link (/p/<token>)
GET/POST/api/hashtag-groupsSaved hashtag groups, 1-30 hashtags each (get/update/delete via /api/hashtag-groups/:id)
GET/POST/api/channel-setsSaved channel groups for one-click targeting (update/delete via /api/channel-sets/:id)
GET/POST/api/rss-feedsRSS/Atom autopost feeds — new items become posts (update/delete via /api/rss-feeds/:id)
POST/api/mediaUpload a media file (multipart form, up to 100MB)
POST/api/media/multipart/createStart a chunked upload for large media (videos up to 1GB, 10MB parts)
POST/api/media/multipart/completeAssemble uploaded parts and record the media file
GET/api/mediaList uploaded media
GET/api/analytics/summaryAnalytics summary for a date range
GET/api/analytics/engagementEngagement totals, per-day / per-platform / per-channel breakdowns, ranked and full post lists — filterable by channels, platforms, labels, format and media type; compare=1 adds the previous period, bestTimes=1 the best weekdays and hours, vsMedian=1 each post against its account's usual
GET/api/analytics/post-historyEvery stored metrics snapshot for one post, per platform (trend since publish)
GET/api/analytics/linksTracked bulkpubli.sh links with click counts
POST/api/schedulesCreate a recurring schedule
GET/api/quotas/usageCheck current plan limits and usage
GET/api/inbox/conversationsInbox: direct messages, reviews, comment threads and mentions, with filters (including Inbox labels) and cursor paging (Pro and Business)
GET/POST/api/inbox/conversations/:id/messagesRead a conversation, or send a reply to the person on the platform
PATCH/api/inbox/conversations/:idMark read, archive, snooze or assign a conversation
POST/api/inbox/conversations/:id/notesLeave an internal note for the team (never sent)
PUT/api/inbox/conversations/:id/labelsSet a conversation's Inbox labels
GET/POST/api/inbox/saved-repliesList or create saved replies
PUT/DELETE/api/inbox/saved-replies/:idUpdate or delete a saved reply
GET/api/posts/:id/engagementComments and reactions on a published post, per channel
POST/api/posts/:id/comments/replyReply to a comment on a published post
POST/api/posts/:id/comments/moderateLike, unlike, hide, unhide or delete a comment

See the OpenAPI spec for the complete endpoint list.

Supported Platforms

PlatformPost TypesMedia
FacebookPost, Reel, StoryImages, Videos
InstagramFeed, Reel, Story, CarouselImages (JPEG), Videos (MP4, MOV)
X / TwitterTweet, ThreadImages, Videos, GIFs
TikTokVideo, Photo SlideshowVideos (MP4, MOV), Images
YouTubeVideo, ShortVideos (MP4, MOV, WebM, AVI, WMV, FLV)
ThreadsPost, Thread, Quote PostImages, Videos
BlueskyPost, ThreadImages
PinterestPin, Video Pin, CarouselImages, Videos
Google Business ProfilePost, Event, OfferImages
LinkedInPost, Multi-image, PDF Carousel, Article, Document, Poll, ReshareImages (JPEG, PNG, GIF), Videos (MP4), Documents (PDF, Word, PowerPoint)
MastodonPost, ThreadImages, Videos
TumblrPostImages, Videos
DiscordPostImages, Videos
TelegramPostImages, Videos
SnapchatStory, Saved Story, SpotlightExactly 1 image (JPG, PNG) or video (MP4, MOV, vertical, max 1GB; story video 5–60s, Spotlight 6–60s)

SDKs

Python

Terminal
pip install bulkpublish

Supports sync and async. Rich docstrings on every method for IDE and LLM consumption.

Node.js / TypeScript

Terminal
npm install bulkpublish

Full TypeScript types, zero dependencies, native fetch (Node 18+).

Homebrew (macOS/Linux)

bash
brew tap azeemkafridi/bulkpublish && brew install bulkpublish

Installs the Node SDK via Homebrew.

REST API

No SDK needed — any HTTP client works:

Terminal
curl https://app.bulkpublish.com/api/channels \
  -H "Authorization: Bearer bp_your_key_here"

Rate Limits

LimitFreeProBusiness
Writes/min606060
Reads/min300300300
Daily API requests105,00050,000
API keys1510
Recurring schedules—10Unlimited

The Lifetime plan allows 1,000 API requests a day, 2 API keys and 3 recurring schedules.

See the rate limits guide for headers, backoff strategies, and best practices.

Guides

Integrations

PlatformPackageInstall
ZapierBulkPublish on ZapierSearch "BulkPublish" in Zapier
n8nn8n-nodes-bulkpublishSettings > Community Nodes > n8n-nodes-bulkpublish
Homebrewhomebrew-bulkpublishbrew tap azeemkafridi/bulkpublish && brew install bulkpublish

Links

ResourceURL
Dashboardapp.bulkpublish.com
API Docsapp.bulkpublish.com/docs
Websitebulkpublish.com
Emailsupport@bulkpublish.com

License

MIT