Call it
curl https://api.peume.com/v1/call/google-search-the-web \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "example domain",
"page": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/google-search-the-web", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "example domain",
"page": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-search-the-web",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "example domain",
"page": 1
}
},
)
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: google-search-the-web.
Parameters
queryRequiredstringExample: example domain
pageintegerExample: 1
Other ways to do it
Same job, other sources, cheapest first.
Search GoogleReturns a Google results page as JSON: organic results plus every other result group Google served, such as ads, AI Overview, knowledge graph, and local resultsGet organic search results for a keywordBest sourceGet organic search results for a keyword. Checks the cheapest source first and moves to the next one until it finds an answer.Google search results (SERP): organic rank, AI overviewOne Google results page as JSON: every organic result with its rank (position, and position_absolute counting the blocks above it), and each block Google showed (People also ask, lGoogle SearchRun a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts iSearch Google by keyword — organic resultsPerforms a Google search and returns organic results with url, title, and description for each result.Google organic search results for a keyword, liveLive Google organic results for a keyword — rank, title, URL, snippet — by location
