Call it
curl https://api.peume.com/v1/call/get-google-news-results-for-a-keyword \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"q": "your q",
"country": "your country"
}
}'const res = await fetch("https://api.peume.com/v1/call/get-google-news-results-for-a-keyword", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"q": "your q",
"country": "your country"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/get-google-news-results-for-a-keyword",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"q": "your q",
"country": "your country"
}
},
)
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: get-google-news-results-for-a-keyword.
Parameters
qstringidentity
countrystringfilter; default 'us'
languagestringfilter; default 'en'
limitintegerfilter; article count where supported
Other ways to do it
Same job, other sources, cheapest first.
Google News headlines for a queryGet Google News headlines for a query with source, link, publication time and a short summary.Search Google NewsSearch Google News articles using news vertical.Google NewsSearch Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.Search Google NewsSearch recent Google News results with source, date, snippet, image, and ranked article link.Google News results — titles, sources, datesReturns parsed Google News articles for a keyword from a chosen country, each with its title, link, snippet, publisher, publication date and thumbnail.Google News results for a keyword, liveLive Google News SERP provides real-time data on top search engine results for the specified keyword, search engine, and location.
