AgentAPIGate
Home/Guides/RedNote & Douyin MCP/Claude Cross-Border Setup
Cross-Border Consumer Intelligence · Streamable HTTP MCP (OAuth 2.1)

Xiaohongshu (RedNote) & Douyin MCP for Claude | Guide

Bottom Line Up Front · 3-Minute Cross-Border Setup

English-speaking consumer research, DTC sourcing, and equity teams can connect Claude Code, Claude Cowork, or Cursor directly to Xiaohongshu (RedNote) and Douyin in under three minutes via AgentAPIGate Remote Streamable HTTP MCP (OAuth 2.1)—with zero Mainland China SIM cards, device signatures, or residential proxy pools. Claude translates English prompts into Mandarin queries automatically, retrieves live save-to-like ratios ($0.008/call) and Douyin video velocity ($0.002/call) from one non-expiring $5+ PAYG balance across 300+ Real-Time Web Data APIs, and pays $0.00 on empty or failed calls.

01 / Interactive Setup, Verified HTTP 200 Receipts & Spend Estimator

Connect Claude or Cursor & Inspect Real Production Payloads

Step 1 · Mount Remote MCP or Subkey
OAuth 2.1 · 0 China SIMs

Zero plaintext keys in repo — opens browser once for OAuth 2.1 PKCE and mounts 7 cross-border tools.

# Mount the 7-tool Xiaohongshu (RedNote) & Douyin MCP pack via OAuth 2.1:
claude mcp add --transport http rednote-douyin \
  "https://mcp.agentapigate.ai/mcp/custom?tools=xiaohongshu.notes.search,xiaohongshu.note.detail,douyin.videos.search,douyin.user.profile,douyin.hot.board,weibo.hot.search,bilibili.videos.search"

# Or mount the 4-tool <800-token Master Hub across 300+ Real-Time Web Data APIs:
claude mcp add --transport http agentapigate "https://mcp.agentapigate.ai/v1/mcp"
Step 2 · Verified HTTP 200 Production Receipt
HTTP 200 OKX-AAG-Cost-USD: 0.00801420 ms25,879 → 1,121 tok (-96%)
{
  "ok": true,
  "meta": {
    "endpoint": "xiaohongshu.notes.search",
    "cost_usd": 0.008,
    "tokens_est": 540,
    "raw_tokens_est": 25879,
    "tokens_saved_pct": 96,
    "content_trust": "external_untrusted"
  },
  "data": {
    "query": "coffee",
    "page": 1,
    "count": 12,
    "items": [
      {
        "note_id": "6af13a950000000034029c98",
        "type": "normal",
        "title": "一次性教你看懂咖啡豆的名字",
        "desc": "第一次看到“埃塞俄比亚、耶加雪菲、原生种、水洗、G1、浅烘”这一长串名字时...",
        "author": "咖门永存",
        "likes_count": 2491,
        "collected_count": 2672,
        "comments_count": 44,
        "url": "https://www.xiaohongshu.com/explore/6af13a950000000034029c98"
      },
      {
        "note_id": "6a86bacc000000002703020f",
        "type": "normal",
        "title": "广州|分享我的咖啡地图",
        "author": "helenwong",
        "likes_count": 25,
        "collected_count": 28,
        "comments_count": 4,
        "url": "https://www.xiaohongshu.com/explore/6a86bacc000000002703020f"
      }
    ]
  }
}
$0.00 charged on empty / 4xx / 5xxmeta.content_trust = "external_untrusted"
Interactive Per-Call Research Cost Calculator ($0 Login Required)

Estimate Monthly Claude Cross-Border Research Spend vs DIY China Proxy Stack

Saves ~98% vs $220/mo proxy + device pool
Total PAYG API Spend
$4.80 / mo
Paid balance never expires ($5+ custom top-up)
02 / Verified Cross-Border Research Pattern

How US & Global Teams Query Mandarin Social Signals from English Prompts

In production cross-border workflows, analysts prompt Claude in plain English while instructing it to expand each category into native Mandarin buyer-intent modifiers: 测评 (hands-on review), 避坑 (pitfalls to avoid), 平替 (affordable dupe), and 红黑榜 (hit-or-miss rankings).

Claude dispatches douyin.videos.search to measure top-of-funnel short-video share velocity alongside xiaohongshu.notes.search to measure bottom-of-funnel bookmark intent (collected_count / likes_count), then drills into high-intent notes via xiaohongshu.note.detail using format=md so 12–20 posts fit cleanly inside a single reasoning turn.

Production Telemetry Proof
< 3 min · 100% 200 OK

Verified across live US enterprise Claude MCP sessions: OAuth 2.1 handshake + custom PAYG top-up to first parallel douyin.videos.search + xiaohongshu.notes.search batch completes in under 3 minutes with $0.00 billed on empty queries.

Lock Daily Spend with aag_agent_* Subkeys →
03 / Per-Call Rate Card

7 Cross-Border Asia Social MCP Tools & Deterministic Pricing

View Full PAYG & Auto-Reload Pricing →
MCP Tool & Endpoint IDAPI Key / Callx402 / MPPPrimary Structured Signal ReturnedBilling Rail
xiaohongshu_notes_search
xiaohongshu.notes.search
$0.0080$0.0080Keyword note search with collected_count (saves), likes_count, comments_count & note URLpaid_usd / x402 / MPP
xiaohongshu_note_detail
xiaohongshu.note.detail
$0.0080$0.0080Full note copy, media gallery, tags, publish timestamp, IP region & save-to-like metricspaid_usd / x402 / MPP
douyin_videos_search
douyin.videos.search
$0.0020$0.0020Short-video keyword search returning likes, comments, shares, captions & creator sec_uidpaid_usd / bonus / x402
douyin_user_profile
douyin.user.profile
$0.0020$0.0020Creator follower count, total favorited hearts, bio verification & account metadatapaid_usd / bonus / x402
douyin_hot_board
douyin.hot.board
$0.0020$0.0020Real-time Mainland China Douyin trending topics & viral heat velocity scorespaid_usd / bonus / x402
weibo_hot_search
weibo.hot.search
$0.0020$0.0020Live Weibo Top 50 breaking social & brand sentiment leaderboardpaid_usd / bonus / x402
bilibili_videos_search
bilibili.videos.search
$0.0020$0.0020Long-form Gen-Z tech, gaming & hardware review videos with danmaku and play countspaid_usd / bonus / x402
04 / Total Cost of Ownership Breakdown

DIY China Proxies vs Expiring Scraper Subscriptions vs Non-Expiring PAYG MCP

DimensionDIY +86 Proxy & App SignaturesSingle-Tool Monthly SaaSAgentAPIGate Remote MCP (PAYG)
Account, SIM & Device SetupRequires +86 SIM verification, rotating mobile signatures, and anti-bot cookie maintenance.Separate $49–$99/mo subscription per social platform; unused monthly quota expires.Zero SIMs or cookies. 1-Click Remote HTTP MCP OAuth 2.1 or scoped aag_agent_* sub-key in <3 min.
Per-Call Unit Economics$180–$450/mo fixed residential China proxy & container overhead even when idle.Opaque credit multipliers and forced tier upgrades on burst research weeks.$0.0020/call Douyin & $0.0080/call Xiaohongshu from a $5+ non-expiring PAYG USD balance.
Empty or Failed Request BillingYou pay bandwidth and proxy egress on every CAPTCHA block or 403 retry.Often deducts monthly credits on empty search pages or upstream timeouts.Deterministic $0.00 charged on empty results, 4xx validation catches, or 5xx upstream errors.
Claude Context Window Cost25,000+ tokens of nested hydration JSON per page rapidly exhausts Claude context.Unfiltered raw JSON schemas require custom Python post-processing scripts.Built-in format=md & compact mode shrink 25,879 raw tokens to 1,121 tokens (-96% context cost).
Cross-Platform BreadthCustom parser breaks every time an app updates its web bundle.Siloed to one social app; requires extra vendors for TikTok, Instagram, SERP, or Shopify.Unified ledger across 300+ Real-Time Web Data APIs (Social, Commerce, Search, B2B, Finance).
One Non-Expiring Ledger · 300+ Real-Time Web Data APIs

Pair Xiaohongshu & Douyin Signals with TikTok, Instagram, Amazon & Google Trends

Detect emerging Asia consumer trends on RedNote and Douyin, then validate US/EU demand across TikTok, Instagram Reels, Shopify storefronts, and Google Search from the exact same API key or MCP session.

Related MCP Connectors & Agent Engineering Guides

Frequently Asked Questions

Browse All Engineering Guides →

Can I prompt Claude in English to research Chinese Xiaohongshu (RedNote) and Douyin trends?

Yes. Frontier models like Claude 4 Sonnet/Opus automatically translate English product or brand prompts into idiomatic Mandarin keywords (for example, translating "specialty pour-over kettle reviews" into "手冲壶 测评 避坑"), invoke xiaohongshu.notes.search and douyin.videos.search in parallel, and synthesize the Chinese consumer notes into a cited English report.

Do I need a Mainland China +86 phone number, app login cookie, or residential proxy?

No. AgentAPIGate executes all Xiaohongshu (RedNote), Douyin, Weibo, and Bilibili read calls statelessly on managed server infrastructure. You authenticate once to mcp.agentapigate.ai via OAuth 2.1 (or pass a Bearer aag_agent_* sub-key) from any US, EU, or APAC workstation.

Why is the save-to-like ratio (collected_count / likes_count) important on Xiaohongshu?

On Xiaohongshu (RedNote), users bookmark ("collect") notes they intend to buy from or reference during shopping trips. A note where collected_count approaches or exceeds likes_count (>0.8x) signals high commercial purchase intent rather than passive entertainment.

How is Xiaohongshu and Douyin MCP usage billed, and can I cap autonomous agent spend?

Douyin, Weibo, and Bilibili search tools cost $0.0020 per successful call, while precision Xiaohongshu note search and detail tools cost $0.0080 per successful call (paid_usd, Base/Solana USDC x402, or Tempo MPP; $0.00 on empty or error responses). You can bind Claude to a read-only aag_agent_* sub-key with a hard daily USD ceiling (such as $3.00/day) so runaway loops are impossible.