Call it
curl https://api.peume.com/v1/call/scrape-a-live-gemini-answer-page-for-a-keyword \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"q": "your q",
"prompt": "your prompt"
}
}'const res = await fetch("https://api.peume.com/v1/call/scrape-a-live-gemini-answer-page-for-a-keyword", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"q": "your q",
"prompt": "your prompt"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/scrape-a-live-gemini-answer-page-for-a-keyword",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"q": "your q",
"prompt": "your prompt"
}
},
)
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: scrape-a-live-gemini-answer-page-for-a-keyword.
Parameters
qstringidentity
promptstringidentity
countrystringfilter; ISO 3166-1 alpha-2, defaults to US
languagestringfilter; default 'en'; accepts a language code
Other ways to do it
Same job, other sources, cheapest first.
answer — text and sourcesRuns a prompt through the live interface from a chosen country and returns the generated answer with its cited sources and citation pills, optionally as Markdown or HTML.Gemini search results for a keyword, liveLive Gemini LLM Scraper endpoint provides structured results from Gemini.
