Kwai
3 endpoints. All requests need an x-api-key header.
/v1/kwai/postPost
Fetches public Kwai post details including caption, media URLs, cover images, counts, author info, and music metadata. Uses Kwai's public web API endpoint, not HTML scraping.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
url | string | Kwai post URL Example: https://www.kwai.com/@KwaiBrasilOficial/photo/5193363430624671876 |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/kwai/post?url=https%3A%2F%2Fwww.kwai.com%2F%40KwaiBrasilOficial%2Fphoto%2F5193363430624671876" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/kwai/post?url=https%3A%2F%2Fwww.kwai.com%2F%40KwaiBrasilOficial%2Fphoto%2F5193363430624671876", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/kwai/post",
params={"url": "https://www.kwai.com/@KwaiBrasilOficial/photo/5193363430624671876"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/kwai/profileProfile
Fetches public Kwai profile data including username, bio, avatar, verification status, gender, and public counts. Uses Kwai's public web API endpoint, not HTML scraping.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
handle | string | Kwai profile handle. Use this or url. Example: KwaiBrasilOficial |
url | string | Kwai profile URL. Use this or handle. Example: https://www.kwai.com/@KwaiBrasilOficial |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/kwai/profile?handle=KwaiBrasilOficial&url=https%3A%2F%2Fwww.kwai.com%2F%40KwaiBrasilOficial" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/kwai/profile?handle=KwaiBrasilOficial&url=https%3A%2F%2Fwww.kwai.com%2F%40KwaiBrasilOficial", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/kwai/profile",
params={"handle": "KwaiBrasilOficial", "url": "https://www.kwai.com/@KwaiBrasilOficial"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/kwai/user/postsUser Posts
Fetches a paginated list of public Kwai posts for a user, including captions, media URLs, covers, counts, author info, and the next cursor when more results are available. Uses Kwai's public web API endpoint, not HTML scraping.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
handle | string | Kwai profile handle. Use this or url. Example: KwaiBrasilOficial |
url | string | Kwai profile URL. Use this or handle. Example: https://www.kwai.com/@KwaiBrasilOficial |
cursor | string | Cursor from the previous response for the next page Example: 1780704000032 |
count | number | Number of posts to return, max 50 Example: 20 |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/kwai/user/posts" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/kwai/user/posts", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/kwai/user/posts",
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())