Call it
curl https://api.peume.com/v1/call/walmart-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "your query",
"page": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/walmart-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "your query",
"page": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/walmart-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "your query",
"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: walmart-search.
Parameters
routestringUpstream source to run on; omit for "badger". badger ($0.0009 per call, 99.6% uptime); chameleon ($0.00225 per call, 62.5% uptime). Output fields only some routes return: totalPages (chameleon). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.
badger · chameleon
minPricenumberOptional minimum product price in USD.
queryRequiredstringSearch keywords, e.g. "airpods" or "paper towels".
maxPricenumberOptional maximum product price in USD.
pageinteger1-based results page of about 40 to 60 products; Walmart serves no products past page 10. Each page is billed as one request. Walmart re-ranks between requests, so consecutive pages can repeat a product: deduplicate on itemId.
Example: 1
sortstringResult sort order; omit for Walmart's Best Match (e.g. price_low sorts by lowest price first).
best_match · best_seller · price_low · price_high · rating_high · new
facetstringOptional Walmart facet filter token, e.g. brand:HP to keep only HP products.
