欢迎访问极媒数据 · 新媒体数据服务平台 登录 免费注册 控制台
新媒体数据
服务平台
首页接口文档视频号获取指定视频号 ID

获取指定视频号 ID

视频号¥0.15/次每分钟 30 次

请求地址 POST https://www.xmedi.cn/api/v1/wechat/channels/resolve。调用成功才扣费,参数错误、平台侧失败或超时不扣费。

请求参数

字段类型必填说明
channel_id string 否 视频号 ID(sph 开头)
nickname string 否 视频号昵称(上游无按昵称反查能力,只传昵称会 400)
url string 否 视频号分享短链 https://weixin.qq.com/sph/…
username string 否 视频号 finder username(v2_…@finder)

返回 data 字段

字段类型说明
channel_idstring
nicknamestring

调用示例

curl -X POST https://www.xmedi.cn/api/v1/wechat/channels/resolve \
  -H "X-XMEDI-Key: xm_live_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"username":"人民日报"}'

需要接入这个接口?

注册后创建 API Key,或留下联系方式获取方案

免费注册