One API for posting + ads, on official platform APIsRead the docs

Ship posting and ads in days, for humans and agents

One API to publish and run ads across X, LinkedIn, Instagram, Meta, Google and more — driven by your app or an AI agent. Skip eight brittle integrations and get typed errors, idempotency, and dry-run on every write built in.

Call it from your frontend · dry-run every write · official APIs only

publish.ts
import { createPostrunClient, unwrap } from "@postrun/js";
const postrun = createPostrunClient({
getToken: () => process.env.POSTRUN_TOKEN!,
});
// Publish to X, LinkedIn & Instagram in one idempotent call
const post = unwrap(
await postrun.POST("/posts", {
headers: { "Idempotency-Key": "7f2c1a9e" },
body: {
profile_id: "prof_8sk2y",
variants: [
{ platform: "x", content: "Launch day." },
{ platform: "linkedin", media: ["med_3f9a"] },
{ platform: "instagram", media: ["med_b21c"] },
],
},
}),
);

One API for every network — posting and ads, on official platform APIs

Why Postrun

Less plumbing. Safer automation.

Postrun handles the parts that make social and ads automation painful — the integrations, the retries, the failure handling, the guardrails — so you ship features instead of maintaining them.

Know exactly what failed

Every error is a typed code you can branch on, on a standard RFC 9457 body — so you handle failures instead of guessing at a silent 500.

Retry without fear

Send an Idempotency-Key and a retry returns the original result — so a flaky network never turns into a double-post or a double charge.

Let agents touch budget, with guardrails

Dry-run every change before it goes live and keep a full audit trail of every money-moving ad call on Google Ads and Meta Ads — so automated changes are previewable and traceable.

Know the moment it goes live

Delivery webhooks and typed status tell you what published or failed — so you stop polling and your users see the truth.

Ship without a backend

Mint scoped tokens and call Postrun straight from the browser — so you build the whole feature without standing up a proxy or a database.

Drop in an AI agent

Every endpoint is also an MCP tool with dry-run — so an agent can post and run ads on official APIs, with the same guardrails you get.

Trust & safety

Built on the platforms' official APIs

Letting code — or an AI agent — post and spend on your accounts should be deliberate. Every action runs through the platforms’ official APIs, with dry-run and a full audit trail.
Official APIs only
Every call goes through the platform’s sanctioned API — no scraping, no unsanctioned automation.
Dry-run before it’s real
Preview any write and see the effect before it happens — nothing touches a live account until you commit it.
Every action audit-logged
Who, what, when — and the dry-run that preceded it. Nothing your app or an agent does happens off the record.
Encrypted on trusted infra
TLS in transit and encryption at rest, running on SOC 2 / ISO 27001 infrastructure (Vercel, Supabase, AWS).
Your data, deletable
A published privacy policy and a real deletion path — remove a profile and its stored data goes with it.
Pricing

Per client, not per seat

One profile = one client workspace, up to one connected account per platform. Everything included — no add-ons, no feature gates, ever.

Builder

For indie builders shipping their first integration.

$29/mo

3 profiles included

Start building
  • Posting + ads on every platform
  • Idempotency + typed errors
  • Scoped frontend tokens
  • Community support

Startup

Recommended

For teams running products or clients at scale.

$99/mo

15 profiles included

Start building
  • Everything in Builder
  • Guarded ad writes + audit log
  • Webhooks + delivery status
  • Email support

Scale

For agencies managing many client workspaces.

$299/mo

60 profiles, then $4 each

Start building
  • Everything in Startup
  • Higher rate limits
  • Usage analytics
  • Priority support

Enterprise

For platforms embedding Postrun for their own users.

Custom

Unlimited profiles

Contact us
  • Everything in Scale
  • SSO + custom terms
  • SLA + dedicated support
  • Solutions engineering

Ads included up to $10k/mo managed spend per profile, then 0.5% (capped $199/mo). 30-day trial, card required. Annual billing saves two months.

Build your first integration today

Get a key and publish your first post in minutes — straight from your frontend, on official APIs. 30-day trial, card required.