WeChat Search API

Also known as微信搜一搜搜一搜微信搜索weixin search

6 endpoints read WeChat Search: posts, accounts, keywords, index, miniprograms. From $0.0200 a call. No WeChat Search login and no cookie; a failed call is free.

Endpoints6 endpointsin 6 groups, one response shape
PriceFrom $0.0200per call. Failed calls are free
30-day availability99.0% Live · the share of time the endpoints were serving calls
DataFetched liveat the moment of the call

The 6 endpoints for WeChat Search, and what each returns

  • WeChat Search articles and videos: Get a page of WeChat Search results for search terms: Official Account articles and Channels videos mixed, each saying in type whether it is an article or a video; by relevance, newest or hottest, filtered by time posted, or articles only or videos only: title or description, the source account's name, time published, an article's link (with a band of reads on some), a video's likes and saves. WeChat Search gives no account ID.
  • WeChat Search articles and videos (backup): The backup of wechat.posts.search: the same parameters and result, priced on its own. Videos come without saves.
  • WeChat Official Account live search: Find WeChat Official Accounts and service accounts for search terms through WeChat Search, closest first, possibly followed by less related ones: original ID, WeChat ID, name, bio, avatar, whether verified, owner, number of original articles. Charged per call; no followers or reads, for estimates of those use wechat_mp.accounts.search.
  • WeChat Index: Get a keyword's WeChat Index over the last 30 days, one figure a day. The WeChat Index is WeChat's score of attention across its search, articles, Moments and more, not a count of searches, and is not comparable with Douyin's or Xiaohongshu's; days are calendar days in China time (UTC+8).
  • WeChat Search suggestions: Get the suggestions WeChat Search lists in its search box for a keyword, in the order it lists them, about 10 at a time. The words and their places only, with no index.
  • WeChat mini program search: Find WeChat mini programs for search terms through WeChat Search, the first page (about 25): name, description, icon, original ID and AppID, the owner's name and whether it is verified, how many used it lately as the platform shows it, and whether it is a mini game.

One call, as it came back

A recorded call, fields already tidied up: ready for an AI or a spreadsheet.
Recorded
GET/v1/wechat/posts/search$0.0200
FieldValue
typevideo
published_at2026-10-15 06:55 UTC
metrics.likes1
metrics.favorites3

The first 4 rows of a response recorded 2026-10-17 10:16 UTC.

Run it in the Playground · $0.0200
Recorded response
{
  "code": "ok",
  "request_id": "f99e115c-779f-40c2-8f31-aa264bce80dd",
  "data": {
    "items": [
      {
        "id": "1565947629032858",
        "url": null,
        "type": "video",
        "title": null,
        "text": "咖啡店开业|第一次尝试就爱上了,清单放评论区",
        "published_at": "2026-10-15T06:55:50.000Z",
        "author": {
          "name": "橘子汽水不加冰",
          "avatar_url": "https://wx.qlogo.cn/mmhead/G9OFE9nvQizvdtoFhYPbPgJwNlPo1GOTzMZ7Yb1e/132"
        },
        "metrics": { "likes": 1, "favorites": 3 }
      },
      // … 19 more
    ]
  },
  "page": {
    "next_cursor": "c1.qgwIcUU3N03dRsj5WCHQWiriygBg_3bRP0gIll8U",
    "cursor_expires_at": "2026-10-17T11:16:20.000Z",
    "has_more": true,
    "returned": 20
  },
  "warnings": [],
  "meta": {
    "capability": "wechat.posts.search",
    "result_status": "complete",
    "fetched_at": "2026-10-17T10:16:20.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {
      "lang": "capability",
      "author.id": "capability",
      "author.username": "capability",
      "author.verified": "capability",
      "author.followers": "capability",
      "metrics.comments": "capability",
      "metrics.shares": "capability",
      "metrics.views": "capability",
      "metrics.reposts": "capability",
      "images": "capability",
      "hashtags": "capability",
      "mentions": "capability",
      "is_pinned": "capability",
      "post_id": "platform",
      "parent_id": "platform",
      "root_id": "platform"
    },
    "billing": {
      "amount": "0.02",
      "currency": "USD",
      "balance_after": "9.98"
    }
  }
}

From a response recorded 2026-10-17 10:16 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.

What you can get

Each row is an endpoint: what it returns and what one call costs.

EndpointPathReturnsPrice
Backup versions1
WeChat Search articles and videos (backup)GET/v1/wechat/backup/posts/searchPost list$0.1
Posts1
WeChat Search articles and videosGET/v1/wechat/posts/searchPost list$0.0200
Accounts1
WeChat Official Account live searchGET/v1/wechat/accounts/searchAccount list$0.0200
Keywords1
WeChat Search suggestionsGET/v1/wechat/keywords/relatedRelated keyword list$0.1
Index1
WeChat IndexGET/v1/wechat/index/keywords/historyKeyword index history list$0.1
Miniprograms1
WeChat mini program searchGET/v1/wechat/miniprograms/searchMini program list$0.1
Prices are the prices in force. A call that fails, or whose result is uncertain, costs nothing.WeChat Search API pricing →WeChat Search data in your AI →See live status →

What people build with it

Ready-made tasks your AI can run on WeChat Search data. Each is a few calls under a spending cap.

Ask about WeChat Search right inside Claude or Cursor

Add the OneFeedAPI MCP server and the AI finds the WeChat Search endpoint it needs and calls it; answers link back to the source. You pay for the calls it makes.

WeChat Search MCP setup →
https://onefeedapi.com/mcp

Start in three steps

The call shown here is WeChat Search articles and videos. Every other WeChat Search endpoint is called the same way and answers in the same envelope.

Get a key

Sign in with an emailed code or Google. Free trial, no card needed.

Call it, or let your AI call it

One GET from your code. Or paste this prompt into your agent with your key in it: it sets itself up, then finds and calls these endpoints by itself.

Read https://onefeedapi.com/agents.md and set up OneFeedAPI in this agent. My API key is dx_live_…; use it for every OneFeedAPI call.

Sign in to copy it with your key

Read the same shape every time

Items are in data.items (one object in data.item), the next page in page.next_cursor, the charge in meta.billing.amount. A failed call is not charged.

Read the quickstart →
curl -G "https://onefeedapi.com/v1/wechat/posts/search" \
  --data-urlencode "query=咖啡店开业" \
  -H "Authorization: Bearer $ONEFEED_API_KEY"
# pip install onefeedapi
from onefeedapi import OneFeedAPI

dx = OneFeedAPI()  # reads ONEFEED_API_KEY
result = dx.wechat.posts.search(query="咖啡店开业")
print(result["data"]["items"])
// npm i @onefeedapi/sdk
import { OneFeedAPI } from "@onefeedapi/sdk";

const dx = new OneFeedAPI(); // reads ONEFEED_API_KEY
const result = await dx.wechat.posts.search({ query: "咖啡店开业" });
console.log(result.data.items);
onefeedapi call wechat.posts.search 'query=咖啡店开业'
{
  "mcpServers": {
    "onefeedapi": {
      "type": "http",
      "url": "https://onefeedapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${ONEFEED_API_KEY}"
      }
    }
  }
}

Add this to your MCP client, then ask your agent to call wechat.posts.search.

Edge cases

What the WeChat Search endpoints do at their edges, and what to check when a call does not return what you expected.

Page sizes
A list returns 1 to 40 items a page, depending on the endpoint. 3 of the 6 lists go on to a next page: page.next_cursor, passed back as cursor, each page a call of its own. The others return one page only.
Fields it cannot give
5 of the 6 endpoints cannot fill every field of the object they return. Each endpoint's page lists which, and every answer repeats them in meta.unavailable: a missing field is never a silent zero.
A missing object that reads as empty
WeChat Index, WeChat Search suggestions: an object that does not exist cannot be told from one with nothing under it, so the answer is an empty result, not a 404.
Preview structures
3 endpoints return a preview structure whose fields may still change; the others return a standard object, the same on every platform.
Articles and videos in one page
A page holds Official Account articles and Channels videos in the order the search shows them; type says which each one is (article or video). An article has a link and a title; a video has neither.
IDs
An article's id is made from its link, the same as the Official Account article list gives; fetch the article by its url. A video's id is the encrypted one of the search result, as given: the Channels endpoints do not take it, and a later search may give the same video another.
Accounts by name only
A result names its Official Account or Channels account by name, never by ID. Articles come without counts; a video comes with the likes and saves its card shows.

Questions about the WeChat Search API

Short answers. The details are on each endpoint's page.

What WeChat Search data can I get through the API?

6 endpoints: posts, accounts, keywords, index, miniprograms. Each endpoint's page gives its parameters and fields, with a recorded response.

How do I call the WeChat Search API?

Sign up for a key, send it as Authorization: Bearer <key> and call the endpoint's address, for example GET https://onefeedapi.com/v1/wechat/posts/search. Or connect OneFeedAPI to Claude, Cursor or ChatGPT (MCP) and ask in a sentence. The free trial needs no card.

How many tokens does a WeChat Search API response take in an AI?

Across 6 WeChat Search endpoints, one recorded real response each, the platform's own JSON comes to 67k tokens and what an AI reads through OneFeedAPI's MCP server to 13k, 81% fewer; the JSON of a direct API call is 71% fewer (counted 2026-11-06). Every platform uses the same field names, and fields returns only the ones you name.

How is the WeChat Search API priced?

Per call, no subscription. From $0.0200 to $0.1 a call; each endpoint's page shows its own price. You are charged when data comes back; a failed call costs nothing.

Do I need a WeChat Search account or a cookie?

No. One OneFeedAPI key is all you hold: no WeChat Search login, no cookie, no device to keep alive. The endpoints return publicly visible data only.

Is the data live?

A call fetches from WeChat Search at that moment, and meta.fetched_at says when. A result is kept for 24 hours, so a retry with the same Idempotency-Key is not charged again.

What happens when WeChat Search changes something?

A call that fails is not charged, whatever the reason. An endpoint that is paused answers capability_paused, also free, and GET /v1/catalog/status says what is up right now.

Related

How-to guides and answers
How to list a WeChat Official Account's past articlesHow to get WeChat Official Account article reads and likesHow to get WeChat Channels video commentsHow to list a WeChat Channels account's videosHow to get WeChat Search results by keywordWeChat Official Account articles API in Python: history and reads (third-party, 2026)WeChat Channels API in Python: account videos and comments (2026)Is there an API for WeChat Official Account articles?How do I get WeChat Channels data?What is __biz in a WeChat article link?What do mid, idx and sn mean in a WeChat article link?What is a WeChat Official Account's original ID (gh_)?What is a WeChat Channels account ID (…@finder), and what is an export ID?What WeChat data APIs are there? Official Accounts, Channels and WeChat Search (2026)Which APIs get WeChat Official Account data: past articles, full text, reads, comments? (2026)WeChat returns ret=200013 freq control when listing an account's articles: what now? (2026)wechat-article-exporter has stopped: what else exports WeChat articles in bulk? (2026)How do I export a WeChat Official Account's past articles in bulk? (2026)Is OneFeedAPI the same as Alibaba's DataX? (2026)How do I let my AI read WeChat Official Accounts? (ChatGPT, Claude, Codex, 2026)How can my AI watch competitors each week without an annual plan? (2026)How do I turn a WeChat Official Account into RSS? (2026)wewe-rss has stopped working: what now? (2026)How do I watch dozens of WeChat Official Accounts and push updates to Feishu? (2026)How do I export all of a WeChat Channels account's videos? (2026)How do I add WeChat Official Accounts and Xiaohongshu to TrendRadar? (2026)A miner turned up in a we-mp-rss container: what now for WeChat RSS? (2026)An Official Account's history is read: how do I then fetch only new articles each day? (2026)I don't write code: how do I get my AI to fetch Official Account, Xiaohongshu and Douyin data? (2026)Do Chanmama, Qiangua and Newrank have APIs? What if I want the raw data? (2026)What is fakeid for a WeChat Official Account? (2026)How do I collect WeChat Official Account articles in n8n? (2026)How do I sync WeChat Official Account article data to a Feishu Base? (2026)How do I connect WeChat Official Account data to Coze (扣子)? (2026)Will using a data API get my Xiaohongshu or Douyin account banned? (2026)Are data APIs like OneFeedAPI compliant? (2026)Is OneFeedAPI legit and reliable? What you can check yourself (2026)How do I find an industry's hit articles on WeChat Official Accounts? (2026)How do I send WeChat Official Account articles to an ima knowledge base automatically? (2026)How do I save WeChat Official Account articles to Obsidian automatically? (2026)How do I export WeChat Channels data? (2026)Can WeChat Channels comments be exported? (2026)How do I check keyword trends in the WeChat Index, in bulk? (2026)How do I connect WeChat Official Account data to Dify? (MCP, 2026)How do I get an AI to write WeChat articles into Feishu Base with Skills and the Feishu CLI? (2026)China social data MCP for Claude and Cursor: Xiaohongshu, Douyin, WeChat (2026)WeChat MCP server: Official Accounts and Channels in Claude and Cursor (2026)China social media data API: one key for Xiaohongshu, Douyin, WeChat (2026)Social listening API for China: one keyword across Weibo, Douyin, Xiaohongshu and more (2026)Chinese social media data API FAQ, platform by platform (2026)Chinese social media marketing data tools: official tools and APIs (2026)Which social media data API is best for AI agents? Count the tokens a response takes (2026)Douyin, WeChat and Xiaohongshu data in Claude Code and Codex (2026)Chinese social media alternative data for investment research (2026)WeChat Search autocomplete suggestions API: getting them in bulk (2026)How many tokens does a social media API response take in an AI? Every endpoint measured (2026)WeChat Official Account API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)WeChat Channels API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)Douyin and Xiaohongshu search box suggestions (autocomplete) by API, in bulk (2026)Is a WeChat article the headline or a second article? Telling them apart by API (2026)Getting a WeChat account's Videos and Pictures tabs in bulk (2026)WeChat Search for Official Account articles alone, without Channels videos (2026)WeChat Official Account follower count: estimated followers, lead-article reads and posting rate (2026)Every figure on a WeChat Official Account article and profile: can an API get it? Field by field (2026)Which company is behind a WeChat Official Account? Owner, verification and registration date (2026)Which WeChat Channels account is linked to an Official Account? Watching both together (2026)How to have an AI collect one kind of WeChat article every week (offers, jobs, tenders) (2026)Where do you see WeChat Channels plays? What can be had of someone else's Channels videos (2026)How to read the IP location of accounts and comments in bulk: 28 endpoints on 8 platforms (2026)Which social media data MCP can an AI agent use? One that WorkBuddy, Doubao, QwenWork, Coze and Dify all take (2026)How does WorkBuddy get WeChat, Douyin and Xiaohongshu data? Connect one MCP server (2026)Can DeepSeek get Douyin, Xiaohongshu and WeChat data? Two ways to have it call the endpoints (2026)Can Doubao get Douyin, Xiaohongshu and WeChat data? Add a custom plugin in its desktop app (2026)How does QwenWork get Xiaohongshu, Douyin and WeChat data? Add one connector (2026)How do I get the comments on someone else's WeChat article? Featured comments and replies by link (2026)Is there an API for a WeChat article's read count? Reads, likes, recommends and shares by its link (2026)Is there an API that gets a video's file address? Douyin, Xiaohongshu and WeChat Channels (2026)How do I rank the hottest content for a keyword? Douyin and Xiaohongshu by likes, WeChat Channels by hottest (API, 2026)How do I collect WeChat Channels data? The Channels assistant, WeChat Search and data APIs (2026)How do I collect WeChat Official Account data? Past articles, reads and comments in bulk (2026)

Call WeChat Search with one key.

Free trial on sign-up: up to 5 calls at $0.0200. No card. No WeChat Search login, no cookie, no subscription. A failed call is free.

Start free