PluginBench
Skill
Official
Review
Audit score 70

firecrawl-map

firecrawl/cli

Discover and list all URLs on a website with optional search filtering.

What is firecrawl-map?

Maps a website to discover its URL structure and pages. Use this when you need to find a specific page on a large site, see the site structure, or list all available URLs before scraping or crawling.

  • List all URLs on a website up to a specified limit
  • Filter URLs by search query to find specific pages
  • Handle sitemaps with configurable strategies (include, skip, or only)
  • Include or exclude subdomain URLs
  • Output results as JSON or plain text to a file

How to install firecrawl-map

npx skills add null --skill firecrawl-map
Claude Code
Cursor
Windsurf
Cline

How to use firecrawl-map

  1. 1.Run `firecrawl map "<url>"` to get all URLs on a site
  2. 2.Add `--search "<query>"` to filter URLs by keyword
  3. 3.Use `--limit <n>` to cap the number of results returned
  4. 4.Add `--json` to output as JSON instead of plain text
  5. 5.Use `-o <path>` to save results to a file
  6. 6.Combine with firecrawl-scrape to scrape the discovered URLs

Use cases

Good for
  • Find a specific documentation page on a large site before scraping it
  • Get a complete list of all URLs on a domain to understand site structure
  • Search for pages containing specific keywords (e.g., 'authentication') across a large site
  • Discover all subpages before deciding which ones to crawl or scrape
  • Map a site structure as the first step before bulk extraction
Who it's for
  • Developers building web scrapers or crawlers
  • Content researchers exploring large websites
  • API documentation explorers
  • Site structure analysts

firecrawl-map FAQ

How do I find a specific page on a large website?

Use `firecrawl map "<url>" --search "<keyword>"` to filter the site's URLs by your search term. For example, `--search "authentication"` will show only URLs containing that word.

What's the difference between map and crawl?

Map discovers and lists all URLs on a site. Crawl extracts content from multiple pages in bulk. Map is useful for finding the right page first; crawl is better for extracting data from many pages at once.

Can I include subdomains in the mapping?

Yes, add the `--include-subdomains` flag to include URLs from subdomains in your results.

How do I save the results to a file?

Use the `-o <path>` option, for example: `firecrawl map "<url>" -o ./urls.json --json` to save as JSON or `firecrawl map "<url>" -o ./urls.txt` for plain text.

What's the typical workflow with map?

The common pattern is: use `map --search` to find the right URL, then use `firecrawl-scrape` to extract content from that URL.

Full instructions (SKILL.md)

Source of truth, from firecrawl/cli.


name: firecrawl-map description: | Discover and list all URLs on a website, with optional search filtering. Use this skill when the user wants to find a specific page on a large site, list all URLs, see the site structure, find where something is on a domain, or says "map the site", "find the URL for", "what pages are on", or "list all pages". Essential when the user knows which site but not which exact page. allowed-tools:

  • Bash(firecrawl *)
  • Bash(npx firecrawl *)

firecrawl map

Discover URLs on a site. Use --search to find a specific page within a large site.

When to use

  • You need to find a specific subpage on a large site
  • You want a list of all URLs on a site before scraping or crawling
  • Step 3 in the workflow escalation pattern: search → scrape → map → crawl → interact

Quick start

# Find a specific page on a large site
firecrawl map "<url>" --search "authentication" -o .firecrawl/filtered.txt

# Get all URLs
firecrawl map "<url>" --limit 500 --json -o .firecrawl/urls.json

Options

OptionDescription
--limit <n>Max number of URLs to return
--search <query>Filter URLs by search query
--sitemap <include|skip|only>Sitemap handling strategy
--include-subdomainsInclude subdomain URLs
--jsonOutput as JSON
-o, --output <path>Output file path

Tips

  • Map + scrape is a common pattern: use map --search to find the right URL, then scrape it.
  • Example: map https://docs.example.com --search "auth" → found /docs/api/authenticationscrape that URL.

See also