Call it
curl https://api.peume.com/v1/call/browse-facebook-marketplace \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"timeout": 50
}
}'const res = await fetch("https://api.peume.com/v1/call/browse-facebook-marketplace", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"timeout": 50
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/browse-facebook-marketplace",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"timeout": 50
}
},
)
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: browse-facebook-marketplace.
Parameters
limitintegerMaximum listings per response; fewer may be available.
locationstringMarketplace city slug or numeric city ID, such as austin or london. Required for keyword search and radius filtering.
querystringListing search keywords. Supply location to keep the search geography fixed.
radius_kmintegerSearch radius in kilometers, from 1 to 500. Requires location; defaults to 65 km when omitted. Shipped or promoted listings may fall outside this radius.
min_pricenumberMinimum listing price in local currency units. Requires query and location.
max_pricenumberMaximum listing price in local currency units, at least min_price. Requires query and location.
sort_bystringSearch ordering: lowest price, highest price or newest listings. Requires query and location.
creation_time_descend · price_ascend · price_descend
conditionstringItem condition for keyword search. Requires query and location.
new · used_fair · used_good · used_like_new
days_since_listedintegerRestrict keyword search to recent listings, from 1 to 30 days. Requires query and location.
continuation_tokenstringToken from pagination.continuation_token in the preceding response. Repeat the same query, location and filters; limit may change. Keyword search only. Later requests may fail or be rate limited.
timeoutnumberSeconds may spend before giving up (max 50, default 50). A timed-out call is not billed.
Example: 50
