Call it
curl https://api.peume.com/v1/call/kuaishou-kwai-post-by-url-caption-media-counts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://www.kwai.com/@KwaiBrasilOficial/photo/5193363430624671876"
}
}'const res = await fetch("https://api.peume.com/v1/call/kuaishou-kwai-post-by-url-caption-media-counts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://www.kwai.com/@KwaiBrasilOficial/photo/5193363430624671876"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/kuaishou-kwai-post-by-url-caption-media-counts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"url": "https://www.kwai.com/@KwaiBrasilOficial/photo/5193363430624671876"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: kuaishou-kwai-post-by-url-caption-media-counts.
Parameters
urlstringKwai post URL
Example: https://www.kwai.com/@KwaiBrasilOficial/photo/5193363430624671876
Other ways to do it
Same job, other sources, cheapest first.
Kuaishou video details by share linkKuaishou: fetch one video by url (app)Kuaishou video details by video idKuaishou: fetch one video (app)Kuaishou video details by share linkKuaishou: fetch one video (web)Kuaishou video details by video idKuaishou: fetch one video v2 (web)Kuaishou video details by video URLKuaishou: fetch one video by url (web)Kuaishou video details in bulk by video idsKuaishou: fetch videos batch (app)
