Kuaishou User Hot Posts
https://api.sandbase.ai/v1/api/kuaishou/app/user-hot-postReturns popular posts from a specified Kuaishou user profile, including captions and interaction metrics such as comments and collects.
- Harga
- $0.001USD / panggilan
- Metode
- POST
- Respons
- JSON
- Parameter
- 1 wajib · 1 opsional
Playground
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
README API
Kuaishou User Hot Posts API
Returns a list of popular posts from one Kuaishou user profile. Each post includes the caption, video duration, cover images, and counts for likes, comments, collects and forwards. The only required input is the user's numeric user_id.
Use cases
- Rank a creator's posts by
like_countto find which videos performed best. - Compare
comment_countandcollect_countacross a creator's popular posts to see which content gets saved or discussed. - Collect
captiontext and hashtags from top posts to study how a creator titles popular videos. - Download cover image URLs from
cover_thumbnail_urlsto build a gallery of a creator's top posts.
Request
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/user-hot-post" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "3795214411"}'
The result is returned in outputs[0].data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | |
pcursor | string | No |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"feeds": [
{
"adminTags": [],
"bottomEntryInfo": {
"bizExtraData": {},
"bottomBizType": 14,
"bottomStyleInfo": {
"bottomStrongStyle": {
"actionUrl": "",
"backgroundColor": "",
"bottomStrongStyleType": 0,
"enableForceClose": false,
"fontColor": "",
"fontSize": 0,
"iconHeight": 0,
"iconUrl": ""
},
"bottomWeakStyle": {
"actionUrl": "kwai://search?keyword=回村往事&sessionId=MzIwXzBfMTc5MzY5MTM3MTEwN19fMjE3MA&source=s…",
"backgroundColor": "#444444",
"bottomWeakStyleType": 0,
"enableForceClose": false,
"fontColor": "#FFFFFF",
"fontSize": 13,
"iconHeight": 48,
"iconRightMargin": 4.0
},
"delayShowWeakStyle": false,
"playVideoEndToStrongMillis": 0,
"showStrongVideoCountdownMillis": 0,
"showStrongVideoMillis": 0,
"strongStyleCloseHideWeakStyle": false,
"styleTriggers": []
},
"eventTrackData": {
"all_source": "p2q_semantic_recall_v4",
"entry_source": "search_entrance_featured_bottom_bar_profile",
"is_hotbar": "\u0000",
"query_id": "189c614ada146afe04ed891f00542f89",
"query_list_id": "MzIwXzBfMTc5MzY5MTM3MTEwN19fMjE3MA",
"query_name": "回村往事",
"rel_score": "0.957747",
"stg_recall_source": "p2q_semantic_recall_v4"
}
},
"canShowQuickCommentGuide": true,
"caption": "回村往事@李秀妍u(O4489551526) #李秀妍u",
"captionToComment": "回村往事@李秀妍u(O4489551526) #李秀妍u",
"collect_count": 8386,
"commentGuessSearch": {
"displayPrefix": "相关搜索:",
"extParams": "{\"all_source\":\"p2q_semantic_recall_v8,p2q_recall_exp_v17\",\"entrySource\":\"search_…",
"iconUrl": "https://ali2.a.kwimgs.com/udata/pkg/se-cdn/search_blue3x.png",
"searchWord": "李秀妍和榜一大哥的视频",
"searchWordMD5": "c541e248be165bd097c418eb43aa4a47",
"searchWordUrl": "kwai://search?keyword=李秀妍和榜一大哥的视频&sessionId=MzIwXzBfMTc5MzY5MTM3MTEwN19fMjE3MA&s…",
"sessionId": "MzIwXzBf…"
},
"commentInfo": {
"commentCountSpecialEffect": true,
"commentEducationGuide": {
"guideType": 0,
"triggerCharCount": 0
},
"commentIconType": 0,
"enableAIPresetGuide": false,
"permissions": 191
},
"commentTopBarPriority": [
{
"bizType": "PLC",
"subBizType": "51"
}
],
"comment_count": 4097,
"contactRelationFriend": false,
"coronaVipInfo": {
"enableFilmAd": false,
"filmAdInfo": {
"pageId": 100014436,
"posId": 9777,
"subPageId": 100017199
},
"inspireAdInfo": {
"pageId": 100011251,
"posId": 20578,
"subPageId": 100024209
},
"vipPhoto": false
}
}
],
"host-name": "public-bjx-c34-kce-node2128.idchb1az1.hb1.kwaidc.com",
"isUnfollowFeeds": false,
"llsid": "2006449521242258738",
"pcursor": "20",
"result": 1
}
Response fields
| Field | Meaning |
|---|---|
feeds[] | One popular post from the user's profile. |
feeds[].caption | Post text, including hashtags and @mentions. It can be an empty string. |
feeds[].like_count / feeds[].comment_count / feeds[].collect_count / feeds[].forward_count | Counts of likes, comments, collects and forwards for the post. |
feeds[].duration | Length of the video as a number, for example 129349. The ext_params.video field holds a nearly identical number. |
feeds[].ext_params.w / feeds[].ext_params.h | Video width and height values, for example 720 and 960. |
feeds[].cover_thumbnail_urls[].url | Cover image URL for the post. Each entry also has a cdn host name. |
feeds[].headurls[].url | Avatar image URL of the post author. Each entry also has a cdn host name. |
feeds[].commentGuessSearch.searchWord | Suggested related search phrase shown with the post's comments. |
feeds[].editInfo.editTime | Time the post was last edited, as a 13-digit timestamp such as 1775816488646. |
feeds[].exp_tag | Tag string that contains the post identifier, for example 1_i/2006449521242258738_phot. |
Notes
- Pass
pcursorto request further results. Leave it out for the first request. - The
user_idis a numeric string, such as3795214411. To find a user's ID, try Kuaishou User ID Lookup. - For a user's full video list instead of popular posts, use Kuaishou User Video List (V2).
- Many fields, such as
bottomEntryInfoandfeedSwitches, hold display and tracking settings and are not needed for most uses.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Kirim permintaan pertama Anda
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/user-hot-post" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "3795214411"
}'2. Autentikasi
Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
3. Parameter
pcursorstring
4. Respons
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
API Terkait
| API | Harga | Respons |
|---|---|---|
Kuaishou User Hot PostsAPI ini Kuaishou | $0.001 per panggilan | JSON |
Kuaishou | $0.001 per panggilan | JSON |
Kuaishou | $0.001 per panggilan | JSON |
Kuaishou | $0.001 per panggilan | JSON |
Kuaishou | $0.001 per panggilan | JSON |
Kuaishou | $0.001 per panggilan | JSON |
Pertanyaan
FAQ
Bagaimana cara menggunakan API Kuaishou User Hot Posts?
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/kuaishou/app/user-hot-post dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
Berapa biaya API Kuaishou User Hot Posts?
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Parameter apa yang diterima API Kuaishou User Hot Posts?
Wajib: user_id (string). Opsional: pcursor (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Apa yang dikembalikan API Kuaishou User Hot Posts?
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Apakah saya memerlukan akun developer atau kunci API Kuaishou?
Tidak. Kuaishou User Hot Posts berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Kuaishou secara terpisah.
