Node.js SDK

Social media SDK
for Node.js

Post, schedule, reply and report on 13 platforms from Node.js or TypeScript, with zero dependencies and full types.

Install in one lineFrom npm, for Node 18 or later. The source is on GitHub under MIT.npm install @omnisocials/sdk
Zero dependenciesBuilt on native fetch (Node 18+). Nothing else lands in your node_modules, and both ESM and CommonJS builds ship in the box.native fetch
Typed end to endFull TypeScript types for every request body and response envelope, including platform-specific options like X threads and Bluesky posts.TypeScript types

Fits the Node.js stack you use

The same client in Express, Next.js, NestJS, Fastify, Hono and Bun. Each example schedules a post from your own code.

Express~/released
1import express from 'express';
2import { OmniSocials } from '@omnisocials/sdk';
3
4const client = new OmniSocials(); // reads OMNISOCIALS_API_KEY from env
5const app = express();
6app.use(express.json());
7
8app.post('/launch', async (req, res) => {
9 const post = await client.posts.create({
10 content: req.body.content,
11 channels: ['instagram', 'linkedin', 'x'],
12 scheduled_at: '2026-11-03T09:00:00Z',
13 });
14 res.json(post.data);
15});
16
17app.listen(3000);

One client for the whole API

Posts, media, the inbox, analytics and webhooks sit on the same client, with the same names in every language.

Retries, errors and webhook checks built in

All eight follow one design. They retry what fails for a moment, raise a clear error for the rest and check every webhook signature.

Automatic retriesRate limits, server errors and dropped connections retry with backoff. Retry-After is respected.2 retries by default
Errors you can catchOne class per failure: authentication, validation, not found, rate limit, server and connection.RateLimitError
Timeouts you setSet the timeout, the retry count and the base URL per client. The defaults fit most apps.30 s per attempt
Webhook checksHMAC-SHA256 with a constant-time compare and a 5-minute replay window.verifyWebhookSignature()

The Node.js package

Released with the other seven SDKs from one changelog. Need another language? See all eight on the SDK page.

All SDKs
Package
@omnisocials/sdk
Install
Version
0.9.0Released Oct 5, 2026
Requires
Node 18 or later
Dependencies
Zero dependencies (native fetch)
Client
new OmniSocials()
Responses
Typed (TypeScript)
Webhooks
verifyWebhookSignature()

Frequently
Asked Questions

Robert Ligthart
Robert LigthartFounder of OmniSocials
Ask me a question

Robert Ligthart
Still have a question?Ask Robert, the founder
Ask

Install it.Post today.

The SDKs, the API, the CLI and the MCP server come with every plan: $10 per seat per month, billed annually.