Video Metrics
Retrieves interaction metrics for a WeChat Channels video by object ID with optional continuation-buffer input. Use it to review engagement for known video content.
Parameters
| Name | Required | Type | Description | Example | Allowed values |
|---|---|---|---|---|---|
object_id |
Required | string | WeChat Channels video object id used to fetch interaction metrics. | 15002167188052908630 |
— |
object_nonce_id |
Optional | string | Optional WeChat Channels object nonce id. | — | — |
last_buffer |
Optional | string | Pagination buffer returned by the previous WeChat Channels metrics response. Leave it empty for the first page. For this POST endpoint, send it in an application/x-www-form-urlencoded form body. | — | — |
Code samples
curl -G "https://api.mofa-ai.com/v1/weixin_channels/get_video_metrics_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'object_id=15002167188052908630'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/weixin_channels/get_video_metrics_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"object_id": "15002167188052908630",
},
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_channels/get_video_metrics_v1");
url.search = new URLSearchParams({
object_id: "15002167188052908630",
});
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);
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.
Example response
Captured 2026-11-07, took 1221 ms · Request parameters {"object_id": "15002167188052908630"}
JSON
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "weixin_channels.get_video_metrics_v1",
"cost_usd": 0.03,
"data": {
"code": 0,
"data": {
"title": "真心建议!这几类人少喝咖啡!(佛山传媒文旅集团 主播:周明谦;编辑:王慧君;责编:梁莹;素材来源:央视新闻)#咖啡 #健康科普 #老百姓关心的话题 #失眠 #饮食 #打工人 #牛马 #早八 ",
"nickname": "佛山新闻",
"username": "v2_060000231003b20faec8cae7891fc0d2c702ee37b0778cb75932f5dcdf359dbd531014cd6c89@finder",
"object_id": "15002167188052908630",
"count_info": {
"fav_count": 56,
"like_count": 32,
"version_data": {
"overwrite": false,
"data_version": 1794031398
},
"comment_count": 0,
"forward_count": 238
}
},
"message": null,
"requestId": "6b8c5903e13e4f54838e0a4792ccd227",
"recordTime": "2026-11-08T07:58:40.616124865",
"requestParams": {
"body": {
"objectId": "15002167188052908630"
},
"query": {}
}
}
}