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.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
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 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
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의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"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 |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/wechat-channels/v2/channel-info에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.01, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: username (string). 선택: raw (boolean). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. WeChat Channels Account Info은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. WeChat Channels API 액세스를 별도로 신청할 필요는 없습니다.