Call it
curl https://api.peume.com/v1/call/iqiyi-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 20,
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/iqiyi-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 20,
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/iqiyi-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 20,
"keyword": "your keyword"
}
},
)
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: iqiyi-search.
Parameters
sitestringProvides a source-site condition for search. Common values include all, iqiyi, tencent_video, sohu, youku, tudou, acfun, bilibili, ifeng, cntv, and m1905. It narrows search results to those sites and does not mean each site has a detail action.
limitintegerMaximum number of results, 1 to 50 (default 20). For some actions it counts pages or items per parent rather than final rows.
Example: 20
publishedstringOverrides publish_date in the search action, accepting all, last_24_hours, last_7_days, or last_30_days. This field is a string filter and does not accept boolean true/false values.
sortstringControls sorting order for video search results, accepting relevance, newest, or popular. It does not sort by user ratings or episode release sequences, and has no effect when requesting a single video. One of: newest, popular, relevance.
newest · popular · relevance
keywordRequiredstringSpecifies search terms for the search action, or series, album, and cast-member names for the international album action. The album action does not fetch details directly from album URLs, and available libraries vary by region.
categorystringFilters video content by category, accepting allowed values such as movie, tv_series, variety_shows, animation, documentary, advertisement, beauty, car, comedy, entertainment, fashion, finance, game, health, life, military, mother_baby, music, news_info, originals, short_films, sports, square_dance, talk_shows, technology, trailers, travel, trending, or all (unrestricted). This parameter filters broad categories rather than cast-member or series tags. One of: advertisement, all, animation, beauty, car, comedy, documentary, entertainment, fashion, finance, game, health, life, military, mother_b
advertisement · all · animation · beauty · car · comedy · documentary · entertainment · fashion · finance · game · health …
publish_datestringFilters search action results by publication timeframe, accepting all, last_24_hours, last_7_days, or last_30_days. This field does not accept YYYY-MM-DD dates, and when both this field and published are present, published takes precedence.
scrape_additional_infobooleanControls whether iQIYI search results include additional uploader and engagement information. Pass a JSON boolean; the default is true.
qualitystringFilters iQIYI search results by the requested video quality. Common values include all, hd, ultra_hd, 720p, and 1080p. It is not a download or transcoding option, and unlisted values may have no effect.
