Call it
curl https://api.peume.com/v1/call/search-auction-listings \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"year_from": "your year from",
"get_count": "your get count"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-auction-listings", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"year_from": "your year from",
"get_count": "your get count"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-auction-listings",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"year_from": "your year from",
"get_count": "your get count"
}
},
)
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-auction-listings.
Parameters
year_fromstringMinimum model year.
get_countstringSet to 'true' to return a count summary object instead of listing data.
auction_typestringAuction type filter.
modelstringVehicle model filter. Use 'All' for no model filter.
year_tostringMaximum model year.
pageintegerPage number for pagination.
makestringVehicle make filter. Use 'All' for no make filter.
statusstringListing status filter.
