For AI

Answers

Is there one API for Douyin, Xiaohongshu and WeChat Channels data?

Short answer

Yes. okdata searches all three with one key and returns every result as the same post object: Douyin video search $0.02 a page, Xiaohongshu note search $0.02 a page and WeChat Channels video search $0.02 a page. Channels search leaves likes and comments empty, so fetch the videos you keep with Channels video detail at $0.02 each. A weekly sweep of 5 keywords on all three, with counts for 20 Channels videos and the comments of the top 10 posts on each platform, costs $1.37.

A coffee brand wants one weekly sheet of what people posted about freeze-dried coffee (冻干咖啡) on Douyin, Xiaohongshu (RedNote) and WeChat Channels (视频号), with likes and comments side by side. Each platform's official open platform is its own application and review, built around accounts that log in and authorise your app (see official APIs vs third-party data). Popular open-source crawlers handle Douyin and Xiaohongshu, but Channels support was still an open feature request on one of them in November 2026. One data API with one key covers all three.

The three searches

Platform Endpoint Per page Price
Douyin Douyin video search about 20 videos $0.02
Xiaohongshu Xiaohongshu note search about 20 notes $0.02
WeChat Channels WeChat Channels video search about 10 videos $0.02

All three return the post object: id, url, text, published_at in UTC, author and metrics with likes, comments, shares and favorites. A count a platform does not give is null, and meta.unavailable names the field and the reason. So one loop can write all three into the same columns.

What one keyword returned

On November 23, 2026 we searched 冻干咖啡 once on each platform, first page, default order:

Douyin Xiaohongshu WeChat Channels
Results 7 20 10
Most likes on the page 9,363 23,907 none given
Likes, comments, shares, saves yes yes null
Views null null null
Author followers yes null null
Oldest to newest 2025-07-29 to 2026-06-23 2021-04-26 to 2026-11-19 2026-04-01 to 2026-11-11

Three things follow. Channels search gives text, author, date and cover but no counts, so call WeChat Channels video detail with the search result's export/… ID for likes, comments, shares and saves. A page can come back short: Douyin gave 7, not 20. And the default order mixes in old posts, so for "this week" use sort=latest (Douyin, Xiaohongshu, Channels), Channels' published_within=week, or filter on published_at. Douyin plays are a separate call: Douyin video play count, $0.002.

Code

import os, requests

API = "https://api.okdata.online"
H = {"Authorization": f"Bearer {os.environ['OKDATA_API_KEY']}"}
SEARCH = {
    "douyin": "/v1/douyin/videos/search",
    "xiaohongshu": "/v1/xiaohongshu/notes/search",
    "wechat_channels": "/v1/wechat_channels/videos/search",
}

def call(path, **params):
    body = requests.get(API + path, headers=H, params=params, timeout=90).json()
    if body["code"] != "ok":
        raise RuntimeError(f"{path}: {body['code']}: {body['message']}")
    return body["data"]

rows = []
for platform, path in SEARCH.items():
    for post in call(path, query="冻干咖啡", sort="latest")["items"]:
        if platform == "wechat_channels":
            post = call("/v1/wechat_channels/videos/get", id=post["id"])["item"]
        m = post["metrics"]
        rows.append([platform, post["published_at"], post["author"]["name"],
                     m.get("likes"), m.get("comments"), post["url"]])

Search in Chinese: 冻干咖啡 finds far more than "freeze-dried coffee". Agents can skip the code: add https://api.okdata.online/mcp as an MCP server (steps on the MCP page) and ask for the same table.

A weekly sweep, priced

Job Calls Cost
5 keywords, 2 pages, on each of the three 30 $0.60
Counts for the 20 Channels videos you keep 20 $0.40
First comment page of the top 10 posts on each platform 30 $0.37
The whole week 80 $1.37

Prices are in US dollars, prepaid by card, Alipay or WeChat Pay, and a new key comes with $0.10 of free credit.

Tracking accounts instead of keywords

To follow competitors rather than a topic, list each account's newest posts: Douyin account videos ($0.002 a page), Xiaohongshu account notes ($0.02) and WeChat Channels account videos ($0.02). Unlike Channels search, the account list carries likes, comments, shares and saves. Channels accounts are keyed by a v2_…@finder ID; here is how to find it.

Sources

Where people asked this (read 2026-11-23)

Updated

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp