$npx -y skills add firecrawl/cli --skill firecrawl-mapDiscover 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
| 1 | # firecrawl map |
| 2 | |
| 3 | Discover URLs on a site. Use `--search` to find a specific page within a large site. |
| 4 | |
| 5 | ## When to use |
| 6 | |
| 7 | - You need to find a specific subpage on a large site |
| 8 | - You want a list of all URLs on a site before scraping or crawling |
| 9 | - Step 3 in the [workflow escalation pattern](firecrawl-cli): search → scrape → **map** → crawl → interact |
| 10 | |
| 11 | ## Quick start |
| 12 | |
| 13 | ```bash |
| 14 | # Find a specific page on a large site |
| 15 | firecrawl map "<url>" --search "authentication" -o .firecrawl/filtered.txt |
| 16 | |
| 17 | # Get all URLs |
| 18 | firecrawl map "<url>" --limit 500 --json -o .firecrawl/urls.json |
| 19 | ``` |
| 20 | |
| 21 | ## Options |
| 22 | |
| 23 | | Option | Description | |
| 24 | | --------------------------------- | ---------------------------- | |
| 25 | | `--limit <n>` | Max number of URLs to return | |
| 26 | | `--search <query>` | Filter URLs by search query | |
| 27 | | `--sitemap <include\|skip\|only>` | Sitemap handling strategy | |
| 28 | | `--include-subdomains` | Include subdomain URLs | |
| 29 | | `--json` | Output as JSON | |
| 30 | | `-o, --output <path>` | Output file path | |
| 31 | |
| 32 | ## Tips |
| 33 | |
| 34 | - **Map + scrape is a common pattern**: use `map --search` to find the right URL, then `scrape` it. |
| 35 | - Example: `map https://docs.example.com --search "auth"` → found `/docs/api/authentication` → `scrape` that URL. |
| 36 | |
| 37 | ## See also |
| 38 | |
| 39 | - [firecrawl-scrape](../firecrawl-scrape/SKILL.md) — scrape the URLs you discover |
| 40 | - [firecrawl-crawl](../firecrawl-crawl/SKILL.md) — bulk extract instead of map + scrape |
| 41 | - [firecrawl-download](../firecrawl-download/SKILL.md) — download entire site (uses map internally) |