Account Search

Searches WeChat Official Accounts by keyword with page-number pagination and one result per page. Use it to find an account by name or related term before profile or article lookup.

Endpoint ID
GET /v1/weixin/search_account_v1
Endpoint ID
weixin.search_account_v1
Price
$0.08 per successful call · failed calls are free

Parameters

Name Required Type Description Example Allowed values
keyword Required string Search keyword for WeChat Official Account profiles. 咖啡 —
page Optional integer Page number starting from 1 for WeChat Official Account profile search. 1 —

Code samples

curl -G "https://api.mofa-ai.com/v1/weixin/search_account_v1" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'keyword=咖啡' \
  --data-urlencode 'page=1'

Try it

Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.

Sign in to try

Example response

Captured 2026-11-07, took 271 ms · Request parameters {"page": "1", "keyword": "咖啡"}

JSON
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "weixin.search_account_v1",
  "cost_usd": 0.08,
  "data": {
    "code": 0,
    "data": {
      "data": [
        {
          "biz": "MzU3NjcyOTg0OQ==",
          "fans": 367,
          "ghid": "gh_a0a86f703924",
          "name": "咖啡 咖啡",
          "wxid": "zhangluqinya",
          "avatar": "https://wx.qlogo.cn/mmhead/Q3auHgzwzM5BvwpkjkZecAt3UnIConAozsPP6uNIAJIiaRiaCOHRIY3w/0",
          "qrcode": "https://open.weixin.qq.com/qr/code?username=zhangluqinya",
          "owner_name": "女",
          "avg_top_zan": 2,
          "avg_top_read": 21,
          "customer_type": "",
          "week_articles": 3,
          "lastest_publish": 1784298588
        }
      ]
    },
    "message": null,
    "requestId": "f1220988308d4f60bd9f1fb4d6402ecb",
    "recordTime": "2026-11-08T07:58:33.367606636",
    "requestParams": {
      "body": {
        "keyword": "咖啡"
      },
      "query": {}
    }
  }
}