Call it
curl https://api.peume.com/v1/call/web-search-3 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"q": "your q",
"limit": 20,
"offset": 0,
"include_content": false
}
}'const res = await fetch("https://api.peume.com/v1/call/web-search-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"q": "your q",
"limit": 20,
"offset": 0,
"include_content": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/web-search-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"q": "your q",
"limit": 20,
"offset": 0,
"include_content": False
}
},
)
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: web-search-3.
Parameters
qRequiredstringSearch query like bitcoin price prediction 2026. Example: bitcoin price prediction 2026.
limitintegerResults per page. Example: 20. Defaults to 20.
Example: 20
offsetintegerPagination offset. Example: 0. Defaults to 0.
Example: 0
sitestringComma-separated domain filter like coindesk.com or cointelegraph.com. Example: coindesk.com,cointelegraph.com.
include_contentbooleanWhen false (default), search returns title/url/description only — fast (~2-3s) URL discovery. Set true to also include full markdown content for each result (~5-30KB per result, ~10-15s for limit=5). Use true only when the caller needs page content inline and won't follow up with /web/fetch. Example: False. Defaults to false.
Example: false
