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 Download URL

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

Get a downloadable media URL for a WeChat Channels video by object ID and optional nonce ID. Use it to download or play media from a known Channels video.

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

Phòng thử nghiệm

Đầu vào
WeChat Channels video object id used to fetch downloadable media links.
Optional WeChat Channels object nonce id. Supplying it can improve media lookup accuracy.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

WeChat Channels Video Download URL API

Returns a download URL for a WeChat Channels video, plus cover and thumbnail URLs and basic post details such as title, author name, and engagement counts. It needs the video objectId, and accepts an optional objectNonceId.

Use cases

  • Download a known Channels video file for archiving or offline review.
  • Play a Channels video in your own tool using the returned download_url.
  • Save the cover image and title of a video next to the media file.
  • Record the like, comment, and forward counts of a video at the time of download.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/video-download-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"objectId": "14941130915890399732"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
objectIdstringYesWeChat Channels video object id used to fetch downloadable media links.
objectNonceIdstringNoOptional WeChat Channels object nonce id. Supplying it can improve media lookup accuracy.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "comment_count": 97,
  "cover_url": "https://finder.video.qq.com/251/20304/stodownload?encfilekey=KGDRibp2wkicK7MMrxH…",
  "download_url": "http://47.117.133.51:30015/media/weixin-channels/download/bddf15ad0c5646a99ff86e…",
  "fav_count": 13502,
  "file_size": 2018860,
  "forward_count": 614382,
  "like_count": 9158,
  "media_type": 4,
  "nickname": "人民日报",
  "object_id": "14941130915890399732",
  "object_nonce_id": "13119916…",
  "publish_time": "2026-06-11 04:00:01"
}

Response fields

FieldMeaning
download_urlLink to the video media file. The URL carries a signature query parameter.
cover_url / thumb_urlImage links for the video cover and its thumbnail.
titleCaption text of the video, including any hashtags.
nicknameDisplay name of the account that posted the video.
publish_timePublish time as a YYYY-MM-DD HH:MM:SS string.
like_count / fav_count / forward_count / comment_countEngagement counts for the video: likes, favorites, forwards, and comments.
file_sizeSize of the media file. The response does not state the unit.
video_play_lenPlay length of the video. The value 15 is the only hint, and the response does not state the unit.
object_id / object_nonce_idThe video's object ID and nonce ID. You can reuse them in other Channels calls.
media_typeNumeric media type code. The response shows 4 for this video and does not explain the code.

Notes

Pricing

$0.042857 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
WeChat Channels$0.042857 mỗi lần gọiJSON
WeChat Channels$0.071429 mỗi lần gọiJSON
WeChat Channels$0.021429 mỗi lần gọiJSON
WeChat Channels$0.071429 mỗi lần gọiJSON
WeChat Channels$0.114286 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 Download URL?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/wechat-channels/video-download-url 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 Download URL có giá bao nhiêu?

$0.042857 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 Download URL chấp nhận những tham số nào?

Bắt buộc: objectId (string). Tùy chọn: objectNonceId (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API WeChat Channels Video Download URL 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 Download URL 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.