CLI + API for Social MediaRequest access

Post to social media from your terminal

  • One command per post, no model needed
  • Create, schedule, move and list posts from scripts
  • 13 networks: Instagram, LinkedIn, X, TikTok and more

Start with a 7-day trial for $0. API for Social Media is the social posting service that you drive from the terminal through the CLI. Keep a human in the loop for anything that matters.

The API for Social Media CLI publishes to 13 networks from a terminal, a script or a CI job. Agents that cannot use MCP can run it too. The CLI is available on request.

1

Install and sign in

Install the CLI and sign in once. On a server, set your API key as an environment variable instead.

npm install -g apiforsocialmedia
apiforsocialmedia login
2

Create a post

apiforsocialmedia posts create --text "Hello from the terminal" --channels linkedin,x

Add --at with a date and time to schedule it.

One connection powers every channel you run

Connect your social accounts in API for Social Media once. The CLI can then reach all of them.

1

One command per post

Pass the text, the media and the channels as flags. The CLI answers with the post and its status on each channel.

2

13 networks

One connection reaches Instagram, Facebook, TikTok, LinkedIn, X and eight more.

3

Connect once

Add API for Social Media one time. Every channel you connected in API for Social Media is ready to use straight away.

4

Plan and schedule ahead

Ask for one post or a whole month. Every post gets its own date and time.

5

Image, video and carousel

Attach a photo, a video or several slides. API for Social Media sends the format each network expects.

6

Stays in your account

Posts go only to the channels you connected, and you can move or delete any post before it goes out.

Social Media Data API

See what works before you post

Both plans include the Social Media Data API. your agent can pull what people say about your brand and which competitor posts win, so it knows what works before it posts.

How the Data API works »

Commands you will use most

The commands are short on purpose.

One post, three networks

apiforsocialmedia posts create \ --text "Our new feature is live today" \ --media banner.png \ --at "2026-12-01T09:00" \ --channels linkedin,x,threads

See what is queued

apiforsocialmedia posts list --status scheduled

Move a post

apiforsocialmedia posts move post_123 --at "2026-12-02T10:00"

List your channels

apiforsocialmedia channels list

How much does it cost?

Start with a 7-day trial for $0. After that the API and the MCP server are part of both plans, from $19 a month. The CLI is available on request.

See pricing »

How is access secured?

You sign in to API for Social Media or use an API key that you can revoke at any time. API for Social Media never shows your social passwords to an agent.

Which plan do I need?

Starter covers publishing on all 13 networks and 50 Data API credits a month. Pro doubles the channels, gives you 150 credits and adds post recreation.

Compare the plans »

Frequently asked questions

How do I connect API for Social Media to the CLI?

Install the CLI and sign in once. On a server, set your API key as an environment variable instead.

What can the CLI do with API for Social Media?

It can list your channels, create and schedule posts with text, images and video, move or delete a post that has not gone out and check how a post did.

When should I use the CLI and not the MCP server?

Use the MCP server when an AI agent decides what to post. Use the CLI when a script or a CI job should post without a model in between.

Can an AI agent use the CLI?

Yes. An agent that can run shell commands can call the CLI, which helps with agents that do not support MCP.

Which networks can the CLI post to?

Instagram, Facebook, TikTok, Reddit, LinkedIn, X, Snapchat, YouTube, Threads, Bluesky, Telegram, Pinterest and Google Business Profile.

Can posts go out while I am away?

Yes. Give a date and a time and API for Social Media sends the post then, even when your computer is off.

Is it included in my plan?

Yes. The API and the MCP server are part of both plans. The CLI is available on request. Both start with a 7-day trial for $0, then cost from $19 a month. See pricing.

Let your agent run your social media

API for Social Media opens soon. Leave your email and we will let you know when you can connect your channels.

We will email you when API for Social Media opens. No spam. Privacy Policy