Anakin icon

Anakin

Scrape websites, search with AI, and extract structured data

Actions108

AI Visibility → Map

AI-generated

Summary

Map all reachable URLs starting from a given URL, with options to control depth, included links, and filtering.

Inputs

  • URL (required) — The starting URL for link discovery (typically a homepage or section root).
  • Additional Options — Options to control the mapping behavior, including depth (link-hops to follow), whether to include external links or subdomains, result limits, max wait time, poll interval, a search filter keyword to match URLs' path/title, and whether to render pages with a headless browser for SPAs.

Output shape

a single JSON object containing the mapping job status and results, including discovered URLs and metadata about the site map

The operation is asynchronous: it submits a map job, then polls until the job completes or fails, honoring the specified max wait time and poll interval. On success, it returns the full map result object including URLs found; on failure or timeout, it throws an error with pertinent messages.

Examples

Example 1: Map URLs starting from a homepage with default settings to discover site structure.

Set the URL input to the homepage, use default options for depth=2, limit=50, no external links.

Example 2: Map URLs including subdomains and external links up to depth 3, with a search filter for 'blog'.

Set URL to starting page, set depth to 3, include external links and subdomains flags to true, and use 'blog' as search filter keyword.

Links

Discussion