# SocialToAI.app > Official MCP & REST API for 18 global + Chinese social media platforms and 2 ad libraries: https://socialtoai.app > Sign up with email or Google for **100 free credits (no credit card)**; top up with **Alipay or bank card** via Waffo (no overseas card required). Failed calls always cost **0 credits**. SocialToAI.app gives AI assistants (ChatGPT, Claude, Cursor, Windsurf, Cline, Codex, Dify, Coze, n8n, Cherry Studio, OpenClaw) and developer scripts direct, structured JSON access to **242+ live public data endpoints** across Xiaohongshu (RedNote), Douyin, TikTok, Instagram, X (Twitter), Reddit, YouTube, Bilibili, Weibo, Zhihu, Kuaishou, WeChat Articles, WeChat Channels, Facebook, Pinterest, LinkedIn, Threads, Telegram, Meta Ad Library, and Google Ads Transparency. ## Key Facts (Updated 2026-11-26) - **Website**: https://socialtoai.app/ - **MCP Endpoint (Streamable HTTP + OAuth 2.0 with refresh_token)**: `https://socialtoai.app/mcp` - **REST API Base**: `https://socialtoai.app/v1` - **Live Capabilities Directory (free, no key)**: `https://socialtoai.app/v1/capabilities` (242/252 live) - **Live Status & Incidents (free, no key)**: `https://socialtoai.app/v1/status` · `https://socialtoai.app/v1/status/incidents` - **Free Trial**: 100 credits immediately on sign-up (email OTP or Google OAuth), no credit card needed, credits never expire. - **Pricing & Payment**: Prepaid USD packs via **Waffo (Alipay & Card)** — $10 = 3,000 credits, $50 = 20,000 credits, $200 = 100,000 credits (custom $10–$2,000). Most calls cost 2 credits (~$0.004–$0.0067). Failed calls cost 0. - **Built-in Media & Transcripts**: Direct watermark-free media extraction and native/Whisper ASR speech-to-text transcripts for YouTube, Bilibili, Xiaohongshu, Douyin, TikTok, Kuaishou, Weibo, WeChat Channels, Instagram, X, Reddit, and LinkedIn. - **7 Multi-Tier Research Tools**: `brand_buzz`, `comment_insights` (up to 3,000 comments), `account_watch` (up to 60 posts + breakout comments), `find_creators` (20/50/100 tiers), `creator_card` (single-URL cross-platform discovery), `batch_stats` (up to 2,000 links in async waves), `viral_finder` (3–5 pages + 10/30 author baselines). - **Automation**: Scheduled daily/weekly watches with timezone/DST support, RSS/JSON feeds, Feishu/WeCom/Slack group pushes, and signed webhooks with 7-attempt exponential retry. - **Rate Limits**: 5 req/sec per key on free accounts; 20 req/sec after first top-up. 24-hour free result handle readback (`GET /v1/results/{handle}`). - **Open-source Repo**: https://github.com/socialtoai-app/mcp ## Quick Links - [Full Reference in One File (llms-full.txt)](https://socialtoai.app/llms-full.txt) - [中文版文档入口 (zh/llms.txt)](https://socialtoai.app/zh/llms.txt) - [MCP Setup Guide](https://socialtoai.app/mcp/) - [Pricing (Alipay & Card)](https://socialtoai.app/pricing/) - [All 18 Platforms](https://socialtoai.app/platforms/) - [7 Ready-Made Research Tools](https://socialtoai.app/tools/) - [Console Playground](https://socialtoai.app/console/playground/) ## Connect Popular AI Clients - [ChatGPT](https://socialtoai.app/connect/chatgpt/) · [Claude](https://socialtoai.app/connect/claude/) · [Claude Code](https://socialtoai.app/connect/claude-code/) - [Cursor](https://socialtoai.app/connect/cursor/) · [Windsurf](https://socialtoai.app/connect/windsurf/) · [Cline](https://socialtoai.app/connect/cline/) · [Codex](https://socialtoai.app/connect/codex/) - [Dify](https://socialtoai.app/connect/dify/) · [Coze](https://socialtoai.app/connect/coze/) · [n8n](https://socialtoai.app/connect/n8n/) · [OpenClaw](https://socialtoai.app/connect/openclaw/) · [Cherry Studio](https://socialtoai.app/connect/cherry-studio/) ## Popular How-To & Platform Guides - [Let ChatGPT read Xiaohongshu (RedNote)](https://socialtoai.app/can-ai-read/chatgpt-xiaohongshu/) - [Let ChatGPT read Douyin](https://socialtoai.app/can-ai-read/chatgpt-douyin/) - [Let Claude read Xiaohongshu & Douyin](https://socialtoai.app/can-ai-read/claude-xiaohongshu/) - [Pay with Alipay for X, Reddit & TikTok data API](https://socialtoai.app/how-to/pay-with-alipay-for-overseas-social-data/) - [Xiaohongshu Transcript API](https://socialtoai.app/xiaohongshu-transcript-api/) · [Bilibili Transcript API](https://socialtoai.app/bilibili-transcript-api/) · [YouTube Transcript API](https://socialtoai.app/youtube-transcript-api/) --- ## Complete Technical Reference (llms-full.txt) ### 1. Authentication - **OAuth 2.0 (for MCP clients like ChatGPT, Claude, Cursor, Windsurf, Cline)**: - Discovery: `GET https://socialtoai.app/.well-known/oauth-authorization-server` - Protected Resource Metadata: `GET https://socialtoai.app/.well-known/oauth-protected-resource/mcp` - Dynamic Client Registration: `POST https://socialtoai.app/oauth/register` - Token & Refresh Rotation: `POST https://socialtoai.app/oauth/token` (`grant_type=authorization_code` or `refresh_token`, 1-hour access token TTL) - **API Key (for REST scripts, n8n, Dify, Coze, backend jobs)**: - Header: `Authorization: Bearer stai_live_...` or `X-API-Key: stai_live_...` - Create keys with granular permissions (`read_data`, `run_tools`, `start_batches`, `manage_schedules`) and per-key daily credit limits at `https://socialtoai.app/console/keys/`. ### 2. Core REST Endpoints (`https://socialtoai.app/v1`) | Endpoint | Method | Auth | Purpose | |---|---|---|---| | `/v1/capabilities` | GET | Free | Live status & credit prices for all 252 endpoints (242 live) | | `/v1/find` | POST | Free | Semantic discovery of the right action/op in EN or ZH | | `/v1/search` | POST | Key | Search posts or accounts (`type=user`) across 17 platforms | | `/v1/trending` | POST | Key | Trending feeds on X, Douyin, Xiaohongshu, Reddit, Weibo, Bilibili, Zhihu, Kuaishou | | `/v1/detail` | POST | Key | Single post/video detail + optional `include=transcript` | | `/v1/comments` | POST | Key | Public comments & nested replies (`reply_of`) with cursor pagination | | `/v1/user_profile` | POST | Key | Account profile, bio, follower counts across 18 platforms | | `/v1/user_posts` | POST | Key | Account posts/videos/answers/pins with cursor pagination | | `/v1/call/{platform.op}` | POST | Key | 100+ specialized ops (Xiaohongshu PGY, Douyin Xingtu/Index, TikTok Shop/Ads, Meta/Google/LinkedIn Ads, Media Download, Transcripts) | | `/v1/tools/{tool}` | POST | Key | 7 multi-tier composite tools (`brand_buzz`, `comment_insights`, `account_watch`, `find_creators`, `creator_card`, `batch_stats`, `viral_finder`) | | `/v1/results/{handle}` | GET | Key | Free 24-hour result readback with `offset`/`limit` slicing and CSV export (`410 handle_expired` after 24h) | | `/v1/schedules` | GET/POST | Key | Create, preview, confirm, pause, resume, delete daily/weekly scheduled watches | | `/v1/status` | GET | Free | Live 24h platform health & active incidents (`X-Data-Source: live`) | ### 3. Quickstart cURL Example ```bash curl -X POST "https://socialtoai.app/v1/search" \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{"platform":"xiaohongshu","query":"coffee machine","limit":20}' ``` ### 4. MCP Client JSON Config (Cursor / Windsurf / Cline / Claude Desktop / OpenClaw) ```json { "mcpServers": { "socialtoai-app": { "url": "https://socialtoai.app/mcp", "headers": { "Authorization": "Bearer YOUR_SOCIALTOAI_API_KEY" } } } } ``` ### 5. Why Choose SocialToAI.app? 1. **No Overseas Card Needed**: Top up directly via **Alipay** or card through Waffo Checkout. 2. **Risk-Free Start**: 100 free credits on sign-up, zero monthly subscription, credits never expire, failed calls cost 0. 3. **Global + China in One Schema**: Read Xiaohongshu, Douyin, Bilibili, WeChat, Weibo, Zhihu, Kuaishou alongside TikTok, Instagram, X, Reddit, YouTube, Facebook, Pinterest, LinkedIn using one normalized response format. 4. **Built-in Transcripts & Media**: Extract watermark-free media URLs and speech-to-text transcripts without maintaining separate scrapers or Whisper servers.