Call it
curl https://api.peume.com/v1/call/ebay-accepted-offer-prices \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"condition": "any",
"query": "your query",
"limit": 240
}
}'const res = await fetch("https://api.peume.com/v1/call/ebay-accepted-offer-prices", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"condition": "any",
"query": "your query",
"limit": 240
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/ebay-accepted-offer-prices",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"condition": "any",
"query": "your query",
"limit": 240
}
},
)
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: ebay-accepted-offer-prices.
Parameters
conditionstringItem condition filter (e.g. used).
any · new · used
Example: any
routestringUpstream source to run on; omit for "ocelot". ocelot ($0.003 per call, 100% uptime).
ocelot
endDatestringLast sale day to include, as YYYY-MM-DD (e.g. 2026-10-31).
minPricenumberOptional minimum price paid, in USD (e.g. 200). It trims the returned page; it does not search all history for sales at that price.
queryRequiredstringSearch keyword for completed eBay sales (e.g. Gibson Les Paul Standard 60s).
limitintegerMaximum number of sales to return (1-240, default 240). It is also the page size when you send page. Sales without a listing title or image are left out, so a page can hold fewer.
Example: 240
maxPricenumberOptional maximum price paid, in USD (e.g. 2000). It trims the returned page; it does not search all history for sales at that price.
pageinteger1-based results page (e.g. 2); leave it out for the first page. Use with hasMore in the output to paginate, and keep query, dates, filters, and limit the same while walking pages, because limit sets the page size. Paging needs a limit of at least 10.
startDatestringFirst sale day to include, as YYYY-MM-DD (e.g. 2026-10-01). History is available back to December 2023. With neither date set, the last 90 days are searched.
