# Firecrawl Page Scraper API

> Scrapes content from target web pages with automatic handling of JavaScript rendering. Returns extracted page data based on specified formats and proxy settings.

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

## Facts

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

## Call it

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `url` | string | yes |  |
| `proxy` | string | yes | basic |
| `formats` | array | no |  |

## FAQ

### How do I use the Firecrawl Page Scraper API?

Send a POST request to https://api.sandbase.ai/v1/api/firecrawl/scrape 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 Page Scraper 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 Page Scraper API accept?

Required: url (string) and proxy (one of basic). Optional: formats (array). The Parameters table and the Playground on this page list every field.

### What does the Firecrawl Page Scraper API return?

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

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

No. Firecrawl Page Scraper 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 Page Scraper API

Use this endpoint to extract web content from a target `url` using a designated `proxy` tier and optional output `formats`.

#### Use cases

- Extract clean page content from JavaScript-heavy websites.
- Convert target web pages into specific structured formats.
- Retrieve website data via automated scraping proxies.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `url` | string | Yes | The HTTPS URL to scrape. |
| `proxy` | string | Yes | Proxy tier. |
| `formats` | array | No | Output formats. |

#### Notes

- Requires an HTTPS link passed to the `url` parameter.
- The `proxy` parameter accepts the value `basic`.
