firecrawl_map
Discover all indexed URLs on a website to identify pages for scraping or locate specific content when scrape results are incomplete.
Instructions
Map a website to discover all indexed URLs on the site.
Best for: Discovering URLs on a website before deciding what to scrape; finding specific sections or pages within a large site; locating the correct page when scrape returns empty or incomplete results. Not recommended for: When you already know which specific URL you need (use scrape); when you need the content of the pages (use scrape after mapping). Common mistakes: Using crawl to discover URLs instead of map; jumping straight to firecrawl_agent when scrape fails instead of using map first to find the right page.
IMPORTANT - Use map before agent: If firecrawl_scrape returns empty, minimal, or irrelevant content, use firecrawl_map with the search parameter to find the specific page URL containing your target content. This is faster and cheaper than using firecrawl_agent. Only use the agent as a last resort after map+scrape fails.
Prompt Example: "Find the webhook documentation page on this API docs site." Usage Example (discover all URLs):
Usage Example (search for specific content - RECOMMENDED when scrape fails):
Returns: Array of URLs found on the site, filtered by search query if provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| search | No | ||
| sitemap | No | ||
| includeSubdomains | No | ||
| limit | No | ||
| ignoreQueryParameters | No |