export_idany
Second priority, optional. `exportId` from search results (must start with `export/`). Search results often only carry `exportId` without a plain object_id — pass export_id directly in that case (it expires, use it soon).
https://api.sandbase.ai/v1/api/wechat-channels/v2/video-detailGet the full detail of a WeChat Channels video: description, author, engagement counts and the media URL with decode key for download. Look up by object ID, export ID or share URL.
[
{
"data": {
"debug_id": "241bace1",
"debug_info": "gAAAAABqxLmUU4T1fNH5vpJZ4MSj7BBJFB_r90JbEi3as2l-IUfJiGHoL8xuBg000Jm3RVkb3jbqHu10PvlcbOb-3l4YjZG1taTXetZCQJR3sQFt03RsNcH4ijJoEy3dRjQwj8qJUhtV2lm6tyJeH_1ezVBuwTzwD35dMHXkAfvfY_13qT5FfqO-z-LZm0ZBXgyvi5VU5SVivYDkQaXjo4RA8JU7zgHjSRSabQLYR48Gn8FPrUuE2l5UtO6rJYi_lZcyAS2np_nUUheHwFWcejyhkQdrxBaMbQ==",
"message": "请求参数可能有误(如无效的文章 URL / finder username / 视频 object_id),请检查参数后重试。注意:使用无效参数的请求被微信处理后仍会计费。"
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Get a WeChat Channels (视频号) video by its object_id, export_id or share link: title, description, author, publish time and like, comment, forward, favorite and read counts.
curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/v2/video-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"object_id": "15026240326408735234", "raw": false}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
export_id | string | No | Second priority, optional. exportId from search results (must start with export/). Search results often only carry exportId without a plain object_id — pass export_id directly in that case (it expires, use it soon) |
object_id | string | No | Highest priority, optional. Video objectId (numeric), e.g. 14941130915890399732. Obtainable from the video id of fetch_user_videos / fetch_collection_videos. |
object_nonce_id | string | No | Optional. feedNonceId (numeric) from search results, pairs with the above to improve hit rate. |
raw | boolean | No | Optional, default True. True=raw response; False=simplified parsed structure (recommended for media download). |
share_url | string | No | Last, optional. Channels share URL (https://weixin.qq.com/sph/…), e.g. https://weixin.qq.com/sph/AH3sCoIPhH. Used only when both object_id and export_id are empty. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"id": "15026240326408735234",
"title": "18岁生日当天,无证醉驾被查。小伙一听要拘留,脱口而出:“能不能让我爸去……”@安徽警方 \n",
"description": "18岁生日当天,无证醉驾被查。小伙一听要拘留,脱口而出:“能不能让我爸去……”@安徽警方 \n",
"nickname": "人民日报",
"username": "v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@…",
"create_time": 1791267433,
"like_count": 7273,
"comment_count": 41,
"forward_count": 14324,
"fav_count": 17302,
"read_count": 0,
"object_nonce_id": "2216029447755799692"
}
| Field | Meaning |
|---|---|
id | Video object_id. |
title / description | Title and description. |
nickname / username | Account display name and internal username. |
create_time | Publish time, Unix seconds. |
like_count / comment_count / forward_count / fav_count / read_count | Engagement counts. |
object_nonce_id | Nonce needed together with object_id by the comment APIs. |
object_id takes priority, then export_id, then share_url.raw: true to get the unprocessed upstream payload.$0.01 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/v2/video-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"object_id": "15026240326408735234",
"raw": false
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
export_idanySecond priority, optional. `exportId` from search results (must start with `export/`). Search results often only carry `exportId` without a plain object_id — pass export_id directly in that case (it expires, use it soon).
object_idanyHighest priority, optional. Video objectId (numeric), e.g. `14941130915890399732`. Obtainable from the video `id` of `fetch_user_videos` / `fetch_collection_videos`.
object_nonce_idanyOptional. `feedNonceId` (numeric) from search results, pairs with the above to improve hit rate.
rawbooleanOptional, default True. True=raw response; False=simplified parsed structure (recommended for media download).
share_urlanyLast, optional. Channels share URL (`https://weixin.qq.com/sph/…`), e.g. `https://weixin.qq.com/sph/AH3sCoIPhH`. Used only when both object_id and export_id are empty.
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"debug_id": "241bace1",
"debug_info": "gAAAAABqxLmUU4T1fNH5vpJZ4MSj7BBJFB_r90JbEi3as2l-IUfJiGHoL8xuBg000Jm3RVkb3jbqHu10PvlcbOb-3l4YjZG1taTXetZCQJR3sQFt03RsNcH4ijJoEy3dRjQwj8qJUhtV2lm6tyJeH_1ezVBuwTzwD35dMHXkAfvfY_13qT5FfqO-z-LZm0ZBXgyvi5VU5SVivYDkQaXjo4RA8JU7zgHjSRSabQLYR48Gn8FPrUuE2l5UtO6rJYi_lZcyAS2np_nUUheHwFWcejyhkQdrxBaMbQ==",
"message": "请求参数可能有误(如无效的文章 URL / finder username / 视频 object_id),请检查参数后重试。注意:使用无效参数的请求被微信处理后仍会计费。"
}
}
]더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
WeChat Channels | $0.01 / 호출 | JSON |
WeChat Channels | $0.01 / 호출 | JSON |
WeChat Channels | $0.01 / 호출 | JSON |
WeChat Channels | $0.01 / 호출 | JSON |
WeChat Channels | $0.01 / 호출 | JSON |
WeChat Channels | $0.01 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/wechat-channels/v2/video-detail에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.01, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수 매개변수는 없습니다. 선택: export_id (any), object_id (any), object_nonce_id (any), raw (boolean) 및 share_url (any). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. WeChat Channels Video Detail은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. WeChat Channels API 액세스를 별도로 신청할 필요는 없습니다.