Call it
curl https://api.peume.com/v1/call/profile-ebay-seller \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"type": "your type",
"seller_id": "your seller id"
}
}'const res = await fetch("https://api.peume.com/v1/call/profile-ebay-seller", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"type": "your type",
"seller_id": "your seller id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/profile-ebay-seller",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"type": "your type",
"seller_id": "your seller id"
}
},
)
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: profile-ebay-seller.
Parameters
_pgnstringThe page number. It's used for pagination. (e.g., `1` (default) is the first page of results, `2` is the 2nd page of results, `3` is the 3rd page of results, etc.).
free_shippingstringShow only products with free shipping.
ebay_domainstringThe eBay domain to use. It defaults to `ebay.com`. Head to the eBay domains for a full list of supported domains.
_sopstringResults sorted by different options in the eBay. The default option is 'Best Match'. Available options: `12` - Best Match `1` - Time ending soonest `10` - Time newly listed `15` - Price + Shipping: lowest first `16` - Price + Shipping: highest first `7` - Distance: nearest first
buying_formatstringThe buying format you can apply to the results. The default option is 'All Listings'. Available options: `0` - All Listings `1` - Buy It Now `2` - Auction
typeRequiredstringThe type of the seller. The available options are `user` and `store`. You can find the seller `type` using our eBay Product API.
_ipgstringThe maximum number of results to return. There are three options: `24`, `48` (default), and `72` results.
LH_ItemConditionstringOne or multiple product conditions to limit the search to. Condition is represented via numeric ID. There are three options: `3` for `New`, `4` for `Used`, `10` for `Not Specified`. Multiple IDs should be joined with `|` delimiter, e.g. `3|4`.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
seller_idRequiredstringAn ID of the seller to get results for. It can be found in the `username` field of our eBay Search API and eBay Product API results, or in seller links: `https://www.ebay.com/usr/{seller_id}`.
