Call it
curl https://api.peume.com/v1/call/one-amazon-product \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"product": "B0F5HSNDXF"
}
}'const res = await fetch("https://api.peume.com/v1/call/one-amazon-product", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"product": "B0F5HSNDXF"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/one-amazon-product",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"product": "B0F5HSNDXF"
}
},
)
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: one-amazon-product.
Parameters
countrystringthe store: us, uk, de, fr, jp, in, …; default us
productRequiredstringthe 10-character ASIN or any URL of the product
Example: B0F5HSNDXF
Other ways to do it
Same job, other sources, cheapest first.
Get a product's detail by ASINBest sourceGet a product's detail by ASIN. Checks the cheapest source first and moves to the next one until it finds an answer.Amazon product details by ASINRetrieves details for an Amazon product identified by ASIN in a selected country marketplace.Amazon product details by product URLAmazon productsAmazon product page by ASIN — price, specs, reviewsFull Amazon product page data for a given ASIN — price, specs, reviews, related products
