Call it
curl https://api.peume.com/v1/call/amazon-product-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"keyword": "your keyword"
}
}'const res = await fetch("https://api.peume.com/v1/call/amazon-product-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"keyword": "your keyword"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/amazon-product-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"keyword": "your keyword"
}
},
)
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: amazon-product-search.
Parameters
keywordRequiredstringKeyword
urlstringDirect URL of the search query
location_namestringFull location name exactly as listed in the locations dictionary, e.g. 'London,England,United Kingdom' or 'United States'.
location_codeintegerNumeric location code from the locations dictionary, e.g. 2840 (United States).
location_coordinatestring'latitude,longitude,radius' with the radius in metres (200-19999), e.g. '52.6178549,-155.352142,1000'.
language_namestringFull Amazon language name, e.g. 'English (United States)'.
language_codestringAmazon language code, e.g. 'en_US'.
se_domainstringSearch engine domain (e.g. amazon.com)
depthintegerOrganic products to return (1-700, default 48). Amazon is retrieved and billed in whole pages of 48, so a depth below 48 costs the same as 48, and a depth above it is billed up to the next whole page. The output stops after the `depth`-th organic product; sponsored products ranked above it are kept and do not count toward depth.
max_crawl_pagesintegerPage crawl limit (max 7)
departmentstringAmazon product department
search_paramstringAdditional parameters of the search query
price_minintegerMinimum product price (e.g. 5)
price_maxintegerMaximum product price (e.g. 100)
sort_bystringResults sorting rules
