SocialAPI.ai

The social media API for n8n

SocialAPI.ai is a REST social media API you call from n8n with the HTTP Request node. Add your API key once as an n8n credential, then read comments, send DMs, publish posts, and reply to reviews across 13 networks inside any workflow, with no per-platform OAuth setup.

  • Free tier available
  • Instant API key
  • MCP server included

Use the HTTP Request node

JSON
// n8n HTTP Request node: read comments on a post
{
  "method": "GET",
  "url": "https://api.social-api.ai/v1/inbox/comments/{{$json.postId}}?account_id={{$json.accountId}}",
  "authentication": "genericCredentialType",
  "genericAuthType": "httpHeaderAuth"
  // Header credential: Authorization = Bearer sapi_key_...
}

// Second node: reply to a comment
{
  "method": "POST",
  "url": "https://api.social-api.ai/v1/inbox/comments/{{$json.postId}}",
  "body": {
    "account_id": "{{$json.accountId}}",
    "comment_id": "{{$json.id}}",
    "text": "Thanks for reaching out!"
  }
}

Add a header-auth credential with your API key, then point the HTTP Request node at any SocialAPI.ai endpoint. The same setup works for reading and for writing across every platform.

Why: n8n has no native node for every social network.

Wiring each platform into n8n means separate OAuth apps, custom rate-limit handling, and a different response shape per network before a workflow can do anything useful. SocialAPI.ai sits behind one HTTP Request node: authenticate once with a header credential and every network is reachable through the same endpoints with normalized JSON that n8n expressions can read directly.

Where it lands: One call, every network

The same request lands on each platform as that platform draws it.

  • On YouTube

    Comments

    • @maya.r2h ago

      Do these come in black?

      @ledge.skate1m ago

      Yes, black with a gum sole, sizes 36 to 46.

    • @jin.k5h ago

      Skated mine all weekend, the grip is unreal.

    POST/v1/inbox/comments/{postId}200 OK
  • On Facebook

    Anne M.

    Active now

    Anne M.

    Thu 6:42 PM

    Do you do fittings?

    Yes, every Saturday morning.

    9:12 AM
    ❤️

    Wore these out in a year. Anything tougher?

    You replied to Anne M.

    Wore these out in a year. Anything tougher?

    Double-stitched toe cap, sizes 36 to 46.

    Book a fittingSend sizes
    POST/v1/inbox/conversations/{id}/messages200 OK
  • On LinkedIn

    Ledge Skate & Shoe

    1,204 followers

    1m

    New white lows just landed. In store Saturday, all sizes.

    POST/v1/posts201 Created

Works across every connected network.

Capabilities: What the n8n Social Media API covers

Call one social media API from any n8n workflow.

  • HTTP Request node

    Call any endpoint from n8n with a single header-auth credential, no community node required.

    Authorization: Bearer sapi_key_…
  • Comments

    List, reply to, hide, and like comments across all connected platforms in a workflow.

    • GET/v1/inbox/comments/{postId}
    • POST/v1/inbox/comments/{postId}
  • Direct Messages

    Read conversations and send replies from a workflow step.

    • GET/v1/inbox/conversations
    • POST/v1/inbox/conversations/{id}/messages
  • Publishing

    Create and schedule posts across every network from one node.

    • POST/v1/posts
  • Webhooks

    Trigger an n8n workflow the moment a new comment, DM, or mention arrives.

    • comment.received
    • dm.received
    • mention.received

In depth: n8n Social Media API, in depth

No community node to install

SocialAPI.ai works with the built-in HTTP Request node, so there is nothing to install or self-host. Create a header-auth credential with your API key once, reuse it across every node, and you can call any social endpoint from any workflow.

One workflow, every network

Because the API normalizes Instagram, Facebook, TikTok, LinkedIn, YouTube, X, and Threads, a single workflow can fan out across all of them without branching logic per platform. The same request shape returns the same JSON, so your n8n expressions stay simple.

Trigger workflows on real-time events

Register a SocialAPI.ai webhook pointed at an n8n Webhook node and your workflow runs the moment a new comment, DM, mention, or review arrives. That turns n8n into a real-time social inbox automation instead of a polling job. See https://social-api.ai/blog/social-listening-webhooks.

Normalized JSON keeps mapping simple

Every endpoint returns the same field names regardless of platform, so you map data once in n8n and it works everywhere. Interaction IDs are stable and reversible, which makes multi-step workflows that read then reply straightforward to build.

Compare: Compared to per-platform integrations

Connecting each social network to n8n separately means an OAuth app and custom error handling per platform. SocialAPI.ai gives every network one credential and one node. See how it compares.

Frequently asked questions

What developers ask before they ship.

How do I use a social media API in n8n?

Add a header-auth credential in n8n with your SocialAPI.ai API key as a Bearer token, then use the HTTP Request node to call any endpoint. The same credential works for reading comments and DMs and for publishing posts across every connected network.

Does n8n have a social media node?

n8n does not ship a single node that covers every social network. With SocialAPI.ai you do not need one: the built-in HTTP Request node calls one REST API that reaches Instagram, Facebook, TikTok, LinkedIn, YouTube, X, and Threads.

Can n8n post to Instagram and TikTok?

Yes. Point the HTTP Request node at the SocialAPI.ai publishing endpoint and a workflow can post to Instagram, TikTok, and the other supported networks. The same node shape works for every platform because the API normalizes them.

How do I trigger an n8n workflow on a new comment or DM?

Create a SocialAPI.ai webhook that points at an n8n Webhook node. When a new comment, DM, mention, or review arrives, SocialAPI.ai posts the event to n8n and your workflow runs immediately, with no polling required.

Is there a free social media API for n8n?

Yes. SocialAPI.ai has a free tier with no credit card, and reads such as fetching comments and mentions are always free. You can connect accounts, get an instant API key, and call the API from n8n on the free plan.

Ready to unify your social interactions?

Free tier available. No credit card required. Ships with the MCP server.