WeChat Get Video Detail

20.65 credits/call
ae_wechat_get_video_detail

## WeChat Channels video details Retrieve one video's details, including its ID, creator, title, engagement counts, publication information, media URLs and decryption key. ### Inputs Provide a `request_body` object containing at least one nonempty video locator: - `object_id`: Video objectId as a numeric string; highest priority. - `export_id`: Search result exportId beginning with `export/`; used when `object_id` is empty. It expires, so use it promptly. - `share_url`: Channels share short link such as `https://weixin.qq.com/sph/AH3sCoIPhH`; used only when both IDs above are empty. Priority is `object_id > export_id > share_url`. Optional `object_nonce_id` is a numeric-string nonce, available as `feedNonceId` in search results, that can improve matching alongside an ID. Optional `raw` defaults to `true`; set it to `false` for a simplified result, recommended for media download workflows. ### Returned data - With `raw=false`, `data` is one video object with `id`, `username`, `nickname`, `title`, engagement counts, `create_time`, `object_type`, `location` and `media`. The media object contains `url`, `url_token`, the combined `full_url`, and `decode_key`. - With `raw=true`, the video is at `data.objects[0]`. Media is at `data.objects[0].objectDesc.media[0]`, with `url`, `urlToken` and `decodeKey`. The nested status is at `data.baseResponse.ret`. This tool returns information, not a downloaded or decrypted file. Use `full_url`, or concatenate the media URL and token, to obtain the complete media URL. Downloaded video may still require decryption; the encrypted file and key must come from the same response because every request returns a new link and key. Preserve large IDs as strings with lossless JSON parsing rather than JavaScript `Number`. Responses may be slow; set the client request timeout to 30 seconds.

VideoSocial
20.65 credits/call

Pricing

20.65 credits/call
ConditionCharge
Each call20.65 credits/call

20.65 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYes用于查询单个微信视频号作品详情的请求体对象。object_id、export_id、share_url 至少提供一个非空值,优先级为 object_id > export_id > share_url;object_nonce_id 可辅助匹配,raw 控制返回原始响应或精简结构。/Request body object for retrieving one WeChat Channels video's details. Provide at least one nonempty locator among object_id, export_id and share_url, in that priority order; object_nonce_id can assist matching, and raw selects the raw response or simplified structure.—
request_body.rawbooleanNoTrue=原始响应;False=精简解析结构(推荐做媒体下载)/True=raw response; False=simplified parsed structure (recommended for media download)true
request_body.export_idstring | nullNo搜索结果中的 exportId(export/ 开头,会过期,需尽快使用)/exportId from search results (starts with export/, expires soon)""
request_body.object_idstring | nullNo作品 objectId(纯数字,最优先)/Video objectId (numeric, highest priority)""
request_body.share_urlstring | nullNo视频号分享短链(https://weixin.qq.com/sph/…),仅在 object_id 与 export_id 都为空时使用/Share URL (https://weixin.qq.com/sph/…), used only when object_id and export_id are empty""
request_body.object_nonce_idstring | nullNo配套 objectNonceId(纯数字,可选,提升命中率)/Optional objectNonceId (numeric, improves hit rate)""

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_wechat_get_video_detail' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "raw": false,
      "share_url": "https://weixin.qq.com/sph/AKmRTGqz5E"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "comment_count": 2,
    "create_time": 1794310021,
    "description": "1张图,直接生成韩系女团MV!附提示词\n#AI视频 #KPOP #AI教程 #AIGC",
    "fav_count": 50,
    "id": "15051763398699125940",
    "title": "1张图,直接生成韩系女团MV!附提示词\n#AI视频 #KPOP #AI教程 #AIGC"
  },
  "docs": "https://api.tikhub.io/#/WeChat-Channels-V2-API/fetch_video_detail_api_v1_wechat_channels_v2_fetch_video_detail_post",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "request_id": "7604644f-d1ec-43f7-9f1a-b397e4059287"
}

This example shows part of the response. Copied content is valid JSON.