For AI

WeChat Official Account live search API

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. About 8 items a call, 14 at most; $0.0200 per call. Errors and timeouts are not charged; an empty result is charged $0.0200.

GEThttps://api.dataxapi.com/v1/wechat/accounts/search
Also known asfind a wechat official account's idwechat official account id lookupIn Chinese: 微信公众号实时查找 API
Price$0.0200/ call · Errors and timeouts are not charged
Returnsup to 14 a pagea page, with a cursor for the next
When an upstream failsRetried for youon the same route, or a backup route; never charged
StatusLive statusread live when the page opens

Try it

Change a value and the request on the right follows.
Run · $0.0200

Sign in to run it; it runs on your own balance. New accounts can try this endpoint free, up to 5 calls.

The first row of a response recorded 2026-11-02 11:25 UTC.
FieldValue
verifiedtrue
curl -G "https://api.dataxapi.com/v1/wechat/accounts/search" \
  --data-urlencode "query=36氪" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
{
  "code": "ok",
  "request_id": "86788fb5-4235-48ac-b9c6-23292e637c65",
  "data": {
    "items": [
      {
        "id": "1047168840907789",
        "username": "nanfeng_0721",
        "name": "南边的风",
        "bio": "在上海,周末都在山里",
        "avatar_url": "https://wx.qlogo.cn/mmhead/xjoBFsBvyPoDjvS4DO1qBnMkqIePSAETki44ma9I/132",
        "verified": true
      },
      // … 10 more
    ]
  },
  "page": {
    "next_cursor": "c1.Ew51uWdKdB0gdItoicfGl1FUa3rXNGNkJvKajjh3",
    "cursor_expires_at": "2026-11-02T12:25:07.000Z",
    "has_more": true,
    "returned": 11
  },
  "warnings": [],
  "meta": {
    "capability": "wechat.accounts.search",
    "result_status": "complete",
    "fetched_at": "2026-11-02T11:25:07.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {
      "url": "platform",
      "created_at": "capability",
      "metrics": "capability"
    },
    "billing": {
      "amount": "0.02",
      "currency": "USD",
      "balance_after": "9.98"
    }
  }
}

From a response recorded 2026-11-02 11:25 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.

Size as sent: 4.1 KB in the standard view (2.3 KB compact, 5.0 KB full).

{
  "code": "ok",
  "request_id": "28a5b7f5-264d-4dc0-92e6-d6f0bf7894e4",
  "data": { "items": [] },
  "page": {
    "next_cursor": null,
    "cursor_expires_at": null,
    "has_more": false,
    "returned": 0
  },
  "warnings": [],
  "meta": {
    "capability": "wechat.accounts.search",
    "result_status": "empty",
    "fetched_at": "2026-11-02T11:25:07.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {
      "url": "platform",
      "created_at": "capability",
      "metrics": "capability"
    },
    "billing": {
      "amount": "0.02",
      "currency": "USD",
      "balance_after": "9.98"
    }
  }
}

From a recording of 2026-11-02 11:25 UTC, edited by hand to show this case. The request ID and balance are made up.

Size as sent: 470 B in the standard view (470 B compact, 470 B full).

This example as a JSON file

curl -G "https://api.dataxapi.com/v1/wechat/accounts/search" \
  --data-urlencode "query=36氪" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
# pip install dataxapi
from dataxapi import DataXAPI

dx = DataXAPI()  # reads DATAXAPI_API_KEY
result = dx.wechat.accounts.search(query="36氪")
print(result["data"]["items"])
// npm i @dataxapi/sdk
import { DataXAPI } from "@dataxapi/sdk";

const dx = new DataXAPI(); // reads DATAXAPI_API_KEY
const result = await dx.wechat.accounts.search({ query: "36氪" });
console.log(result.data.items);
dataxapi call wechat.accounts.search 'query=36氪'
{
  "mcpServers": {
    "dataxapi": {
      "type": "http",
      "url": "https://api.dataxapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${DATAXAPI_API_KEY}"
      }
    }
  }
}

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

Parameters

querytextrequired

The account's name, or a keyword. Example: 36氪.

cursortext

Cursor returned by the previous page. Pass page.next_cursor of the page before, unchanged. Each page is charged as a call of its own.

viewtext

How much of each item to return. All three cost the same. Values: compact, standard (default), full.

fieldslist of text

Return only these fields. Each by its path, such as author.name.

Known limits

Returned fields

data.items is a list of account objects. Stable: fields are only ever added.

idtextcompact

ID

On this platform: The account's original ID, mostly starting with gh_ but not always; it can be passed as it is to wechat_mp.accounts.articles.list and wechat_mp.accounts.get

usernametextcompact

Handle

On this platform: The WeChat ID people type to find the account; null where none is set

nametextcompact

Display name

urllinkcompactThe platform has none

Link to the profile

biotextcompact

Bio

Long text: the compact view keeps the first 500 characters and says so in warnings.

avatar_urllinkstandard

Avatar

Show all 17 fields →
verifiedyes/nostandard

Whether the account is verified

created_attimestandardNot provided here

When the account was created

metricsobjectcompactNot provided here

Account counts

metrics.followersintegercompactNot provided here

Followers

metrics.followingintegercompactNot provided here

Following

metrics.postsintegercompactNot provided here

Posts published

ext.owner_nametextfull

Name of the account's owner (a company or body); null where none is shown

ext.original_articlesintegerfull

Number of original articles as the platform shows it; null for a service account and where none is shown

approximatelist of objectcompact

Which numbers of this item are approximate or lower bounds; absent when all are exact

approximate[].fieldtextcompact

Path of the field, such as metrics.views

approximate[].kindtextcompact

Approximate, or a lower boundapproximatelower_bound

Typical size of one item: compact 167 B, standard 335 B, full 422 B (measured on the response recorded 2026-11-02 11:25 UTC).

What this endpoint cannot give

urlThe platform has none
created_atNot provided here
metricsNot provided here
metrics.followersNot provided here
metrics.followingNot provided here
metrics.postsNot provided here

When you are charged

A result with data$0.0200, once per call
An empty result$0.0200
Invalid parameters, a failure of ours or of the data source, a timeoutnot charged
CaseCharged
Each further pagecharged as a call of its own
The most one call can cost$0.0200 (send X-Max-Price to refuse anything above your own limit)

Prices as read 2026-11-02 11:50 UTC, under price book 8, in effect since 2026-11-02 11:46 UTC; the Playground reads the price in force before a run.

Errors

What this endpoint can answer with; codes all endpoints share are on the full list.

HTTPCodeMeaningCharged
400invalid_paramsA parameter is invalidRetry: After a fixNo
400cursor_mismatchThe cursor was issued for another endpoint or other parametersRetry: After a fixNo
402insufficient_balanceThe balance is too lowRetry: After a fixNo
410cursor_expiredThe cursor expired; start again from the first pageRetry: NoNo
502upstream_failedNo result came from the data source this time. Retry later; if the same item keeps failing, it most likely cannot be retrieved (deleted or restricted, say)Retry: YesNo
504timeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNo

All error codes →

Questions

How much does the WeChat Official Account live search API cost?

$0.0200 per call. The most one call can cost is $0.0200.

When am I not charged?

Errors and timeouts are not charged; an empty result is charged $0.0200.

How many items does one call return, and how do I get the next page?

About 8 items a page, 14 at most. The page size is the platform's; limit is not accepted. For the next page pass page.next_cursor as cursor; a cursor is valid for 1 hour. page.has_more is false on the last page.

The same thing on other platforms

All 6 WeChat Search endpoints

WeChat Search endpoints

Use it in your AI

Copy this prompt

Your API key is built in, so there is nothing to configure.

Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_…; use it for every DataXAPI call.
Sign in to copy it with your key

No account yet? Sign-up takes an email and no card, and a failed call is never charged.

then paste

Paste it into your agent

It reads the page the prompt points to and connects itself.

Your agent
Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_••••; use it for every DataXAPI call.
DataXAPI connected · 5 tools ready
now try it

Now ask something

Use one of these, or your own words.

Read https://dataxapi.com/apis/wechat/accounts/search.md and help me use the DataXAPI endpoint wechat.accounts.search (WeChat Official Account live search).
Prefer to set it up by hand?
dataxapi setupgives the agents on your machine (Claude Code, Codex, Cursor) the DataXAPI MCP server and the base skill. The key is read from DATAXAPI_API_KEY; none is written into a file.MCP server: https://api.dataxapi.com/mcp. The entry for your client is under MCP in the request examples of this page; then ask your agent to call wechat.accounts.search.Other clients →
Ask with this pageSends the Markdown version
Brief for an AIEverything needed to call it, as text
Show the text
Use the DataXAPI endpoint wechat.accounts.search (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.
Call GET https://api.dataxapi.com/v1/wechat/accounts/search with the header "Authorization: Bearer $DATAXAPI_API_KEY". Read the key from the environment variable DATAXAPI_API_KEY; never write it into code.
Parameters:
- query (required): The account's name, or a keyword. Example: 36氪.
- cursor: Cursor returned by the previous page. Pass page.next_cursor of the page before, unchanged. Each page is charged as a call of its own.
- view: How much of each item to return. All three cost the same. Values: compact, standard (default), full.
- fields: Return only these fields. Each by its path, such as author.name.
Price: $0.0200 per call. Errors and timeouts are not charged; an empty result is charged $0.0200.
The answer is JSON: data.items holds account; meta.billing.amount is what this call was charged.
Example:
curl -G "https://api.dataxapi.com/v1/wechat/accounts/search" \
  --data-urlencode "query=36氪" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
Full reference in Markdown: https://dataxapi.com/apis/wechat/accounts/search.md

Names and identifiers

In Chinese
微信公众号实时查找 API
Endpoint ID
wechat.accounts.search
Endpoint
GET /v1/wechat/accounts/search
Last checked 2026-11-02 11:50 UTC.View the Markdown versionopenapi.jsonllms.txt

Start with one key.

226 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free