usernamestringआवश्यक
WeChat Channels finder username (`v2_…@finder` format), e.g. `v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder` (People's Daily).
https://api.sandbase.ai/v1/api/wechat-channels/v2/channel-infoGet the public "More info" panel of a WeChat Channels account: Channel ID, IP and profile location, and verification details such as entity type, service category and license numbers.
[
{
"data": {
"debug_id": "4dc4e404",
"debug_info": "gAAAAABqxLkRkWaQbHzvMFB-JvPnfWMBgN0v8bBNkFvhAPYZB-ie5qLkEOJjTFKOwT1yMvAl0Fl2qPJN_ivLbR7Os9fu2q2TYKuQm70OE2KmJYEC8f2jZJ_GRCqkwCriEz2D8oOVcJiKWylxIRBhc32MW7ebuToJM7sofi9jJKcpaQbE_FZVQkZWvBkEN93vG5qKaFEQBhWVr2k1LiSuW82Y2BEWsIkcXov5ZBCbBEyvcm5kqcwxVFzlze2yNk9otA_ZIscnV_-pECkliAmALgktZsBhHYbP-w==",
"message": "请求参数可能有误(如无效的文章 URL / finder username / 视频 object_id),请检查参数后重试。注意:使用无效参数的请求被微信处理后仍会计费。"
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns the public "More info" panel of a WeChat Channels account: its Channel ID, IP and profile location, and verification details such as entity type, service unit and license number. It needs the account's finder username in v2_…@finder format.
curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/v2/channel-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"username": "v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder", "raw": false}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
username | string | Yes | WeChat Channels finder username (v2_…@finder format), e.g. v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder (People's Daily). |
raw | boolean | No | Optional, default True. True=raw response; False=simplified parsed structure. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"channel_id": null,
"debug_id": "d5953921",
"debug_info": "gAAAAABq6ZEgJFp75BVW0Qp9McV-keALwAbI5bKK1MWYdkOpd00m_UoF9XVOKT9eh3GsseHxU_WVPl2q…",
"finder_username": "v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@…",
"info": {
"Channels ID": "sphi9BjV8GK0Zsl",
"IP归属地": "Beijing",
"主体类型": "互联网新闻信息服务单位",
"互联网新闻信息服务许可证编号": "10120180018",
"服务单位": "人民日报社",
"服务类别": "互联网新闻信息采编发布服务、传播平台服务、采编发布服务、传播平台服务、采编发布服务、传播平台服务",
"认证时间": "Completed WeChat Verification on 2022年1月26日. Tencent and a third-party verificat…",
"资料所在地": "Beijing"
},
"sections": [
{
"items": [
{
"content": "Beijing",
"title": "IP归属地"
}
],
"title": "基础信息"
}
]
}
| Field | Meaning |
|---|---|
finder_username | The finder username you sent in the request. |
sections[].title | The name of a panel group, such as 基础信息 (basic info) or 认证信息 (verification info). |
sections[].items[].title / sections[].items[].content | The label and value of each row in a group. Rows include the Channel ID (a short ID that starts with sph), the IP location, the profile location, the service unit, the entity type and the license number. |
info.主体类型 | The entity type of the verified account. Here it is an internet news information service unit. |
info.服务单位 | The name of the organization that runs the account. |
info.互联网新闻信息服务许可证编号 | The internet news information service license number. |
info.服务类别 | The verified service categories, as one text string. Entries can repeat. |
info.认证时间 | Text that gives the date the account completed WeChat verification. |
info.资料所在地 | The profile location shown on the panel. It is Beijing in this example. |
channel_id | A top-level Channel ID field. It is null in this response. |
channel_id was null in this response. Read the Channel ID from the sections row whose title is Channels ID, or from the matching key in info.info object uses the panel labels as keys, so most keys are in Chinese and one is in English. Accounts with fewer verification details may return fewer keys.v2_…@finder username.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/v2/channel-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder",
"raw": false
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
usernamestringआवश्यकWeChat Channels finder username (`v2_…@finder` format), e.g. `v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder` (People's Daily).
rawbooleanOptional, default True. True=raw response; False=simplified parsed structure.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"debug_id": "4dc4e404",
"debug_info": "gAAAAABqxLkRkWaQbHzvMFB-JvPnfWMBgN0v8bBNkFvhAPYZB-ie5qLkEOJjTFKOwT1yMvAl0Fl2qPJN_ivLbR7Os9fu2q2TYKuQm70OE2KmJYEC8f2jZJ_GRCqkwCriEz2D8oOVcJiKWylxIRBhc32MW7ebuToJM7sofi9jJKcpaQbE_FZVQkZWvBkEN93vG5qKaFEQBhWVr2k1LiSuW82Y2BEWsIkcXov5ZBCbBEyvcm5kqcwxVFzlze2yNk9otA_ZIscnV_-pECkliAmALgktZsBhHYbP-w==",
"message": "请求参数可能有误(如无效的文章 URL / finder username / 视频 object_id),请检查参数后重试。注意:使用无效参数的请求被微信处理后仍会计费。"
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
WeChat Channels | $0.01 प्रति कॉल | JSON |
WeChat Channels | $0.01 प्रति कॉल | JSON |
WeChat Channels | $0.01 प्रति कॉल | JSON |
WeChat Channels | $0.01 प्रति कॉल | JSON |
WeChat Channels | $0.01 प्रति कॉल | JSON |
WeChat Channels | $0.01 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/wechat-channels/v2/channel-info पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: username (string)। वैकल्पिक: raw (boolean)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। WeChat Channels Account Info SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से WeChat Channels API access के लिए आवेदन करने की आवश्यकता नहीं है।