Social Neuron REST API

May 26, 2026 ยท View on GitHub

REST interface to 76 AI content tools. Same auth, scopes, and rate limits as MCP.

Base URL

https://mcp.socialneuron.com/v1

Authentication

All requests require a Bearer token:

Authorization: Bearer snk_live_...

Get your API key at Settings > Developer.

Quick Start

1. List available tools

curl -H "Authorization: Bearer $SN_API_KEY" \
  https://mcp.socialneuron.com/v1/tools

2. Check your credits

curl -H "Authorization: Bearer $SN_API_KEY" \
  https://mcp.socialneuron.com/v1/credits

3. Generate content

curl -X POST \
  -H "Authorization: Bearer $SN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"topic": "sustainable fashion trends", "platforms": ["instagram", "tiktok"]}' \
  https://mcp.socialneuron.com/v1/content/generate

4. Check job status

curl -H "Authorization: Bearer $SN_API_KEY" \
  https://mcp.socialneuron.com/v1/content/status/job_abc123

5. Schedule a post

curl -X POST \
  -H "Authorization: Bearer $SN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"media_url": "https://...", "caption": "Check this out!", "platforms": ["instagram"], "schedule_at": "<ISO-8601 timestamp>"}' \
  https://mcp.socialneuron.com/v1/distribution/schedule

Endpoints

MethodPathDescription
GET/v1/toolsList all tools (filter: ?module=, ?scope=, ?q=)
POST/v1/tools/{name}Execute any tool by name

The tool proxy gives REST access to every MCP tool. Pass tool arguments as JSON body.

# Execute any tool via the proxy
curl -X POST \
  -H "Authorization: Bearer $SN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"response_format": "json"}' \
  https://mcp.socialneuron.com/v1/tools/get_credit_balance

Convenience Endpoints

These are thin wrappers over the tool proxy for common operations.

Credits

MethodPathToolScope
GET/v1/creditsget_credit_balancemcp:read
GET/v1/credits/budgetget_budget_statusmcp:read

Brand

MethodPathToolScope
GET/v1/brandget_brand_profilemcp:read

Analytics

MethodPathToolScope
GET/v1/analyticsfetch_analyticsmcp:read
GET/v1/analytics/insightsget_performance_insightsmcp:read
GET/v1/analytics/best-timesget_best_posting_timesmcp:read

Content

MethodPathToolScope
POST/v1/content/generategenerate_contentmcp:write
POST/v1/content/adaptadapt_contentmcp:write
POST/v1/content/videogenerate_videomcp:write
POST/v1/content/imagegenerate_imagemcp:write
GET/v1/content/status/{jobId}check_statusmcp:read

Distribution

MethodPathToolScope
POST/v1/distribution/scheduleschedule_postmcp:distribute

Posts & Accounts

MethodPathToolScope
GET/v1/postslist_recent_postsmcp:read
GET/v1/accountslist_connected_accountsmcp:read

Loop

MethodPathToolScope
GET/v1/loopget_loop_summarymcp:read

Discovery

MethodPathAuthDescription
GET/v1/RequiredAPI info and endpoint directory
GET/v1/openapi.jsonNoneOpenAPI 3.1 specification

Response Format

Success

{
  "data": {
    "balance": 1850,
    "monthlyUsed": 150,
    "monthlyLimit": 2000,
    "plan": "pro"
  },
  "_meta": {
    "tool": "get_credit_balance",
    "version": "1.5.2",
    "timestamp": "<ISO-8601 timestamp>"
  }
}

Error

{
  "error": {
    "code": "insufficient_scope",
    "message": "Tool 'schedule_post' requires scope 'mcp:distribute'.",
    "required_scope": "mcp:distribute",
    "status": 403
  }
}

Error Codes

CodeStatusDescriptionResolution
unauthorized401Missing Bearer tokenAdd Authorization: Bearer snk_live_... header
invalid_token401Token expired or invalidGenerate a new key at Settings > Developer
insufficient_scope403Key lacks required scopeRegenerate key with needed scope
tool_not_found404Tool name doesn't existCheck GET /v1/tools for available tools
tool_error400Tool execution failedCheck error message for details
rate_limited429Too many requestsWait for Retry-After seconds

Rate Limits

TierRequests/minCredits/mo
Starter60800
Pro602,000
Team606,500

Per-IP rate limit: 60 requests/minute (before auth).

Scopes

ScopeAllowsRequired By
mcp:fullAll operationsโ€”
mcp:readAnalytics, brand, credits, listsGET endpoints
mcp:writeContent generationPOST /content/*
mcp:distributeScheduling, publishingPOST /distribution/*
mcp:analyticsRefresh analyticsrefresh_platform_analytics
mcp:commentsComment managementlist/reply/post/moderate/delete comments
mcp:autopilotAutomation config (Pro+)autopilot tools

OpenAPI Spec

The full OpenAPI 3.1 specification is served at:

GET https://mcp.socialneuron.com/v1/openapi.json

Import into Postman, generate client SDKs, or use with Swagger UI.