AlterLab icon

AlterLab

Scrape any website with anti-bot bypass, JS rendering, structured extraction, OCR, and more

Actions2

Map

AI-generated

Summary

Discover URLs for a website by submitting its starting URL to AlterLab’s map API. The operation can use sitemap and link discovery, apply URL filters, and optionally fetch metadata for discovered pages.

Inputs

  • URL (mapUrl) (required) — Starting URL for site discovery.
  • Map Options (mapOptions) — Optional discovery settings: maximum URLs (default 500, range 1–50,000), link depth (default 3, range 0–10), sitemap mode (include, skip, or only), comma-separated include and exclude glob patterns, a relevance search query, metadata fetching, subdomain inclusion, robots.txt handling (respected by default), and a custom sitemap path beginning with /.

Output shape

One n8n item per input item, with the API response as its JSON object.

The node sends a POST request to the map API and returns its response body directly. Errors from the API are raised as node errors, or returned as an {"error": "..."} item when Continue On Fail is enabled.

Links

Discussion