keywordstringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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": "人工智能"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
keywordstringrequeridoSearch keyword used to resolve a WeChat Channels account id.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
WeChat Channels Account SearchEsta API WeChat Channels | $0.071429 por llamada | JSON |
WeChat Channels | $0.071429 por llamada | JSON |
WeChat Channels | $0.021429 por llamada | JSON |
WeChat Channels | $0.114286 por llamada | JSON |
WeChat Channels | $0.01 por llamada | JSON |
WeChat Channels | $0.01 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/wechat-channels/search-account con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.071429 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: keyword (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. WeChat Channels Account Search funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de WeChat Channels por separado.