Call it
curl https://api.peume.com/v1/call/bing-organic-search-results-for-a-query \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"engine": "bing",
"q": "coffee",
"mkt": "en-US"
}
}'const res = await fetch("https://api.peume.com/v1/call/bing-organic-search-results-for-a-query", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"engine": "bing",
"q": "coffee",
"mkt": "en-US"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/bing-organic-search-results-for-a-query",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"engine": "bing",
"q": "coffee",
"mkt": "en-US"
}
},
)
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: bing-organic-search-results-for-a-query.
Parameters
engineRequiredstringExample: bing
qRequiredstringExample: coffee
mktstringmarket code, e.g. en-US; mutually exclusive with cc
Example: en-US
ccstringtwo-letter country code, mutually exclusive with mkt
Other ways to do it
Same job, other sources, cheapest first.
Search BingReturns Bing web results: organic results, ads, answer boxes, Knowledge Graph cards, local, shopping, news and related searches when Bing shows themGet 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.Bing organic results for a keyword — full SERP featuresLive SERP provides real-time data on top 100 search engine results for the specified keyword, search engine, and location.Bing organic search results for a keyword, liveLive SERP provides real-time data on search engine results for the specified keyword, search engine, and location.Bing SERP — organic results, AI OverviewReturns a parsed Bing SERP for a keyword from a chosen country: organic results, sponsored ads (text ads and shopping cards) and, on request, Bing's AI summary as an AI Overvie
