PeumeAPI

Places & travel

Map Website Links

List a website's URLs from its links and sitemaps.

$0.023 per call

Call it

curl https://api.peume.com/v1/call/map-website-links \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "your url"
  }
}'

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: map-website-links.

Parameters

include_markdownstring

Whether to include the page's main content as Markdown in `markdown`. Default: `true`.

max_depthstring

Used with `mode=crawl`. Defines how many links deep the crawl follows from the starting page. `0` extracts only the starting page. Default: `2`. Maximum: `3`.

include_sitemapstring

Used with `mode=map`. Defines whether to also read the website's sitemaps, from `/sitemap.xml` and `/robots.txt`. Default: `true`.

prefetch_delaystring

A delay in milliseconds before the first page is fetched (0–10,000). Default: `0`. The Extract API doesn't run JavaScript, so this is not a rendering delay.

include_tagsstring

A comma-separated list of CSS selectors to keep, e.g. `article, main,.post-content`. Everything else inside `<body>` is removed before parsing.

max_pagesstring

Used with `mode=crawl`. Defines the maximum number of pages to extract, including the starting page. Default: `10`. Maximum: `100`. Each successfully extracted page consumes one search credit.

exclude_tagsstring

A comma-separated list of CSS selectors to remove before parsing, e.g. `nav, footer,.ads, #cookie-banner`.

include_subdomainsstring

Used with `mode=map` and `mode=crawl`. Defines whether to include other subdomains of the same website, e.g. `blog.example.com` when starting from `www.example.com`. Default: `false` (same host only).

devicestring

The device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser.

json_restrictorstring

The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

urlRequiredstring

The URL of the page to extract. It must be an absolute `http` or `https` URL. Search pages that have a dedicated engine, such as Google or Bing, are redirected to that engine.

timeoutstring

The HTTP request timeout in milliseconds (1,000–120,000). Default: `30,000` (30 seconds).

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.