Call it
curl https://api.peume.com/v1/call/list-up-to-100-urls-of-a-site-without \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"domain": "docs.example.com",
"mode": "fast",
"max_urls": 100,
"include_subdomains": false
}
}'const res = await fetch("https://api.peume.com/v1/call/list-up-to-100-urls-of-a-site-without", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"domain": "docs.example.com",
"mode": "fast",
"max_urls": 100,
"include_subdomains": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/list-up-to-100-urls-of-a-site-without",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"domain": "docs.example.com",
"mode": "fast",
"max_urls": 100,
"include_subdomains": False
}
},
)
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: list-up-to-100-urls-of-a-site-without.
Parameters
domainRequiredstringthe site's host; a leading https:// is dropped, www and the bare host are one site
Example: docs.example.com
modestringfull adds the Wayback Machine, up to 20 s more
fast · full
Example: fast
max_urlsintegerthe most rows returned; a site with more is cut at this many: narrow it with include
Example: 100
includestringkeep only matching URLs: a path prefix (/docs) or a glob with * over the path
include_subdomainsbooleanExample: false
Other ways to do it
Same job, other sources, cheapest first.
