# Discover the URLs on a website.

**API:** Data API

**Endpoint:** `POST /v1/beta/firecrawl/map`

**Tags:** Firecrawl

List the URLs reachable from a starting page, without fetching any content. `url` and `limit` are both required (limit 1 to 100000). Returns `success`, a request `id`, and `links[]` with `url` and `title` — note these are **objects with a title**, unlike `post_tavily_map` which returns bare strings. Use it to size a site before paying to crawl it, then fetch only what matters with `post_firecrawl_scrape`. When you want content and structure in one pass, `post_firecrawl_crawl`.

### Pricing reference

- Metering: Metered result count.
- Reference request estimate: USD 0.001071.
- Unit cost basis: USD 0.001071.
- Resource unit: `firecrawl_credit`.
- Reference customer multiplier: 1.0. Do not apply it again to a settled customer amount.
- Cost bases do not establish the final customer price, including when zero.

Reference metadata only, not an account quote, a guaranteed price or a spending cap. Resource credits are not Felo credits. Final charges follow Felo billing records.

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **yes**

### application/json

Schema:

```json
{
  "additionalProperties": false,
  "properties": {
    "limit": {
      "maximum": 100000,
      "minimum": 1,
      "type": "integer"
    },
    "url": {
      "format": "https_url",
      "type": "string"
    }
  },
  "required": [
    "limit",
    "url"
  ],
  "type": "object"
}
```

Example:

```json
{
  "limit": 1,
  "url": "https://example.com"
}
```

## Responses

### 200 — Map completed successfully.

Headers:
- `X-Request-Id` (string) — Request identifier to include when contacting Felo support.

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "True when the map succeeded."
    },
    "links": {
      "type": "array",
      "description": "Discovered links.",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "A discovered URL."
          },
          "title": {
            "type": "string",
            "description": "Title of the discovered page, when available."
          }
        }
      }
    },
    "creditsUsed": {
      "type": "integer",
      "description": "Firecrawl credits consumed (1 per discovered link)."
    }
  }
}
```

### 400 — The request could not be processed. Check the request parameters.

### 401 — A valid Felo API key is required.

### 402 — The request cannot proceed because a billing requirement is not met.

### 403 — The account is not permitted to perform this operation.

### 429 — A request or spending limit has been reached.

### 502 — The service could not complete the request.

### 503 — The API or billing service is temporarily unavailable.

### 504 — The service timed out while processing the request.

### default — Error response; upstream passthrough responses may use provider formats

**application/json**

Schema:

```json
{}
```
