WeChat WeChat Index Search
Queries WeChat Index for a keyword. Use it to examine trend interest within WeChat before planning content, campaigns, or further article research.
/v1/weixin/search_wechat_index_v1
$0.16
- Price
- $0.16 per successful call, Failed calls are free
- Endpoint ID
weixin.search_wechat_index_v1
Parameters
-
keywordstring RequiredKeyword used to query WeChat Index trend signals.
Example
咖啡
Code samples
curl -G "https://api.mofa-ai.com/v1/weixin/search_wechat_index_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'keyword=咖啡'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/weixin/search_wechat_index_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"keyword": "咖啡",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/weixin/search_wechat_index_v1");
url.search = new URLSearchParams({
keyword: "咖啡",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Example response
Request parameters {"keyword": "咖啡"}
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "weixin.search_wechat_index_v1",
"cost_usd": 0.16,
"data": {
"code": 0,
"data": {
"ret": 0,
"data": [
{
"type": 52,
"boxID": "0x40000-15048-",
"count": 1,
"items": [
{
"docID": "1-7123206500956315942",
"title": "",
"source": {
"title": "微信指数",
"iconUrl": "http://mmbiz.qpic.cn/mmbiz_png/uic3vZ5pI29sdd0tUo5t4pxmJMsMO9iaxM8EOxTX1VUAWjQibib0juc81kMkUgtB9IibIg58TZocULicPJ7lichq8E1VQ/640?wx_fmt=png&wxfrom=200"
},
"itemInfo": {
"data": [
{
"index": "94217706",
"timestamp": 1791388800
},
{
"index": "89524815",
"timestamp": 1791475200
},
"… +28"
],
"type": 1058,
"title": "咖啡 - 微信指数"
},
"jumpInfo": {
"jumpType": 2,
"reportId": "chart:chart:608831",
"userName": "gh_935b85261f35@app",
"weappUrl": "/page/detail/detail?calculate_word=咖啡"
}
}
],
"boxPos": 1,
"subType": 15048,
"real_type": 262144,
"boxPosMerge": 1,
"useNativeRender": false
}
],
"lang": "zh_CN",
"query": "咖啡",
"offset": 20,
"cookies": "{\"box_offset\":0,\"businessType\":8192,\"clm_box_offset\":1,\"clm_sub_box_offset\":1,\"cookies_buffer\":\"UoMBCGIQARiAQCIG5ZKW5ZWhUAGCAQUQAKIBALIBAhgAyAEA8gEUMTM0MzY1NjAyNjAwNTEzMDg3OTP6ATUIgNbXr6+X+vIYEKSeyYyI…",
"category": [
{
"type": 0,
"word": "全部"
},
{
"type": 7,
"word": "视频号"
},
"… +14"
],
"isDivide": 0,
"searchID": "1794095916265106176",
"direction": 2,
"timeStamp": 1794095913,
"experiment": [
{
"key": "mmsearch_shopping_cart_entry",
"value": "1"
},
{
"key": "s1s_all_prefetch_next_page",
"value": "2"
},
"… +3"
],
"isHomePage": 0,
"nomoreText": "没有更多的搜索结果",
"pageNumber": 1,
"resultType": 0,
"continueFlag": 0,
"isAutoPlayVideo": 1,
"enableQuestionClosely": false
},
"message": null,
"requestId": "27f38611189c497395a8394d2c8775f4",
"recordTime": "2026-11-08T07:58:33.343241211",
"requestParams": {
"body": null,
"query": {
"keyword": "咖啡"
}
}
}
}
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.
More WeChat endpoints
-
Account Historical Articles
$0.08Retrieves historical articles for a WeChat Official Account identified by ghid or article URL, with an offset cursor from the previous page. Use it to contin…
/v1/weixin/get_account_history_articles_v2
-
Article Metrics v1
$0.03Retrieves basic interaction metrics for a WeChat Official Account article URL that ends with #rd or #wechat_redirect. Use it to perform a lightweight popular…
/v1/weixin/get_article_metrics_v1
-
Article Metrics v2
$0.04Retrieves extended interaction metrics for a WeChat Official Account article by URL. Use it to compare article performance or support deeper engagement analy…
/v1/weixin/get_article_metrics_v2
-
Article Details v1
$0.03Retrieves a WeChat Official Account article by URL with selectable plain-text or rich-text content mode. Use it to collect a known article in the preferred r…
/v1/weixin/get_article_detail_v1
-
Article Details v2
$0.03Retrieves structured details for a WeChat Official Account article by URL. Use it to collect a known article for parsing, indexing, or structured content arc…
/v1/weixin/get_article_detail_v2
-
Article Details v3
$0.04Retrieves details for a WeChat Official Account article that may include video content, with selectable plain-text or rich-text mode. Use it to process known…
/v1/weixin/get_article_detail_v3
-
Article Details v4
$0.03Retrieves an HTML representation of a WeChat Official Account article by URL. Use it to preserve, render, or archive a known article as a web document.
/v1/weixin/get_article_detail_v4
-
Article Details v5
$0.03Retrieves lightweight information for a WeChat Official Account article by URL. Use it to perform a quick article lookup before deeper content, metric, or co…
/v1/weixin/get_article_detail_v5
-
Article Comments
$0.04Retrieves top-level comments for a WeChat Official Account article by URL, with an optional buffer cursor for pagination. Use it to review reader discussion…
/v1/weixin/get_article_comment_v1
-
Article Comment Replies
$0.04Retrieves replies under a top-level comment for a WeChat Official Account article, identified by article URL and contentId. Use it to inspect threaded discus…
/v1/weixin/get_article_sub_comment_v1
-
Article Search v1
$0.16Searches WeChat Official Account articles by keyword with publish-time and sort filters plus page, offset, and continuation-state pagination. Use it to disco…
/v1/weixin/search_article_v1
-
Article Search v2
$0.16Searches WeChat Official Account articles by keyword within a selected category such as followed accounts, latest, recently read, or hot, with continuation p…
/v1/weixin/search_article_v2
-
Mini Program Search
$0.16Searches WeChat Mini Programs by keyword with page, offset, and continuation-state pagination. Use it to discover mini programs related to a brand, service,…
/v1/weixin/search_miniprogram_v1
-
Search Suggestions
$0.16Retrieves WeChat search suggestions for a keyword, optionally scoped by a supported business type. Use it to expand or refine a query before a targeted WeCha…
/v1/weixin/search_suggestions_v1
-
Account Search v1
$0.08Searches 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 pr…
/v1/weixin/search_account_v1
-
Account Search v2
$0.30Searches WeChat Official Accounts by keyword with page, offset, and continuation-state pagination. Use it to browse broader account results for creator, bran…
/v1/weixin/search_account_v2
-
Account Original Article Count
$0.30Retrieves the original-article count for a WeChat Official Account identified by ghid or article URL. Use it to compare original publishing activity across k…
/v1/weixin/get_account_original_count_v1
-
Account Principal Info
$0.20Retrieves principal information for a WeChat Official Account identified by biz ID, article URL, or wxid. Use it to review the ownership or operating entity…
/v1/weixin/get_account_principal_info_v1
-
Account Basic Info
$0.20Retrieves basic profile information for a WeChat Official Account by account name. Use it to identify or enrich a known account before article, ownership, or…
/v1/weixin/get_account_basic_info_v1
-
Article Link Conversion
$0.02Expands a WeChat Official Account article link to its resolved long-form destination. Use it to normalize a short or intermediate link before article lookup…
/v1/weixin/convert_article_link_v1