Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

WeChat Channels Video Detail

Tài liệu API
https://api.sandbase.ai/v1/api/wechat-channels/v2/video-detail

Get 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.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 5 tùy chọn

Phòng thử nghiệm

Đầu vào
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).
Highest priority, optional. Video objectId (numeric), e.g. `14941130915890399732`. Obtainable from the video `id` of `fetch_user_videos` / `fetch_collection_videos`.
Optional. `feedNonceId` (numeric) from search results, pairs with the above to improve hit rate.
Optional, default True. True=raw response; False=simplified parsed structure (recommended for media download).
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.
Đầu raVí dụ
Phản hồioutputs · 483 B · 9 dòng
[
  {
    "data": {
      "debug_id": "241bace1",
      "debug_info": "gAAAAABqxLmUU4T1fNH5vpJZ4MSj7BBJFB_r90JbEi3as2l-IUfJiGHoL8xuBg000Jm3RVkb3jbqHu10PvlcbOb-3l4YjZG1taTXetZCQJR3sQFt03RsNcH4ijJoEy3dRjQwj8qJUhtV2lm6tyJeH_1ezVBuwTzwD35dMHXkAfvfY_13qT5FfqO-z-LZm0ZBXgyvi5VU5SVivYDkQaXjo4RA8JU7zgHjSRSabQLYR48Gn8FPrUuE2l5UtO6rJYi_lZcyAS2np_nUUheHwFWcejyhkQdrxBaMbQ==",
      "message": "请求参数可能有误(如无效的文章 URL / finder username / 视频 object_id),请检查参数后重试。注意:使用无效参数的请求被微信处理后仍会计费。"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

WeChat Channels Video Detail API

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.

Use cases

  • Track engagement of WeChat Channels videos.
  • Identify the account behind a shared Channels video.

Request

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.

Parameters

NameTypeRequiredDescription
export_idstringNoSecond 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_idstringNoHighest priority, optional. Video objectId (numeric), e.g. 14941130915890399732. Obtainable from the video id of fetch_user_videos / fetch_collection_videos.
object_nonce_idstringNoOptional. feedNonceId (numeric) from search results, pairs with the above to improve hit rate.
rawbooleanNoOptional, default True. True=raw response; False=simplified parsed structure (recommended for media download).
share_urlstringNoLast, 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.

Example response

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"
}

Response fields

FieldMeaning
idVideo object_id.
title / descriptionTitle and description.
nickname / usernameAccount display name and internal username.
create_timePublish time, Unix seconds.
like_count / comment_count / forward_count / fav_count / read_countEngagement counts.
object_nonce_idNonce needed together with object_id by the comment APIs.

Notes

  • Pass one identifier: object_id takes priority, then export_id, then share_url.
  • Set raw: true to get the unprocessed upstream payload.

Pricing

$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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
WeChat Channels$0.01 mỗi lần gọiJSON
WeChat Channels$0.01 mỗi lần gọiJSON
WeChat Channels$0.01 mỗi lần gọiJSON
WeChat Channels$0.01 mỗi lần gọiJSON
WeChat Channels$0.01 mỗi lần gọiJSON
WeChat Channels$0.01 mỗi lần gọiJSON

Hướng dẫn:Best WeChat Channels API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API WeChat Channels Video Detail?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/wechat-channels/v2/video-detail với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API WeChat Channels Video Detail có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API WeChat Channels Video Detail chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: export_id (any), object_id (any), object_nonce_id (any), raw (boolean) và share_url (any). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API WeChat Channels Video Detail trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của WeChat Channels không?

Không. WeChat Channels Video Detail chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của WeChat Channels.