# firecrawl_scrape

tool by [@c0va23](/marketplace/@c0va23/tools)

A tool that fetches api.firecrawl.dev.

- First published 2026-10-27 · release 2 on 2026-10-28
- [Download release 2](/marketplace/listings/01a17b91-9f48-773c-a163-e6cc4b190854/latest.bylm.json)
- [0 stars](/marketplace/listings/01a17b91-9f48-773c-a163-e6cc4b190854/stars)
- Needs a key: **Firecrawl** — sent to https://api.firecrawl.dev. Hint: Dashboard › API Keys: create a key at firecrawl.dev/app/api-keys and paste it here. [Get a key](https://www.firecrawl.dev/app/api-keys)

## What it holds

### What the model is told

**Tool the model sees**: `fetch_url-firecrawl_scrape`

```text
Read one web page as clean Markdown with the Firecrawl Scrape API (POST https://api.firecrawl.dev/v2/scrape). Handles JavaScript-rendered pages and PDFs. Use it on a specific URL — typically one returned by firecrawl_search — when you need the page's actual content to answer a question.
```

### Request

**Method and address**: `POST https://api.firecrawl.dev/v2/scrape`

**Headers sent**:

- `Authorization: Bearer {apiKey}`

**Body**: `application/json`

```json
{
  "url": "{url}",
  "formats": ["markdown"],
  "onlyMainContent": {only_main_content}
}
```

### Arguments the model passes

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `url` | string | yes |  | Full URL to read, including the scheme, e.g. https://docs.firecrawl.dev/features/scrape |
| `only_main_content` | boolean | no | `true` |  |

### Responses

**Retries**: A 429 or a 503 is sent again, 3 times at most, waiting 1000 ms first and doubling, 120000 ms at most

**Kept for the app's response details screen**: the first 65536 characters of the body and of each filter's output; the model never reads them

### Filters over the response, in order

#### Step 1

A jq program, giving `text/markdown`

```
def clip: if (length > 30000) then .[0:30000] + "\n\n… (truncated)" else . end;
.data as $d |
if ((.success // true) | not) then
  "Firecrawl scrape failed: " + ((.error // "unknown error") | tostring)
else
  "URL: " + (($d.metadata.sourceURL // $args.url // "") | tostring) +
  "\nTitle: " + (($d.metadata.title // "") | tostring) +
  "\nPage status: " + (($d.metadata.statusCode // "n/a") | tostring) +
  "\n\n" + ((($d.markdown // "(no markdown was returned for this page)") | tostring) | clip)
end
```

When the program outputs several values, only the first is passed on. A string is passed on without its quotes.

### Keys

**`apiKey`**: **Firecrawl**, an API key

## Downloads

Downloaded 6 times directly. Included in 3 downloads of other listings. 6 downloads in the last 30 days.

## Releases

| Release | Published | Downloads | File |
| --- | --- | --- | --- |
| [2](/marketplace/listings/01a17b91-9f48-773c-a163-e6cc4b190854/releases/2) | 2026-10-28 | [3](/marketplace/listings/01a17b91-9f48-773c-a163-e6cc4b190854?release=2) | [download](/marketplace/listings/01a17b91-9f48-773c-a163-e6cc4b190854/v/2.bylm.json) |
| [1](/marketplace/listings/01a17b91-9f48-773c-a163-e6cc4b190854/releases/1) | 2026-10-27 | [3](/marketplace/listings/01a17b91-9f48-773c-a163-e6cc4b190854?release=1) | [download](/marketplace/listings/01a17b91-9f48-773c-a163-e6cc4b190854/v/1.bylm.json) |

---

[Bring Your LM](/) · [Docs](/docs/features) · [Marketplace](/marketplace)

[Articles](/articles) · [Releases](/releases) · [Bundle Format](/marketplace/bundle-format) · [Marketplace Terms](/terms) · [App Privacy](/privacy) · [Website Privacy](/website-privacy) · [Open Source](/open-source) · [llms.txt](/llms.txt)
