Firecrawl Map
firecrawl_mapMap a website to discover all indexed URLs on the site.
How it works ↓Pricing
Per call
$0.02
Model
flat
Pay only for what you use. No subscriptions.
Inputs
limit
numbersearch
stringincludeSubdomains
booleanignoreQueryParameters
booleanurl *
stringsitemap
stringInput Parameters
Cost per run
Execution cost$0.02
About Firecrawl Map
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):
{
"name": "firecrawl_map",
"arguments": {
"url": "https://example.com"
}
}
Usage Example (search for specific content - RECOMMENDED when scrape fails):
{
"name": "firecrawl_map",
"arguments": {
"url": "https://docs.example.com/api",
"search": "webhook events"
}
}
Returns: Array of URLs found on the site, filtered by search query if provided.
Frequently Asked Questions
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):** ```json { "name": "firecrawl_map", "arguments": { "url": "https://example.com" } } ``` **Usage Example (search for specific content - RECOMMENDED when scrape fails):** ```json { "name": "firecrawl_map", "arguments": { "url": "https://docs.example.com/api", "search": "webhook events" } } ``` **Returns:** Array of URLs found on the site, filtered by search query if provided.
Firecrawl Map costs $0.02 per call on xpay. No subscription, no minimums. Pay only for the calls you make. New accounts get $5 in free credits.
Connect the Firecrawl MCP endpoint to your client — Claude Code: claude mcp add --transport http firecrawl "https://firecrawl.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"; Cursor/Windsurf/Cline/VS Code: same URL in mcp.json. The agent will see firecrawl_map as a callable tool with the input schema and run it directly. (Unified across all providers: https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY, then xpay_run with toolPath firecrawl/firecrawl_map.)
Yes — that's exactly what xpay is for. You don't need a Firecrawl account or API key. Sign up at xpay.tools (Google or email), get $5 free credit, and run Firecrawl Map immediately. Billing flows through your xpay balance.
Firecrawl Map accepts 6 input parameters: limit, search, includeSubdomains, ignoreQueryParameters, url, sitemap. See the input schema and runnable form on this page for details and to test live.

