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.
- 가격
- $0.001USD / 호출
- 메서드
- POST
- 응답
- JSON
- 매개변수
- 필수 0개 · 선택 사항 0개
Playground
[
{
"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"
]
}
}
]예시
예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
API README
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.
빌드를 시작하세요
첫 요청 보내기
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
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. 인증
서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
3. 파라미터
이 API에 대해 게시된 파라미터 스키마가 없습니다.
4. 응답
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"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"
]
}
}
]더 살펴보기
관련 API
| API | 가격 | 응답 |
|---|---|---|
Zhihu | $0.001 / 호출 | JSON |
Zhihu | $0.005 / 호출 | JSON |
Zhihu | $0.001 / 호출 | JSON |
Zhihu | $0.001 / 호출 | JSON |
Zhihu | $0.001 / 호출 | JSON |
Zhihu | $0.001 / 호출 | JSON |
질문
FAQ
Zhihu Recommended Followees API를 어떻게 사용하나요?
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/zhihu/web/recommend-followees에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
Zhihu Recommended Followees API 비용은 얼마인가요?
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
Zhihu Recommended Followees API는 어떤 매개변수를 받나요?
Zhihu Recommended Followees은 입력 매개변수를 받지 않습니다. 빈 JSON 본문을 보내세요.
Zhihu Recommended Followees API는 무엇을 반환하나요?
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
Zhihu 개발자 계정이나 API 키가 필요한가요?
아니요. Zhihu Recommended Followees은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Zhihu API 액세스를 별도로 신청할 필요는 없습니다.
