Claude Skills Collection Logo
socialtoai-socialtoai-skills

socialtoai

Read publicly visible social media content (posts, comments, profiles, trends) on TikTok, Instagram, X (Twitter), Reddit, YouTube, Facebook, LinkedIn, Threads, Telegram, Pinterest, Xiaohongshu (RedNote), Douyin, Weibo, WeChat Articles, Bilibili, Zhihu, Kuaishou, WeChat Channels, Meta Ad Library, Google Ads Transparency through the SocialToAI MCP server or HTTP API. Use it when the user asks what people say or post on these platforms, or wants a post, its comments, an account or a trending list. 需要读取社交媒体上公开可见的帖子、评论、账号或热榜时使用。
stars0
forks0
watches0
updated2026-11-06 06:39:54

SocialToAI

SocialToAI is an API and MCP server that lets AI tools read publicly visible social media content (posts, comments, profiles and trends) from 18 platforms, including TikTok, Instagram, X (Twitter), Reddit, YouTube, Xiaohongshu (RedNote), Douyin, Weibo. It is billed in prepaid credits, and failed calls are free.

Connect

  • MCP (Streamable HTTP): https://mcp.socialtoai.com/mcp, with the header Authorization: Bearer $SOCIALTOAI_API_KEY.
  • HTTP: POST https://api.socialtoai.com/v1/<action> with a JSON body and the same header.
  • The key is read from the environment variable SOCIALTOAI_API_KEY. Never print a key, and never write one into a file, a command or an address.
  • If the MCP tools are present, use them. Otherwise call the HTTP API.
  • No key yet? Never ask the user to paste one. A client that signs in with OAuth connects to the MCP address and signs in, with no key. Otherwise they sign up (100 free credits, no card) and put a key in the environment variable.

Actions

Every action takes platform and the parameters of that platform, and answers in the same format. Price key is what the call is billed as.

search

Find posts or accounts by keyword. POST https://api.socialtoai.com/v1/search

PlatformPrice keyCreditsRequiredOptional
tiktok (type=user)tiktok.search:user2query-
tiktoktiktok.search2querysort, published_within
instagram (type=user)instagram.search:user3query-
xx.search2querysort
x (sort=latest)x.search:latest2query-
x (type=user)x.search:user5query-
redditreddit.search2querysort, published_within
youtubeyoutube.search2querysort, published_within
youtube (type=user)youtube.search:user2query-
linkedinlinkedin.search2querypublished_within
threadsthreads.search2querysince, until
pinterestpinterest.search2query-
xiaohongshuxiaohongshu.search12querysort
xiaohongshu (type=user)xiaohongshu.search:user12query-
xiaohongshu (type=image)xiaohongshu.search:image12query-
douyindouyin.search12querysort, published_within
douyin (type=user)douyin.search:user2query-
weiboweibo.search2query-
weibo (type=user)weibo.search:user2query-
wechatwechat.search12querysort, published_within
wechat (type=user)wechat.search:user102query-
bilibilibilibili.search2querysort
zhihuzhihu.search2querytype, sort
zhihu (type=user)zhihu.search:user2query-
kuaishoukuaishou.search12query-
kuaishou (type=user)kuaishou.search:user12query-
wechat_channelswechat_channels.search12querysort, published_within
wechat_channels (type=user)wechat_channels.search:user36query-

trending

What is hot right now. POST https://api.socialtoai.com/v1/trending

PlatformPrice keyCreditsRequiredOptional
xx.trending6-board, region
redditreddit.trending2-board
reddit (type=trends)reddit.trending:trends2-board
xiaohongshuxiaohongshu.trending12-board
douyindouyin.trending2-board
douyin (type=videos)douyin.trending:videos2-board
weiboweibo.trending2-board
bilibilibilibili.trending2-board
bilibili (type=videos)bilibili.trending:videos2--
zhihuzhihu.trending2-board
kuaishoukuaishou.trending2--

detail

One post: text and numbers. POST https://api.socialtoai.com/v1/detail

PlatformPrice keyCreditsRequiredOptional
tiktoktiktok.detail2one of id / url-
tiktok (include=transcript)tiktok.detail:transcript2one of id / url-
instagraminstagram.detail2one of id / url-
instagram (include=transcript)instagram.detail:transcript2one of id / url-
xx.detail1one of id / url-
x (include=transcript)x.detail:transcript2one of id / url-
redditreddit.detail2one of id / url-
reddit (include=transcript)reddit.detail:transcript2one of id / url-
youtubeyoutube.detail2one of id / url-
youtube (include=transcript)youtube.detail:transcript2one of id / url-
facebookfacebook.detail2url-
linkedinlinkedin.detail2one of id / url-
linkedin (include=transcript)linkedin.detail:transcript2one of id / url-
threadsthreads.detail2one of id / url-
telegramtelegram.detail2one of id / url-
pinterestpinterest.detail2one of id / url-
xiaohongshuxiaohongshu.detail12one of id / url-
douyindouyin.detail2one of id / url-
weiboweibo.detail2one of id / url-
wechatwechat.detail12url-
bilibilibilibili.detail2one of id / url-
zhihuzhihu.detail2one of id / url-
zhihu (type=question)zhihu.detail:question2one of id / url-
zhihu (type=article)zhihu.detail:article2one of id / url-
zhihu (type=pin)zhihu.detail:pin2one of id / url-
kuaishoukuaishou.detail2one of id / url-
wechat_channelswechat_channels.detail12id-

comments

Comments under a post. POST https://api.socialtoai.com/v1/comments

PlatformPrice keyCreditsRequiredOptional
tiktok (reply_of)tiktok.comments:replies2id, reply_of-
tiktoktiktok.comments2one of id / url-
instagram (reply_of)instagram.comments:replies2id, reply_of-
instagraminstagram.comments2one of id / url-
xx.comments2id-
redditreddit.comments2one of id / urlsort
youtubeyoutube.comments2one of id / urlsort
youtube (reply_of)youtube.comments:replies2reply_of-
facebookfacebook.comments2id-
xiaohongshuxiaohongshu.comments12one of id / url-
xiaohongshu (reply_of)xiaohongshu.comments:replies12id, reply_of-
douyindouyin.comments2one of id / url-
douyin (reply_of)douyin.comments:replies2id, reply_of-
weiboweibo.comments2one of id / url-
weibo (reply_of)weibo.comments:replies2reply_of-
wechatwechat.comments12url-
wechat (reply_of)wechat.comments:replies12url, reply_of-
bilibilibilibili.comments2id-
bilibili (reply_of)bilibili.comments:replies2id, reply_of-
zhihuzhihu.comments2id-
zhihu (reply_of)zhihu.comments:replies2reply_of-
kuaishoukuaishou.comments2one of id / url-
kuaishou (reply_of)kuaishou.comments:replies2id, reply_of-
wechat_channelswechat_channels.comments12id-
wechat_channels (reply_of)wechat_channels.comments:replies9id, reply_of-

user_profile

One account: bio and counts. POST https://api.socialtoai.com/v1/user_profile

PlatformPrice keyCreditsRequiredOptional
tiktoktiktok.user_profile2one of id / username-
instagraminstagram.user_profile2username-
xx.user_profile1one of id / username-
redditreddit.user_profile2username-
youtubeyoutube.user_profile2one of id / username-
facebookfacebook.user_profile2one of id / username / url-
linkedinlinkedin.user_profile2one of username / url-
threadsthreads.user_profile2username-
telegramtelegram.user_profile2username-
xiaohongshuxiaohongshu.user_profile12one of id / url-
douyindouyin.user_profile2one of id / url-
weiboweibo.user_profile2id-
wechatwechat.user_profile12id-
bilibilibilibili.user_profile2id-
zhihuzhihu.user_profile2username-
kuaishoukuaishou.user_profile12id-
wechat_channelswechat_channels.user_profile12id-

user_posts

Posts from one account. POST https://api.socialtoai.com/v1/user_posts

PlatformPrice keyCreditsRequiredOptional
tiktoktiktok.user_posts2usernamesort
instagraminstagram.user_posts2usernametype
xx.user_posts2usernametab
redditreddit.user_posts2username-
youtubeyoutube.user_posts2one of id / usernametype, sort
facebookfacebook.user_posts2one of id / username / url-
linkedinlinkedin.user_posts2one of username / url-
threadsthreads.user_posts2username-
telegramtelegram.user_posts2username-
xiaohongshuxiaohongshu.user_posts12one of id / url-
douyindouyin.user_posts2one of id / url-
weiboweibo.user_posts2id-
wechatwechat.user_posts12id-
bilibilibilibili.user_posts2id-
zhihuzhihu.user_posts2username-
zhihu (type=answer)zhihu.user_posts:answers2username-
zhihu (type=pin)zhihu.user_posts:pins2username-
kuaishoukuaishou.user_posts12id-
wechat_channelswechat_channels.user_posts12id-

Platform-specific interfaces

POST https://api.socialtoai.com/v1/call/{op}. The op is the price key.

Price keyCreditsRequiredOptional
tiktok.top_ad_detail2id-
tiktok.top_ad_search2queryregion, window, sort
tiktok.hashtag_videos2id-
tiktok.product_reviews2id-
tiktok.product_search2query-
tiktok.seller_products2id-
tiktok.product_detail2id-
tiktok.ad_search2query-
tiktok.ad_detail2one of id / url-
tiktok.followers2username-
instagram.hashtag_posts2id-
x.community1id-
x.community_posts4id-
x.list_posts2id-
x.article2id-
x.quotes4id-
x.retweeters2id-
x.thread9id-
x.followers12username-
x.following12username-
x.mentions4username-
x.community_members5id-
x.list_followers5id-
x.list_members5id-
reddit.user_subreddits2username-
reddit.subreddit2id-
reddit.subreddit_posts2idsort
youtube.community_posts2one of id / username-
youtube.community_post2one of id / url-
linkedin.ad_detail2one of id / url-
linkedin.ad_search2queryregion
xiaohongshu.kol_search24query-
xiaohongshu.kol_profile24id-
xiaohongshu.kol_audience24id-
xiaohongshu.kol_performance24idwindow
xiaohongshu.keyword_history24keyword-
xiaohongshu.product_search12query-
xiaohongshu.product_detail12id-
xiaohongshu.product_reviews12id-
xiaohongshu.kol_notes24id-
xiaohongshu.topic_notes12id-
xiaohongshu.keyword_related24keyword-
xiaohongshu.topic12id-
douyin.kol_search3query-
douyin.kol_profile3one of id-
douyin.kol_audience3id-
douyin.kol_performance3idwindow
douyin.brand_radar2brand, since, until-
douyin.account_history2one of idwindow
douyin.video_stats2one of id / url-
douyin.related_videos2id-
douyin.hashtag_videos2id-
douyin.keyword_audience2keyword, since, until-
douyin.keyword_history4since, until, one of keyword / keywords-
douyin.kol_rates24id-
douyin.kol_videos3id-
douyin.brand_history2brand, since, until-
douyin.account_top_videos2id, since, until-
douyin.account_audience2id-
douyin.account_metrics2id-
douyin.keyword_related2keyword, until-
douyin.keyword_videos2query-
douyin.index_topics2-board
douyin.kol_keywords2id-
douyin.kol_scores5id-
douyin.kol_content_mix3id-
douyin.marketing_calendar3since, until-
weibo.followers2id-
weibo.likers2one of id / url-
wechat.article_stats12url-
wechat.account_owner60id-
wechat.keyword_history60keyword-
wechat.keyword_related60keyword-
wechat.miniprogram_search60query-
zhihu.question_answers2one of id / url-
zhihu.column_articles2id-
zhihu.followers2username-
wechat_channels.collections12id-
wechat_channels.collection_videos12id-
wechat_channels.video_stats9id-
wechat_channels.live_replays12id-
meta.ad_search2queryregion, sort, type
meta.advertiser_ads2idregion, sort, type
meta.advertiser_search2query-
meta.ad_detail2one of id / url-
meta.ad_transcript2one of id / url-
google.advertiser_ads2idregion, type
google.advertiser_search2queryregion
google.ad_detail2one of id / url-

MCP tools

  • search: Search a platform for content. Read-only. Each line: what to pass, then platforms at 2 credits a call unless numbered. A list of platforms: a call each. Failed calls cost 0. Need 100 items? Pass limit=100 (a call a page).
  • trending: Read a platform's trending list. Read-only. Each line: what to pass, then platforms at 2 credits a call unless numbered. A list of platforms: a call each. Failed calls cost 0. Need 100 items? Pass limit=100 (a call a page).
  • detail: Get one piece of content by its id or link. Read-only. Each line: what to pass (a|b: either one), then platforms at 2 credits a call unless numbered. A list of platforms, ids or links: a call each. Failed calls cost 0.
  • comments: Read the comments under one piece of content. Read-only. Each line: what to pass (a|b: either one), then platforms at 2 credits a call unless numbered. A list of platforms, ids or links: a call each. Failed calls cost 0. Need 100 items? Pass limit=100 (a call a page).
  • user_profile: Get one account's public profile: name, bio, verification and follower counts. Read-only. Each line: what to pass (a|b: either one), then platforms at 2 credits a call unless numbered. A list of platforms: a call each. Failed calls cost 0.
  • user_posts: List what one account has published. Read-only. Each line: what to pass (a|b: either one), then platforms at 2 credits a call unless numbered. A list of platforms: a call each. Failed calls cost 0. Need 100 items? Pass limit=100 (a call a page).
  • find: Find what can be called by what the user wants done, in their words, English or Chinese: results are the calls, best first, with parameters, credits and a call that works; recommended, if any, is the tool or watch that does the whole job. Free. Asked about docs or code, adds the links. not_offered: results are only the closest: tell the user, never pass those off as what was asked for.
  • call: Call one platform-specific capability by its op ("platform.name"): what the six actions do not cover. find finds an op by what it does; capabilities lists each with its parameters and its credits per call (1 to 60). Read-only. A failed call costs 0.
  • capabilities: What can be called now. With platform: each action and op there, with parameters, credits, page size, fields it cannot give and a call that works. Without: only the platforms and how many calls each has. Free.
  • account: Whose key or app this is: plan, balance, today's spend and limits; a purchase link needing no sign-in (repeat purchase.display). Free. After insufficient_balance: give the user error.fix.action_url as is; once paid, call this to confirm, then repeat the call with the same arguments. Scripts: for_scripts.
  • brand_buzz: What people say about a brand or product on each platform: the share of each attitude, what is mentioned most, and the posts with the most engagement, each with its source link. Runs on our side. A costly or long run quotes its price first.
  • comment_insights: What the comments under your posts are about: the topics and their shares, the questions asked, who wants to buy and what is complained about, with the comments quoted. Runs on our side. A costly or long run quotes its price first.
  • find_creators: Creators on one platform for a niche: their size, their recent posts, and how well each fits what you asked for, with the reasons. Runs on our side. A costly or long run quotes its price first.
  • account_watch: What a set of accounts published lately and which posts did clearly better than each account's usual. It runs once. Runs on our side. A costly or long run quotes its price first. To repeat it daily, use watch.
  • creator_card: One creator across platforms: the accounts found for the same person, with followers, posts, engagement and how strong the evidence is that each is theirs. Runs on our side. A costly or long run quotes its price first.
  • research: Run one of these by its name, on our side. A costly or long run quotes its price first. Pass links whole, as given. On error, follow error.fix. Tell the user billing.display.
  • watch: Daily watch: a search, action, op or tool we run again every day or week. The first run is the baseline; then only what is new goes to email, webhooks, a Feishu/WeCom/Slack chat, RSS and watch_news.
  • watch_news: What the user's watches found that they have not been shown yet, newest first, with each watch, its time and status. Use it when the user asks what is new. Free. Pass id for one watch; what is shown is not shown again.

Ready-made tools

  • brand_buzz: What people say about a brand or product on each platform: the share of each attitude, what is mentioned most, and the posts with the most engagement, each with its source link.
  • comment_insights: What the comments under your posts are about: the topics and their shares, the questions asked, who wants to buy and what is complained about, with the comments quoted.
  • account_watch: What a set of accounts published lately and which posts did clearly better than each account's usual. It runs once.
  • find_creators: Creators on one platform for a niche: their size, their recent posts, and how well each fits what you asked for, with the reasons.
  • creator_card: One creator across platforms: the accounts found for the same person, with followers, posts, engagement and how strong the evidence is that each is theirs.
  • batch_stats: The numbers of up to 2,000 links to posts or account pages as they are now, and which links no longer work. No AI analysis.
  • viral_finder: Posts on a subject that did clearly better than their authors usually do, on one platform.

Rules

  • Every answer carries billing: the credits this call cost and the balance. Tell the user what was spent when they ask, in credits.
  • Charged: ok, empty. A search that ran and found nothing is empty and is charged. Everything else costs 0.
  • When the user gives a budget, send max_cost_credits: a call that would cost more is refused for free, with the quote.
  • A field that is null is one the platform does not give (see unavailable). Do not guess its value.
  • Whoever wrote a comment is anonymous. Do not try to identify them.
  • Send an Idempotency-Key header with every charged call over HTTP: a new one for each request, the same one when you retry it. If an answer was lost after a charge, the same request under the same key, or GET /v1/results/{request_id}, returns it for free.
  • For the next page send page.cursor back unchanged as cursor; each page is its own call.
  • Cite a source by its url. An item whose url is null has no link: say so, and never make one up.
  • On an error read error.fix: it names the parameter, the allowed values or where to go. Correct the call once; do not repeat a call that failed the same way.
  • After timeout the result is not known and nothing was charged. Do not retry by yourself; ask the user or send a new request only if the data is still needed.
  • After insufficient_balance (402): give the user error.fix.action_url exactly as it is, and wait. Once they have paid, call account (GET /v1/account) to confirm the balance, then send the same call again: same parameters and, over HTTP, the same Idempotency-Key.

Error codes

CodeHTTPRetry
invalid_params400no
not_supported400no
unauthorized401no
insufficient_balance402no
max_cost_exceeded402no
plan_limit403no
key_scope_denied403no
not_found200 / 404no
idempotency_in_progress409yes, after Retry-After
handle_expired410no
idempotency_conflict422no
daily_limit_reached429no
free_failure_limit429yes, after Retry-After
rate_limited429yes, after Retry-After
internal_error500yes, after Retry-After
temporarily_unavailable200 / 503yes, after Retry-After
invalid_target200no
upstream_error200depends (see retryable)
timeout200no

Facts

  • Platforms (18): TikTok, Instagram, X (Twitter), Reddit, YouTube, Facebook, LinkedIn, Threads, Telegram, Pinterest, Xiaohongshu (RedNote), Douyin, Weibo, WeChat Articles, Bilibili, Zhihu, Kuaishou, WeChat Channels
  • Ad libraries (2): Meta Ad Library, Google Ads Transparency
  • Actions (6): search, trending, detail, comments, user_profile, user_posts, plus a catalog of platform-specific interfaces (find / call)
  • Tools (7): Brand buzz, Comment analysis, Account snapshot, Find creators, Creator profile, Bulk link data, Viral finder
  • API: https://api.socialtoai.com/v1 · MCP (Streamable HTTP): https://mcp.socialtoai.com/mcp · Auth: sign-in (OAuth) in ChatGPT, Claude, Claude Code, Codex and Cursor; an API key in a header for scripts and servers
  • No key needed for: capabilities, find, OpenAPI
  • Price: $10 = 3,000 credits · $50 = 20,000 · $200 = 100,000 · any amount from $10 to $2,000
  • Per call: most calls cost 2 credits (range 1–102); from $0.002 per call
  • Free: 100 credits on sign-up, no card. Credits never expire. No subscription. No refunds.
  • Charged: successful calls, including a search that ran and found nothing, and a lookup of something that is not there where the platform's source charges for it (the answer says so). Not charged: failed calls.
  • Limits: 5 requests per second per key; 20 per second after the first purchase
  • Payment: card or Alipay, priced in USD
  • Data: content and account information publicly visible on the platform; commenters are anonymised
  • Updated: 2026-11-01 · price version pv_29229c6acba5