Call it
curl https://api.peume.com/v1/call/search-podcast-episodes-and-transcripts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "what Jensen Huang said about inference demand on recent podcasts",
"includeDomains": [
"exa.ai/library/podcast"
],
"numResults": 3,
"contents": {
"highlights": true
}
}
}'const res = await fetch("https://api.peume.com/v1/call/search-podcast-episodes-and-transcripts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "what Jensen Huang said about inference demand on recent podcasts",
"includeDomains": [
"exa.ai/library/podcast"
],
"numResults": 3,
"contents": {
"highlights": true
}
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-podcast-episodes-and-transcripts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "what Jensen Huang said about inference demand on recent podcasts",
"includeDomains": [
"exa.ai/library/podcast"
],
"numResults": 3,
"contents": {
"highlights": True
}
}
},
)
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: search-podcast-episodes-and-transcripts.
Parameters
queryRequiredstringdescribe the episode or what was said: a show, a guest, a topic, a claim ('what Jensen Huang said about inference demand on recent podcasts', 'the newest episode of Hard Fork')
Example: what Jensen Huang said about inference demand on recent podcasts
includeDomainsRequiredarraymust be [".ai/library/podcast"], the podcast index's host path. Without it results drift to podcast directories (Apple Podcasts, Podbean)
Example: ["exa.ai/library/podcast"]
numResultsinteger1-100, default 10; beyond 10 adds $0.001 each
Example: 3
startPublishedDatestringISO 8601; filters on the episode's air date
endPublishedDatestringISO 8601
contentsobject{highlights: true} returns the matching transcript passages; {text: {maxCharacters}} the episode page: show, air date, duration, hosts, guests, then the transcript with a speaker and timestamps on every turn
Example: {"highlights":true}
