keywordstringआवश्यक
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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर 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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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": "人工智能"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
keywordstringआवश्यकSearch keyword used to resolve a WeChat Channels account id.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
WeChat Channels | $0.071429 प्रति कॉल | JSON |
WeChat Channels | $0.071429 प्रति कॉल | JSON |
WeChat Channels | $0.021429 प्रति कॉल | JSON |
WeChat Channels | $0.114286 प्रति कॉल | JSON |
WeChat Channels | $0.01 प्रति कॉल | JSON |
WeChat Channels | $0.01 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/wechat-channels/search-account पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.071429 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: keyword (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। WeChat Channels Account Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से WeChat Channels API access के लिए आवेदन करने की आवश्यकता नहीं है।