TrackMedia API

A social media API with everything the dashboard can do

Publish to 22 networks from your own product or scripts. The typed SDK, the CLI and the REST API get every feature in the same release as the dashboard.

  • 14-day free trial
  • No card required
  • Plans from $8.25 a month
import { TrackMedia } from '@trackmedia/sdk';

const tm = new TrackMedia({ apiKey: 'tmk_…' });
const accounts = await tm.accounts.list();

const post = await tm.posts.create({
  content: { text: 'Shipping the new scheduler today.' },
  targets: accounts.items.map((a) => ({ accountId: a.id })),
  scheduledAt: '2026-10-06T09:00:00.000Z',
  timezone: 'Europe/London',
});
Full parityIf the dashboard can do it, the API can do it, in the same release.
Safe to retryEvery write accepts an idempotency key, because people double-click and scripts retry.
Dry runsValidate a post against every network's rules from the CLI before anything is created.

Building on 22 network APIs is a full-time job

Every API is different

Each network has its own auth, media upload, limits and error codes.

Tokens expire quietly

A login that lapses on a Friday breaks publishing until someone notices.

Retries that double-post

A timeout and a retry can publish the same post twice.

TrackMedia gives you one API for all 22 networks, warns you before logins expire and makes every write safe to retry.

Webhooks for every change

Signed webhooks tell your systems when a post publishes, fails or is retried, and when an account's login is about to expire.

  • post.published and post.target.published
  • account.token_expiring, 7 days ahead
  • A signature on every delivery

Who uses api and cli

SaaS teams

Let your users publish to social networks from inside your product.

Developers

Post release notes from CI with the CLI, with a dry run on every pull request.

Agent builders

Call the REST API from an agent that does not speak MCP.

How it works

  1. 1Create an API key

    Under Settings, API keys, with the scopes you need.

  2. 2Install the SDK or CLI

    @trackmedia/sdk for TypeScript, or the trackmedia command.

  3. 3Send your first post

    Try it with --dry-run, then schedule it for real.

Send your first post from code

Create a key during your free trial and publish with a dry run first.

Get an API key, 14 days free14 days free, no card required. 7-day refund on paid plans.

API and CLI is in every plan

No feature is held back for a higher plan. Pick one by how many accounts you run.

All 22 networks on every plan · 7-day refund on paid plans · Compare plans

Questions about api and cli

Is the API included in every plan?

Yes, with unlimited API keys and webhook endpoints on every plan and during the free trial.

Is there an SDK?

Yes, a typed TypeScript SDK, published as @trackmedia/sdk.

How do I avoid double posts on retry?

Send an idempotency key with each write. A retried request with the same key returns the first result instead of creating a second post.

Can I white-label TrackMedia with the API?

Yes, on the 100-, 150- and 200-account Agency sizes: build your own branded app or client portal on the API and serve your clients from it under your brand. White-label unlocks three things through the API: your own sign-in for clients (OAuth app clients, so clients connect their workspace through your app), client connect links made from your app, and client invites sent from your app. Every plan, Creator and Agency 50 included, can use the API, SDK, CLI and MCP server to run its own social media accounts. The TrackMedia dashboard itself is not rebranded.

Can AI agents use the API?

Yes. Agents that speak MCP can use the MCP server instead, which wraps the same API.

Distribute everywhere. Track every click.

Try the Agency plan free for 14 days. Then pick Creator for $99 a year with 15 accounts, or Agency from $299 a year with 50 to 200. Prefer monthly? That works too.

14 days free · No card required Every network in every plan Plans from $99 a year