Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

WeChat Channels Video Download URL

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.

價格
$0.042857美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
WeChat Channels video object id used to fetch downloadable media links.
Optional WeChat Channels object nonce id. Supplying it can improve media lookup accuracy.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

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.

探索更多

相關 APIs

所有 APIs
API價格回應
WeChat Channels每次呼叫 $0.042857JSON
WeChat Channels每次呼叫 $0.071429JSON
WeChat Channels每次呼叫 $0.021429JSON
WeChat Channels每次呼叫 $0.071429JSON
WeChat Channels每次呼叫 $0.114286JSON
WeChat Channels每次呼叫 $0.01JSON

指南:Best WeChat Channels API in 2026: Pricing Compared

問題

常見問題

我要如何使用 WeChat Channels Video Download URL API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/wechat-channels/video-download-url。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

WeChat Channels Video Download URL API 的費用是多少?

每次 $0.042857,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

WeChat Channels Video Download URL API 接受哪些參數?

必要:objectId (string)。 選填:objectNonceId (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

WeChat Channels Video Download URL API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 WeChat Channels 開發者帳號或 API 金鑰嗎?

不需要。WeChat Channels Video Download URL 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 WeChat Channels API 存取權。