# Web Scraping API - Part of the Firecrawl web data API

## Clean markdown from any URL.

Turn any URL into clean markdown or structured data for AI agents. Works on the real web: JS-heavy, gated, and region-specific sites.

- [Try Scrape now](/app/playground?endpoint=scrape)
- [Read the docs](https://docs.firecrawl.dev/features/scrape)

The hero previews a scrape of a page (NASA on Wikipedia, Stripe pricing, or Hacker News): raw HTML goes in, clean markdown comes out. The page labels the flow [ SCRAPE ], [ MARKDOWN ], [ URL ], [ JSON ].

## Features

### Scraping that reaches the whole web

Most scrapers break on JavaScript, login walls, and region locks. Firecrawl handles it all, so every page comes back clean.

#### Clean, AI-ready output

Firecrawl strips nav, ads, and scripts and returns Markdown, JSON, links, or screenshots in one call. Output formats shown on the page: Markdown, Summary, HTML, Links, JSON, Screenshot, Images, Branding.

#### JavaScript rendering

Every scrape runs in real Chromium so React, Vue, and Next.js sites come back complete.

#### Blazingly fast

P95 latency of 3,387 ms on the 1,000-URL scrape benchmark, run Jan 13, 2026, built for real-time agents and dynamic apps.

#### Document parsing

Firecrawl can parse and output content from PDFs, DOCX, and more.

#### Batch scraping

Process thousands of URLs in parallel from a single request.

#### Enhanced mode

Stealth, geo, proxies, and adaptive retries are on by default so the pages other tools miss come back clean.

## For AI agents

### Built into the AI tools you already use

Use Firecrawl from Claude Code, Cursor, Windsurf, and the agent harnesses your team already runs.

#### One command

Connect your agent to Firecrawl through MCP or the CLI and skills. Copy and paste this into your AI agent:

```text
Read and follow https://www.firecrawl.dev/agent-onboarding/SKILL.md
```

**CLI**

```bash
npx -y firecrawl-cli@latest init --all --browser
```

**MCP**

```json
{
  "mcpServers": {
    "firecrawl": {
      "url": "https://mcp.firecrawl.dev/v2/mcp-oauth"
    }
  }
}
```

#### Agent onboarding

Are you an AI agent? Fetch this skill to connect Firecrawl and Alexandria through a connector, MCP or the CLI.

```bash
curl -sL https://www.firecrawl.dev/agent-onboarding/SKILL.md
```

See the [onboarding docs](https://docs.firecrawl.dev/ai-onboarding) and the [agent onboarding skill](https://www.firecrawl.dev/agent-onboarding/SKILL.md).

## Pricing

Flexible pricing: start for free, then scale as you grow. Scrape costs 1 credit per page on most formats, cached pages are free, and structured JSON extraction and advanced rendering tiers add credits per call. Free accounts include 1,000 credits per month and need no credit card. See [Pricing](/pricing.md) for plans.

## FAQ

Everything you need to know about Firecrawl Scrape.

### General

**What is Firecrawl Scrape?** Firecrawl Scrape turns any URL into clean, structured content for AI. Pass a URL and get markdown, structured JSON, HTML, screenshots, links, or metadata back in one call. Already rendered, already cleaned, ready to drop into an LLM.

**Who uses Scrape?** Teams building RAG pipelines, AI agents, deep research workflows, lead enrichment, competitive intelligence, and content tools. Over 1.25M developers and 150,000+ companies build with Firecrawl, including teams at Apple, Canva, and Lovable, and we've served more than 5 billion requests to date.

**How is Scrape different from a fetch + html-to-markdown pipeline?** Scrape renders every page in a real browser, strips the navigation, footers, ads, and tracking, then converts only the content body to markdown. The result is typically 70 to 80% smaller than a hand-rolled conversion, which means 70 to 80% fewer LLM tokens. It also handles JavaScript, redirects, retries, and rate limits automatically.

### How It Works

**Does Scrape work on JavaScript-heavy sites?** Yes. Every scrape runs in a real Chromium instance, so React, Vue, Next.js, and other SPA frameworks render the same way they would in a browser tab. You get the full DOM, including content fetched after page load.

**What formats can I get back?** Markdown by default. You can also request structured JSON via a schema, raw or clean HTML, full-page screenshots, links, and metadata. Pass a question to get a grounded answer, or a query to get the matching sentences back verbatim, at up to 100x fewer tokens than the full page. Request any combination in a single call.

**Can I extract structured data from a page?** Yes. Pass a JSON schema or a prompt and Scrape returns typed JSON matching your shape: product fields, pricing tables, contact info, whatever you define. No parsing on your end.

**Can I click, type, or scroll before a scrape?** Yes. Scrape supports actions before extraction: click, type, wait, scroll, and execute. Use them for cookie banners, infinite scroll, login walls, or any page that needs a nudge before it shows the content you want.

**Is Scrape suitable for large-scale projects?** Yes. Use the batch endpoint to send thousands of URLs in a single request. Scale and Enterprise plans support millions of pages with dedicated rate limits and SLAs.

### Pricing

**How much does Scrape cost?** 1 credit per page on most formats. Cached pages are free. Structured JSON extraction and advanced rendering tiers add credits per call. See the pricing page for the full breakdown.

**Is there a free tier?** Yes. Free accounts include 1,000 credits per month, enough to try Scrape with every format. No credit card required.

**Can I self-host Scrape?** Yes. Firecrawl is open source with over 200K GitHub stars and 2.5M+ weekly downloads on npm and PyPI. Run it on your own infrastructure for full control, or use the hosted API for zero ops. Both share the same SDKs and CLI.

_Canonical HTML: https://www.firecrawl.dev/scrape_

## Site Navigation

### Global Hub

- [Home](/index.md)
- [Pricing](/pricing.md)
- [Blog](/blog.md)
- [Glossary](/glossary.md)
- [Alternatives](/alternatives.md)
- [Tools](/tools.md)
- [Use Cases](/use-cases.md)
- [Integrations](/integrations.md)
- [Changelog](/changelog.md)
