Discover URLs on a site. Use --search to find a specific page within a large site.
bash
# 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
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
map --search to find the right URL, then scrape it.map https://docs.example.com --search "auth" → found /docs/api/authentication → scrape that URL.