Zhihu Recommended Followees
https://api.sandbase.ai/v1/api/zhihu/web/recommend-followeesReturns a list of recommended users to follow on Zhihu. Access personalized author and contributor suggestions directly from Zhihu web.
- Precio
- $0.001USD / llamada
- Método
- POST
- Respuesta
- JSON
- Parámetros
- 0 obligatorios · 0 opcionales
Entorno de pruebas
[
{
"data": {
"data": [
{
"actor": {
"avatar_url": "https://pic1.zhimg.com/v2-463c0e8b3df30c11bce9ac122ea661e8_l.jpg?source=a0c391dc",
"badge": [
{
"description": "优秀答主",
"topic_names": [
"装修",
"智能家居",
"家居",
"… 1 more items in the full response"
],
"topics": [],
"type": "best_answerer"
}
],
"badge_v2": {
"detail_badges": null,
"merged_badges": [
{
"badge_status": "passed",
"description": "新知答主",
"detail_type": "best",
"icon": "",
"night_icon": "",
"sources": null,
"title": "年度新知答主",
"type": "best",
"url": "https://www.zhihu.com/question/510340037"
}
],
"title": "新知答主"
},
"description": "人生是所有体验的总和|真正的英雄主义,是认清生活之后,依旧热爱生活。 商务联系jiajia9911_ 不接代发",
"gender": 0,
"headline": "养猫和养娃的去家务化研究砖家",
"id": "fe6fbcf711e87106974a047bcc645229",
"is_followed": false,
"is_following": false,
"is_org": false,
"name": "小原嘉-嘉嘉",
"type": "people",
"url": "https://www.zhihu.com/people/dachun_zh",
"url_token": "dachun_zh",
"user_status": null,
"user_type": "people",
"vip_info": {
"is_vip": false,
"vip_icon": {
"night_mode_url": "",
"url": ""
},
"widget": {
"id": 40137,
"night_mode_url": "https://picx.zhimg.com/v2-eaaa8dcaa282ce1d8af720b574f0a055_r.jpg?source=a0c391dc",
"url": "https://pic1.zhimg.com/v2-262be75d1ba67017d56d505cb2bdd759_r.jpg?source=a0c391dc"
}
}
},
"attached_info": "",
"personal_desc": "新知答主",
"reason": "「家居生活」领域答主"
},
{
"actor": {
"avatar_url": "https://picx.zhimg.com/v2-1e3776027c3b8502ebdbe57462b62abc_l.jpg?source=a0c391dc",
"badge": [],
"badge_v2": {
"detail_badges": null,
"merged_badges": [],
"title": ""
},
"description": "",
"exposed_medal": {
"avatar_url": "https://pic1.zhimg.com/v2-031decfcd302afca5dd290ce2e7b7a84_720w.jpg?source=a0c391dc",
"medal_avatar_frame": "",
"medal_id": "972475023013875712"
},
"gender": 1,
"headline": "170m²平层装修完毕,家居家电测评!合作+WFR8235",
"id": "9bdd64da98595b85f387b4d886859997",
"is_followed": false,
"is_following": false,
"is_org": false,
"name": "墨十一",
"type": "people",
"url": "https://www.zhihu.com/people/chen-yu-hang-80",
"url_token": "chen-yu-hang-80",
"user_status": null,
"user_type": "people",
"vip_info": {
"is_vip": false,
"vip_icon": {
"night_mode_url": "",
"url": ""
},
"widget": {
"id": 0,
"night_mode_url": "",
"url": ""
}
}
},
"attached_info": "",
"personal_desc": "170m²平层装修完毕,家居家电测评!合作+WFR8235",
"reason": "你可能感兴趣"
},
{
"actor": {
"avatar_url": "https://pica.zhimg.com/v2-64034071c33a755d8086b5308a39cd87_l.jpg?source=a0c391dc",
"badge": [],
"badge_v2": {
"detail_badges": null,
"merged_badges": [],
"title": ""
},
"description": "",
"exposed_medal": {
"avatar_url": "https://pic1.zhimg.com/v2-79e46f20205541a4c5aab1df99e39599_720w.jpg?source=a0c391dc",
"medal_avatar_frame": "",
"medal_id": "972477022068568064"
},
"gender": 1,
"headline": "擅长科技汽车、数码家电、商业分析,一个人懂互联网的资深职场人",
"id": "3226d80e6c308b28f0bcc9da87251a3a",
"is_followed": false,
"is_following": false,
"is_org": false,
"name": "韩老九",
"type": "people",
"url": "https://www.zhihu.com/people/a-feng-36-86",
"url_token": "a-feng-36-86",
"user_status": null,
"user_type": "people",
"vip_info": {
"is_vip": false,
"vip_icon": {
"night_mode_url": "",
"url": ""
},
"widget": {
"id": 0,
"night_mode_url": "",
"url": ""
}
}
},
"attached_info": "",
"personal_desc": "擅长科技汽车、数码家电、商业分析,一个人懂互联网的资深职场人",
"reason": "「家居生活」领域答主"
},
"… 9 more items in the full response"
]
}
}
]Ejemplos
Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.
README de la API
Zhihu Recommended Followees API
Returns a list of Zhihu users that Zhihu recommends the current account to follow. It needs no input: send an empty JSON object {}.
Use cases
- Show a list of suggested Zhihu accounts in an onboarding or discovery screen.
- Collect creators tagged with a topic area, such as AI or technology, using the
reasontext. - Find verified and official accounts by reading the badge fields.
- Build a seed list of user IDs to look up in more detail.
Request
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/recommend-followees" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [
{
"actor": {
"avatar_url": "https://picx.zhimg.com/v2-e8a4e76a1420ca566c932936ad0f04d6_l.jpg?source=a0c391dc",
"badge": [],
"badge_v2": {
"detail_badges": null,
"merged_badges": [],
"title": ""
},
"description": "",
"exposed_medal": {
"avatar_url": "https://pic1.zhimg.com/v2-340c50d93c8821c172477e82f0f4e08e_720w.jpg?source=a0c39…",
"medal_avatar_frame": "",
"medal_id": "972473506181627904"
},
"gender": -1,
"headline": "靠谱科普 就看果壳",
"id": "486e2e8a3d77380f1607d6de0fd27c10"
},
"attached_info": "",
"personal_desc": "靠谱科普 就看果壳",
"reason": "「人工智能」领域答主"
}
]
}
Response fields
| Field | Meaning |
|---|---|
data[] | One recommended user. Each item holds the user details in actor and the reason for the suggestion. |
data[].actor.id | The user's ID, a 32-character hex string. Use it to look up the user in other Zhihu APIs. |
data[].actor.headline | The short tagline shown under the user's name. |
data[].actor.description | The user's profile description. It can be an empty string. |
data[].actor.avatar_url | Link to the user's avatar image. |
data[].reason | Why Zhihu suggests this user, for example a topic area the user answers in or 你可能感兴趣 (you may be interested). |
data[].personal_desc | A short description of the user. It often matches the headline or the badge text. |
data[].actor.badge[].description / data[].actor.badge_v2.title | The verified identity text of the user, such as an official account or a job title. Both are empty when the user has no badge. |
data[].actor.badge_v2.merged_badges[].badge_status | Verification status of the badge. The sample shows passed. |
data[].actor.is_followed | Whether the current account already follows this user. It does not appear on every item. |
Notes
- The request takes no parameters, so send
{}as the body. - The sample response has no pagination fields.
- Take
data[].actor.idand pass it to Zhihu Web User Profile for the full profile. - Use Zhihu User Answers to read what a recommended user has written.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Empiece a construir
Envíe su primera solicitud
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/recommend-followees" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Autenticación
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.
3. Parámetros
No se ha publicado un esquema de parámetros para esta API.
4. Respuesta
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"data": {
"data": [
{
"actor": {
"avatar_url": "https://pic1.zhimg.com/v2-463c0e8b3df30c11bce9ac122ea661e8_l.jpg?source=a0c391dc",
"badge": [
{
"description": "优秀答主",
"topic_names": [
"装修",
"智能家居",
"家居",
"… 1 more items in the full response"
],
"topics": [],
"type": "best_answerer"
}
],
"badge_v2": {
"detail_badges": null,
"merged_badges": [
{
"badge_status": "passed",
"description": "新知答主",
"detail_type": "best",
"icon": "",
"night_icon": "",
"sources": null,
"title": "年度新知答主",
"type": "best",
"url": "https://www.zhihu.com/question/510340037"
}
],
"title": "新知答主"
},
"description": "人生是所有体验的总和|真正的英雄主义,是认清生活之后,依旧热爱生活。 商务联系jiajia9911_ 不接代发",
"gender": 0,
"headline": "养猫和养娃的去家务化研究砖家",
"id": "fe6fbcf711e87106974a047bcc645229",
"is_followed": false,
"is_following": false,
"is_org": false,
"name": "小原嘉-嘉嘉",
"type": "people",
"url": "https://www.zhihu.com/people/dachun_zh",
"url_token": "dachun_zh",
"user_status": null,
"user_type": "people",
"vip_info": {
"is_vip": false,
"vip_icon": {
"night_mode_url": "",
"url": ""
},
"widget": {
"id": 40137,
"night_mode_url": "https://picx.zhimg.com/v2-eaaa8dcaa282ce1d8af720b574f0a055_r.jpg?source=a0c391dc",
"url": "https://pic1.zhimg.com/v2-262be75d1ba67017d56d505cb2bdd759_r.jpg?source=a0c391dc"
}
}
},
"attached_info": "",
"personal_desc": "新知答主",
"reason": "「家居生活」领域答主"
},
{
"actor": {
"avatar_url": "https://picx.zhimg.com/v2-1e3776027c3b8502ebdbe57462b62abc_l.jpg?source=a0c391dc",
"badge": [],
"badge_v2": {
"detail_badges": null,
"merged_badges": [],
"title": ""
},
"description": "",
"exposed_medal": {
"avatar_url": "https://pic1.zhimg.com/v2-031decfcd302afca5dd290ce2e7b7a84_720w.jpg?source=a0c391dc",
"medal_avatar_frame": "",
"medal_id": "972475023013875712"
},
"gender": 1,
"headline": "170m²平层装修完毕,家居家电测评!合作+WFR8235",
"id": "9bdd64da98595b85f387b4d886859997",
"is_followed": false,
"is_following": false,
"is_org": false,
"name": "墨十一",
"type": "people",
"url": "https://www.zhihu.com/people/chen-yu-hang-80",
"url_token": "chen-yu-hang-80",
"user_status": null,
"user_type": "people",
"vip_info": {
"is_vip": false,
"vip_icon": {
"night_mode_url": "",
"url": ""
},
"widget": {
"id": 0,
"night_mode_url": "",
"url": ""
}
}
},
"attached_info": "",
"personal_desc": "170m²平层装修完毕,家居家电测评!合作+WFR8235",
"reason": "你可能感兴趣"
},
{
"actor": {
"avatar_url": "https://pica.zhimg.com/v2-64034071c33a755d8086b5308a39cd87_l.jpg?source=a0c391dc",
"badge": [],
"badge_v2": {
"detail_badges": null,
"merged_badges": [],
"title": ""
},
"description": "",
"exposed_medal": {
"avatar_url": "https://pic1.zhimg.com/v2-79e46f20205541a4c5aab1df99e39599_720w.jpg?source=a0c391dc",
"medal_avatar_frame": "",
"medal_id": "972477022068568064"
},
"gender": 1,
"headline": "擅长科技汽车、数码家电、商业分析,一个人懂互联网的资深职场人",
"id": "3226d80e6c308b28f0bcc9da87251a3a",
"is_followed": false,
"is_following": false,
"is_org": false,
"name": "韩老九",
"type": "people",
"url": "https://www.zhihu.com/people/a-feng-36-86",
"url_token": "a-feng-36-86",
"user_status": null,
"user_type": "people",
"vip_info": {
"is_vip": false,
"vip_icon": {
"night_mode_url": "",
"url": ""
},
"widget": {
"id": 0,
"night_mode_url": "",
"url": ""
}
}
},
"attached_info": "",
"personal_desc": "擅长科技汽车、数码家电、商业分析,一个人懂互联网的资深职场人",
"reason": "「家居生活」领域答主"
},
"… 9 more items in the full response"
]
}
}
]Explorar más
APIs relacionadas
| API | Precio | Respuesta |
|---|---|---|
Zhihu Recommended FolloweesEsta API Zhihu | $0.001 por llamada | JSON |
Zhihu | $0.005 por llamada | JSON |
Zhihu | $0.001 por llamada | JSON |
Zhihu | $0.001 por llamada | JSON |
Zhihu | $0.001 por llamada | JSON |
Zhihu | $0.001 por llamada | JSON |
Preguntas
FAQ
¿Cómo uso la API de Zhihu Recommended Followees?
Envía una solicitud POST a https://api.sandbase.ai/v1/api/zhihu/web/recommend-followees 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.
¿Cuánto cuesta la API de Zhihu Recommended Followees?
$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
¿Qué parámetros acepta la API de Zhihu Recommended Followees?
Zhihu Recommended Followees no acepta parámetros de entrada; envía un cuerpo JSON vacío.
¿Qué devuelve la API de Zhihu Recommended Followees?
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
¿Necesito una cuenta de desarrollador o una clave API de Zhihu?
No. Zhihu Recommended Followees 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 Zhihu por separado.
