usernamestringobbligatorio
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),请检查参数后重试。注意:使用无效参数的请求被微信处理后仍会计费。"
}
}
]Seleziona un esempio per caricare i suoi input e il risultato nel playground.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
usernamestringobbligatorioWeChat Channels finder username (`v2_…@finder` format), e.g. `v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder` (People's Daily).
rawbooleanOptional, default True. True=raw response; False=simplified parsed structure.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
[
{
"data": {
"debug_id": "4dc4e404",
"debug_info": "gAAAAABqxLkRkWaQbHzvMFB-JvPnfWMBgN0v8bBNkFvhAPYZB-ie5qLkEOJjTFKOwT1yMvAl0Fl2qPJN_ivLbR7Os9fu2q2TYKuQm70OE2KmJYEC8f2jZJ_GRCqkwCriEz2D8oOVcJiKWylxIRBhc32MW7ebuToJM7sofi9jJKcpaQbE_FZVQkZWvBkEN93vG5qKaFEQBhWVr2k1LiSuW82Y2BEWsIkcXov5ZBCbBEyvcm5kqcwxVFzlze2yNk9otA_ZIscnV_-pECkliAmALgktZsBhHYbP-w==",
"message": "请求参数可能有误(如无效的文章 URL / finder username / 视频 object_id),请检查参数后重试。注意:使用无效参数的请求被微信处理后仍会计费。"
}
}
]Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
WeChat Channels Account InfoQuesta API WeChat Channels | $0.01 per chiamata | JSON |
WeChat Channels | $0.01 per chiamata | JSON |
WeChat Channels | $0.01 per chiamata | JSON |
WeChat Channels | $0.01 per chiamata | JSON |
WeChat Channels | $0.01 per chiamata | JSON |
WeChat Channels | $0.01 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/wechat-channels/v2/channel-info con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.01 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: username (string). Facoltativi: raw (boolean). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. WeChat Channels Account Info funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API WeChat Channels.