About firecrawl-map
firecrawl map is a skill in the Firecrawl CLI for discovering URLs on a website. It can search large sites for a specific page, and is useful for choosing target URLs before scraping or crawling. Authentication is required.
Key features
- 01Discovers URLs across a website
- 02Filters results with a search keyword
- 03Limits the number of returned URLs
- 04Outputs results as JSON or text
- 05Supports sitemap and subdomain options
Use cases
- 01Locating a specific page in a large documentation site
- 02Selecting URLs before scraping or crawling
- 03Saving a site URL inventory for later processing
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ firecrawl/ cli --skill firecrawl-mapAfter installing, type/firecrawl-mapin Claude Code to confirm it loaded.
Details
From the project READMEfirecrawl map
Discover URLs on a site. Use --search to find a specific page within a large site.
Prerequisite: map requires authentication (no keyless free tier); without credentials the CLI prompts an interactive login.
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
Run firecrawl map --help for the full option list (sitemap handling, subdomains, etc.).
Done when: the URL list is saved under .firecrawl/ and you have selected the URLs to scrape or crawl next.
Tips
- Map + scrape is a common pattern: use
map --searchto find the right URL, thenscrapeit. - Example:
map https://docs.example.com --search "auth"→ found/docs/api/authentication→scrapethat URL.
See also
- firecrawl-scrape — scrape the URLs you discover
- firecrawl-crawl — bulk extract instead of map + scrape
- firecrawl-download — download entire site (uses map internally)
- firecrawl-build-search — building URL discovery into an app instead of running it here
Comments
Markdown supported