Kwai profile posts API
A user's public posts: caption, media URLs, covers, counts and author.
- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
Pass the cursor back for more.
You send one of url or handle.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/kwai/profile/posts" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'handle=KwaiBrasilOficial' \
--data-urlencode 'limit=10'import os
import requests
params = {
"handle": "KwaiBrasilOficial",
"limit": 10,
}
res = requests.get(
"https://api.socialscrape.io/v1/kwai/profile/posts",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/kwai/profile/posts");
url.search = new URLSearchParams({
handle: "KwaiBrasilOficial",
limit: "10",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape Kwai profile posts",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/kwai/profile/posts",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "handle",
"value": "KwaiBrasilOficial"
},
{
"name": "limit",
"value": "10"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | one of | Profile URL (kwai.com/@<user>). |
handle | string | one of | Username, with or without the leading @. Also accepted as username. |
limit | integer | Number of posts per page, at most 50. Also accepted as count. | |
cursor | string | Opaque cursor from the previous page; pass it back unchanged. Also accepted as continuationToken, continuation_token, next_max_id, max_id, max_cursor, min_time, after, page_token, pageToken, paginationToken, next_page_id, page. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_b94efd098959dda7b0d9febf",
"data": {
"object": "list",
"items": [
{
"object": "post",
"platform": "kwai",
"id": "5252191699663398465",
"url": "https://www.kwai.com/@KwaiBrasilOficial/video/5252191699663398465",
"type": "video",
"author": {
"id": "558843093",
"handle": "KwaiBrasilOficial",
"name": "Kwai Brasil Oficial",
"url": "https://www.kwai.com/@KwaiBrasilOficial",
"avatar_url": "https://aws-br-pic.kwai.net/bs2/overseaHead/20261008020943_BNTU4ODQzMDkz_tw.webp",
"verified": true
},
"title": null,
"text": "Chegou a hora de mandar a real pro dono do chapéu! 🤠👀 Toda semana o fazendeiro vai encarar as dúvidas da galera no Cantinho do Fazendeiro! Pra participar é...",
"published_at": "2026-10-29T19:00:00.015000Z",
"duration_seconds": 46.507,
"language": null,
"hashtags": [
"AFazendaNoKwai"
],
"mentions": null,
"stats": {
"views": 319,
"likes": 25,
"comments": 4,
"shares": 4,
"saves": null,
"dislikes": null
},
"media": {
"thumbnail_url": "https://p16-kimg.kwai.net/kimg/EKzM1y8qUAoKbWVkaWFjbG91ZBIPa3dhaS1rd2FpLWltYWdlGjE3YjUwNTI2NTYwMTkwMDM3LWFmM2JhMmM5YjRiZGEyNjUzN2VmY2VjM2EyMDgxMWU1.webp",
"video_url": "https://aws-br-cdn.kwai.net/upic/2026/10/30/02/BMjAyNjEwMzAwMjA2MjNfNTU4ODQzMDkzXzE1MDExMTU5NzgwMTIxN18zXzM=_b_B1c854c8d6307584d6bec57baf54233fc.mp4?tag=1-17...",
"audio_url": null,
"image_urls": null,
"width": 720,
"height": 1280
},
"song": {
"id": "13759980923",
"title": null,
"artist": "Kwai Brasil Oficial",
"url": "https://aws-br-pic.kwai.net/bs2/ost/MTUwMTExNTk3ODAxMjE3XzU1ODg0MzA5Mw.m4a"
},
"location": null,
"is_pinned": false,
"is_sponsored": null,
"extra": {
"allow_download": true,
"audio_url": "https://aws-br-pic.kwai.net/bs2/ost/MTUwMTExNTk3ODAxMjE3XzU1ODg0MzA5Mw.m4a",
"categories": [
"娱乐;Entertainment",
"八卦追星;Gossip&celebrity"
],
"cover_first_frame_url": "https://aws-br-pic.kwai.net/upic/2026/10/30/02/BMjAyNjEwMzAwMjA2MjNfNTU4ODQzMDkzXzE1MDExMTU5NzgwMTIxN18zXzM=_offn_B681a22a72bc053147220197444a57ce5.webp?tag=...",
"display_time": "2026-10-30 03:00:00",
"pinned_to_profile": false
}
},
{
"object": "post",
"platform": "kwai",
"id": "5253880553670639173",
"url": "https://www.kwai.com/@KwaiBrasilOficial/video/5253880553670639173",
"type": "video",
"author": {
"id": "558843093",
"handle": "KwaiBrasilOficial",
"name": "Kwai Brasil Oficial",
"url": "https://www.kwai.com/@KwaiBrasilOficial",
"avatar_url": "https://aws-br-pic.kwai.net/bs2/overseaHead/20261008020943_BNTU4ODQzMDkz_tw.webp",
"verified": true
},
"title": null,
"text": "Eita que a rotina agitou! 🤠🔥 E essa semana tem mais, hein? Fiquem ligados no programa porque o tema da vez é receitas! 🍳👨🍳 Gostou? Então já usa a hasht...",
"published_at": "2026-10-26T20:00:00.015000Z",
"duration_seconds": 184.875,
"language": null,
"hashtags": [
"AFazendaNoKwai"
],
"mentions": null,
"stats": {
"views": 1720,
"likes": 216,
"comments": 78,
"shares": 112,
"saves": null,
"dislikes": null
},
"media": {
"thumbnail_url": "https://p16-kimg.kwai.net/kimg/EKzM1y8qkAEKAnMzEg1waG90by1vdmVyc2VhGnt1cGljLzIwMjYvMTAvMjcvMDMvQk1qQXlOakV3TWpjd016TTJNemhmTlRVNE9EUXpNRGt6WHpFMU1ERXhNVFU0Tk...",
"video_url": "https://aws-br-cdn.kwai.net/upic/2026/10/27/03/BMjAyNjEwMjcwMzM2MzhfNTU4ODQzMDkzXzE1MDExMTU4NDgzMzA0NF8zXzM=_b_B13e514718c13d6dfa58774564e10b519.mp4?tag=1-17...",
"audio_url": null,
"image_urls": null,
"width": 720,
"height": 1280
},
"song": {
"id": "13751347905",
"title": null,
"artist": "Kwai Brasil Oficial",
"url": "https://aws-br-pic.kwai.net/bs2/ost/MTUwMTExNTg0ODMzMDQ0XzU1ODg0MzA5Mw.m4a"
},
"location": null,
"is_pinned": false,
"is_sponsored": null,
"extra": {
"allow_download": true,
"audio_url": "https://aws-br-pic.kwai.net/bs2/ost/MTUwMTExNTg0ODMzMDQ0XzU1ODg0MzA5Mw.m4a",
"categories": [
"潮流玩法;Trending Styles",
"挑战;Challenge"
],
"cover_first_frame_url": "https://aws-br-pic.kwai.net/upic/2026/10/27/03/BMjAyNjEwMjcwMzM2MzhfNTU4ODQzMDkzXzE1MDExMTU4NDgzMzA0NF8zXzM=_offn_B663f430f3c67337dce2138aea5433893.webp?tag=...",
"display_time": "2026-10-27 04:00:00",
"pinned_to_profile": false
}
}
],
"cursor": "1792610101494",
"has_more": true,
"parent": null
},
"cursor": "1792610101494",
"has_more": true
}Fields
A page of results. Each entry in items is a Post. cursor and has_more page through the rest.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "post" | ||
platform | Platform | yes | |
id | string | yes | |
url | string or null | ||
type | "video" or "short" or "reel" or "image" or "carousel" or "story" or "live" or "clip" or "text" or "link" or "tweet" or "pin" or "community_post" or "episode" or "unknown" | ||
author | Author or null | ||
title | string or null | ||
text | string or null | ||
published_at | string (ISO 8601 date-time) or null | ||
duration_seconds | number or null | ||
language | string or null | ||
hashtags | string[] or null | ||
mentions | string[] or null | ||
stats | Stats |
Show the other 6 fields
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
How do I get more than one page?
Send the same request with cursor set to the cursor you received, until has_more is false. Each page costs its own price. See pagination.
Is there an SDK call for it?
The preview Python client has client.kwai.profile_posts(...) and the TypeScript client client.kwai.profilePosts(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.