Call it
curl https://api.peume.com/v1/call/search-amazon-products-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"timeout": 50
}
}'const res = await fetch("https://api.peume.com/v1/call/search-amazon-products-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"timeout": 50
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-amazon-products-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"timeout": 50
}
},
)
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: search-amazon-products-2.
Parameters
amazon_domainstringAmazon storefront hostname.
languagestringStorefront locale, such as en_US or ja_JP.
delivery_zipstringPostal code used to determine delivery eligibility.
shipping_locationstringTwo-letter destination country code.
kstringSearch words. Supply either k or node.
nodestringBrowse category ID. Supply either node or k.
sstringOrdering for the product listings.
date-desc-rank · exact-aware-popularity-rank · price-asc-rank · price-desc-rank · relevanceblender · review-rank
rhstringComma-separated Amazon filter tokens, such as n:16318031,p_72:1248897011.
dcbooleanKeep results tied to the original spelling of the query.
pageintegerResult page to retrieve, starting at 1.
timeoutnumberSeconds may spend before giving up (max 50, default 50). A timed-out call is not billed.
Example: 50
