# POST /map (Firecrawl API)
Base URL: https://api.firecrawl.dev/v1
Auth: Authorization: Bearer <FIRECRAWL_API_KEY>
Last verified: 2026-09-03

> Map multiple URLs based on options

## Critical Gotchas
* The `formats` field controls the output shape and defaults to `["markdown"]`. Omitting it does not return HTML — request `["markdown","html"]` explicitly.
* `/crawl` is asynchronous: it returns a job `id`, and results are collected by polling `/crawl/{id}` until `status` is `completed`.

## cURL
curl -X POST 'https://api.firecrawl.dev/v1/map' \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://example.com","search":"string"}'

## Parameters
| Name | In | Type | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| url | body | string | Yes | The base URL to start crawling from |
| search | body | string | No | Search query to use for mapping. Duri... |
| ignoreSitemap | body | boolean | No | Ignore the website sitemap when crawl... |

## Response (200 OK)
{"success":true,"id":"00000000-0000-4000-8000-000000000000","links":["string"]}

---
Need an API key? Get one at https://www.firecrawl.dev/signin/signup