Kuaishou Video Search v2
Search public Kuaishou videos by keyword with page-number pagination. Use it to discover relevant videos and browse results by page.
/v1/kuaishou/search_video_v2
$0.02
- Price
- $0.02 per successful call, Failed calls are free
- Endpoint ID
kuaishou.search_video_v2
Parameters
-
keywordstring RequiredThe search keyword to find videos.
Example
咖啡 -
pageinteger OptionalPage number for results, starting from 1.
Example
1
Code samples
curl -G "https://api.mofa-ai.com/v1/kuaishou/search_video_v2" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'keyword=咖啡' \
--data-urlencode 'page=1'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/kuaishou/search_video_v2",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"keyword": "咖啡",
"page": "1",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/kuaishou/search_video_v2");
url.search = new URLSearchParams({
keyword: "咖啡",
page: "1",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Example response
There is no example response for this endpoint yet.
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
More Kuaishou endpoints
-
Video Search v1
$0.02Search public Kuaishou videos by keyword with cursor-based pagination. Use it to discover relevant videos and continue through additional result pages.
/v1/kuaishou/search_video_v1
-
User Search
$0.02Search public Kuaishou user accounts by keyword with page-number pagination. Use it to discover relevant creators or accounts before requesting profile and p…
/v1/kuaishou/search_user_v2
-
User Published Videos
$0.02Retrieve public videos published by a Kuaishou user, with optional cursor-based pagination. Use it to review a creator's content history or select videos for…
/v1/kuaishou/get_user_video_list_v2
-
Video Details
$0.02Retrieve public details for a Kuaishou video identified by its video ID. Use it to inspect a selected video after search or user-published-video discovery.
/v1/kuaishou/get_video_detail_v2
-
Video Comments
$0.02Retrieve public comments for a Kuaishou video, with optional cursor-based pagination. Use it to review audience discussion and continue through additional co…
/v1/kuaishou/get_video_comment_v1
-
User Profile
$0.02Retrieve the public profile for a Kuaishou user identified by user ID. Use it to inspect an account found through user or video results.
/v1/kuaishou/get_user_detail_v1
-
Share Link Resolution
$0.02Resolve a supported Kuaishou short share link and return its public redirect URL. Use it to expand shared links before subsequent Kuaishou content lookup or…
/v1/kuaishou/share_url_transfer_v1