# Firecrawl URL Discovery API

> Discovers and returns URLs found across a target website. Provide an HTTPS target address and define the maximum link count to map site pages.

Source: https://www.sandbase.ai/apis/firecrawl/map
API reference: https://www.sandbase.ai/apis/firecrawl/map/docs

## Facts

- Provider: Firecrawl
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/firecrawl/map`
- Price: $0.0075 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: site mapping, crawling, url discovery
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/firecrawl/map` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `url` | string | yes |  |
| `limit` | integer | yes |  |

## FAQ

### How do I use the Firecrawl URL Discovery API?

Send a POST request to https://api.sandbase.ai/v1/api/firecrawl/map with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Firecrawl URL Discovery API cost?

$0.0075 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Firecrawl URL Discovery API accept?

Required: url (string) and limit (integer). The Parameters table and the Playground on this page list every field.

### What does the Firecrawl URL Discovery API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Firecrawl developer account or API key?

No. Firecrawl URL Discovery runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Firecrawl API access separately.

## README

### Firecrawl URL Discovery API

Map website architecture and discover internal links using `url` and `limit`.

#### Use cases

- Discover reachable pages across an entire domain.
- Map site link structures for search and content indexers.
- Extract lists of internal website endpoints prior to scraping.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/firecrawl/map" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "<url>", "limit": "<limit>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `url` | string | Yes | The HTTPS URL to map. |
| `limit` | integer | Yes | Maximum number of links to discover. |

#### Notes

- Requires a valid HTTPS address for `url`.
- Set `limit` to specify the maximum number of links to discover.
