Get the videos on a WeChat Channels account's homepage with descriptions, publish time, like, comment, share and favorite counts, and media download info, with cursor pagination.
Harga
$0.01USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 2 opsional
Playground
Input
WeChat Channels finder username (`v2_…@finder` format), e.g. `v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder` (People's Daily). See `fetch_channel_info` / `fetch_video_detail` / `fetch_channel_id_to_username` docs for how to obtain it.
Optional pagination cursor (base64). **Leave empty for the first page**; when `up_continue` in the response is truthy, pass the previous page's `last_buffer` to get the next page. (base64 contains `+//=` characters, hence body instead of query.)
Optional, default True. True=raw response; False=simplified parsed structure (recommended for media download).
Pilih contoh untuk memuat input dan hasilnya ke playground.
README API
WeChat Channels User Videos API
Returns the videos on a WeChat Channels account's homepage, with descriptions, publish time, engagement counts and media download info. It needs the account's finder username (v2_…@finder format).
Use cases
Track new posts from a news outlet or brand account on WeChat Channels.
Compare likes, comments, shares and favorites across an account's recent videos.
Collect media.full_url and media.decode_key values to archive videos.
Page through an account's full video history with the last_buffer cursor.
WeChat Channels finder username (v2_…@finder format), e.g. v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder (People's Daily). See fetch_channel_info / fetch_video_detail / `f
last_buffer
string
No
Optional pagination cursor (base64). Leave empty for the first page; when up_continue in the response is truthy, pass the previous page's last_buffer to get the next page. (base64 contains +//= characters, henc
raw
boolean
No
Optional, default True. True=raw response; False=simplified parsed structure (recommended for media download).
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
Variabel lingkungan API key
export SANDBASE_API_KEY="YOUR_API_KEY"
Simpan key Anda di server. Jangan tampilkan di kode browser.
3. Parameter
usernamestringwajib
WeChat Channels finder username (`v2_…@finder` format), e.g. `v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder` (People's Daily). See `fetch_channel_info` / `fetch_video_detail` / `fetch_channel_id_to_username` docs for how to obtain it.
last_bufferany
Optional pagination cursor (base64). **Leave empty for the first page**; when `up_continue` in the response is truthy, pass the previous page's `last_buffer` to get the next page. (base64 contains `+//=` characters, hence body instead of query.)
rawboolean
Optional, default True. True=raw response; False=simplified parsed structure (recommended for media download).
4. Respons
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Bagaimana cara menggunakan API WeChat Channels User Videos?
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/wechat-channels/v2/user-videos dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
Berapa biaya API WeChat Channels User Videos?
$0.01 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Parameter apa yang diterima API WeChat Channels User Videos?
Wajib: username (string). Opsional: last_buffer (any) dan raw (boolean). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Apa yang dikembalikan API WeChat Channels User Videos?
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Apakah saya memerlukan akun developer atau kunci API WeChat Channels?
Tidak. WeChat Channels User Videos berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API WeChat Channels secara terpisah.