keywordstringwajib
Search keyword used to resolve a WeChat Channels account id.
https://api.sandbase.ai/v1/api/wechat-channels/search-accountLooks up a specific WeChat Channels account identity by keyword. Use it to resolve a creator name or account term to the identifier required by account-video queries.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Returns one WeChat Channels account that matches a search keyword. The response has the account nickname, signature, avatar images, verification info and the account username identifier. It needs one input, keyword.
username value needed by account-video queries.curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/search-account" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "人工智能"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword used to resolve a WeChat Channels account id. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"auth_info": {
"auth_icon_url": "",
"auth_profession": ""
},
"cover_url": "https://wx.qlogo.cn/finderhead/aXUpZVUYfjyhnicpkp3l5MvI4epIAk9NjzFnjia07kUZT1H2u…",
"head_url": "https://wx.qlogo.cn/finderhead/aXUpZVUYfjyhnicpkp3l5MvI4epIAk9NjzFnjia07kUZT1H2u…",
"nickname": "人工智能",
"signature": "❤️ 聚集人工…",
"username": "v2_060000231003b20faec8c7e48d1dc6d5c802e83db0770775bb566d2b495e6aae711d6d56bd04@…"
}
}
| Field | Meaning |
|---|---|
data.username | Account identifier string that ends in @finder. Pass it to account-video queries as the account id. |
data.nickname | Display name of the matched account. |
data.signature | Profile bio text of the account. It can contain line breaks (\n) and emoji. |
data.head_url / data.cover_url | Image URLs for the account avatar and cover. In this response both point to the same image. |
data.auth_info.auth_profession | Verified profession label of the account. It is an empty string when the account has none. |
data.auth_info.auth_icon_url | URL of the verification badge icon. It is an empty string when the account has no badge. |
data, not a list, so there is no pagination.data.username value, including the @finder suffix, into the next call.username to list the account's videos.$0.071429 per successful call. Failed calls are not charged.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/search-account" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "人工智能"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
keywordstringwajibSearch keyword used to resolve a WeChat Channels account id.
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
WeChat Channels | $0.071429 per panggilan | JSON |
WeChat Channels | $0.071429 per panggilan | JSON |
WeChat Channels | $0.021429 per panggilan | JSON |
WeChat Channels | $0.114286 per panggilan | JSON |
WeChat Channels | $0.01 per panggilan | JSON |
WeChat Channels | $0.01 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/wechat-channels/search-account 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.
$0.071429 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: keyword (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. WeChat Channels Account Search 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.