One key for public data from 31 platforms

Public content from RedNote, Douyin, WeChat, WeChat Channels, Weibo, Bilibili, Taobao / Tmall, JD.com, TikTok and more, returned in one JSON format. Every endpoint has a public price, and you pay only for calls that succeed.

Sign in with an email code. No password, no card.

Pick a platform to see a request and a real response.

RedNoteNote Search v2

$0.03
GET /v1/xiaohongshu/search_note_v2?keyword=咖啡
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d…",
  "endpoint": "xiaohongshu.search_note_v2",
  "cost_usd": 0.03,
  "data": {
    "data": {
      "items": [
        {
          "note": {
            "id": "6aefb903000000000e024d59",
            "desc": "超高性价比咖啡液 Tims咖啡液,均价0.5 18克大…",
            "geo_info": { … },
            "nice_count": 0,
            "images_list": [ … ],
            "liked_count": 0,
            "comments_count": 0,
            …
          },
          "model_type": "note",
          "mix_track_id": "NOTE__6aefb903000000000e024d59__2h4muojrw6zl…",
          "new_help_style": false
        },
        …
      ],
  …
A real response, shortened. $0.03 if it succeeds, nothing if it fails. See all 14 RedNote endpoints

What you'd check before integrating

Billing
Billed per successful call at one fixed price per endpoint, $0.01 to $0.30. The price is reserved when a call starts and refunded in full the moment it fails. Credit never expires.
Auth
Send Authorization: Bearer mk_live_… or X-API-Key. Each key can have its own spending limit and can be revoked at any time.
Response
One envelope for every platform: success, code, message, request_id, endpoint, cost_usd, with the platform's data in data.
Headers
X-MOFA-Cost-USD is what the call cost, X-MOFA-Balance-USD is the balance after it, and X-Request-Id identifies it when you need support.
Limits
300 requests a minute per key and 15 calls in flight per account. Beyond that you get 429 with Retry-After. Email us for higher limits.
Discovery
GET /v1/endpoints lists every endpoint with its parameters and price, no key needed. There is also an OpenAPI 3.1 document and an llms.txt written for AI agents.
Call records
The console keeps the time, endpoint, status, latency, cost and request id of every call, and its parameters for 90 days.

Three steps to a first call

  1. Sign in with your email

    No password: we email you a 6-digit code. New accounts get $0.50 of trial credit.

  2. Create an API key

    Create keys in the console and give each one an optional spending limit.

  3. Call any endpoint

    Send requests with Bearer auth. Every platform answers in the same format.

Note Search v2xiaohongshu.search_note_v2$0.03

curl -G "https://api.mofa-ai.com/v1/xiaohongshu/search_note_v2" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'keyword=咖啡' \
  --data-urlencode 'page=1' \
  --data-urlencode 'sort=general' \
  --data-urlencode 'note_type=_0' \
  --data-urlencode 'note_time=ONE_DAY'

Every call is on the record

The console breaks usage down by day, platform and key. Every call keeps its parameters, latency, cost and request id. A failed call shows why it failed and costs nothing.

Open the console

Call recordsSample data
TimeEndpointStatusLatencyCost
14:32:07 xiaohongshu.search_note_v2 OK 1,204 ms $0.03
14:31:52 douyin.hot_search_v1 OK 986 ms $0.04
14:31:40 weixin.search_article_v1 Failed 30,012 ms not billed
14:30:18 weixin_channels.search_video_v1 OK 1,532 ms $0.16
14:29:55 weibo.hot_search_v1 OK 871 ms $0.02

Top up once, credit never expires

Each successful call deducts that endpoint's listed price, and failed calls are refunded automatically. Packs from $100 include bonus credit.

  • $20 Credit you get $20
  • $100 Credit you get $105+5%
  • $500 Credit you get $540+8%
  • $2,000 Credit you get $2,240+12%

Online top-up isn't open yet. To add credit now, email contact@mofa-ai.com.

See the price of all 273 endpoints

Questions

What data does the API return?

Only content that is publicly visible on each platform: public posts, videos, articles, comments, public account pages, products and rankings. No private messages, private content or data behind a login. Use it in line with our Acceptable Use Policy and the law that applies to you.

How does billing work?

You prepay USD credit, and each successful call deducts that endpoint's price (from $0.01). Credit never expires and can only be spent on MOFA Data API. New accounts get $0.50 of trial credit. Every endpoint's price is on the pricing page.

Am I charged when a call fails?

No. Timeouts, data source errors, missing content and missing parameters are refunded to your balance automatically, and the X-MOFA-Cost-USD header is 0. The call log in the console shows why the call failed.

Can I see the details of every call?

Yes. The call log in the console keeps the time, endpoint, status, latency, cost and request id of every call. Filter it by status, endpoint or key, or export it as CSV. Request parameters are kept for 90 days.

Are there rate limits?

By default each API key can make 300 requests per minute, and each account can have 15 calls in flight. Over a limit you get HTTP 429 with Retry-After. For higher limits, email contact@mofa-ai.com.

Do I get a receipt or an invoice?

If you need a receipt made out to your company, or a formal invoice, email contact@mofa-ai.com before you pay and we will tell you what we can issue.

How do I find the endpoint I need?

Use the search at the top of the page, or browse the docs by platform: every endpoint lists its parameters, price and an example response. Programs can read /v1/endpoints or /openapi.json.

Make your first call in a few minutes

↑↓ to move, Enter to open, Esc to close