# Build with Webcrawl

Webcrawl is Brainfish's open-source, MIT-licensed Firecrawl alternative. Use the hosted API at webcrawl.app, connect over MCP, or self-host the engine from [webcrawl-anything](https://github.com/brainfish-ai/webcrawl-anything).

Agents do better with live web access than guessing from training data. Webcrawl gives you search, scrape, crawl, map and extract through one API, plus a hosted MCP server and npm packages.

## Quickstart

### 1. Get an API key

Sign up at [webcrawl.app](https://webcrawl.app) and create an API key from your dashboard. Free accounts get 1,000 credits a month.

### 2. Make your first scrape request

<Tabs>
<Tab label="cURL">

```bash
export WEBCRAWL_API_KEY="your_api_key_here"

curl -X POST https://webcrawl.app/v1/scrape \
  -H "Authorization: Bearer $WEBCRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'
```

</Tab>
<Tab label="TypeScript">

```bash
npm install @webcrawl/client
```

```typescript
import { WebcrawlClient } from "@webcrawl/client";

const client = new WebcrawlClient({
  apiKey: process.env.WEBCRAWL_API_KEY,
});

const page = await client.scrape({
  url: "https://example.com",
});

console.log(page.markdown);
```

</Tab>
<Tab label="Python">

```python
import os
import requests

response = requests.post(
    "https://webcrawl.app/v1/scrape",
    headers={
        "Authorization": f"Bearer {os.environ['WEBCRAWL_API_KEY']}",
        "Content-Type": "application/json"
    },
    json={"url": "https://example.com"}
)

result = response.json()
print(result["markdown"])
```

</Tab>
</Tabs>

You'll get back clean Markdown:

```json
{
  "success": true,
  "url": "https://example.com",
  "title": "Example Domain",
  "markdown": "# Example Domain\n\nThis domain is for use in illustrative examples...",
  "links": ["https://www.iana.org/domains/example"],
  "cached": false,
  "credits": { "charged": 1 }
}
```

### 3. Try a search request

<Tabs>
<Tab label="cURL">

```bash
curl -X POST https://webcrawl.app/v1/search \
  -H "Authorization: Bearer $WEBCRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "open source web scraping", "limit": 5}'
```

</Tab>
<Tab label="TypeScript">

```typescript
const results = await client.search({
  query: "open source web scraping",
  limit: 5,
});

console.log(results);
```

</Tab>
<Tab label="Python">

```python
response = requests.post(
    "https://webcrawl.app/v1/search",
    headers={
        "Authorization": f"Bearer {os.environ['WEBCRAWL_API_KEY']}",
        "Content-Type": "application/json"
    },
    json={"query": "open source web scraping", "limit": 5}
)

results = response.json()
print(results)
```

</Tab>
</Tabs>

## What to read next

- [Scrape](/docs/scrape): one URL as Markdown or JSON
- [Crawl](/docs/crawl): many pages from a start URL
- [Map](/docs/map): discover URLs without reading bodies
- [Search](/docs/search): live web search
- [Extract](/docs/extract): prompt or schema extraction
- [MCP setup](/docs/mcp-setup): connect to Claude, Cursor, ChatGPT and more
- [Self-hosting](/docs/self-hosting): MIT engine on your infra
- [SDKs and CLI](/docs/sdks): `webcrawl`, `@webcrawl/mcp`, `@webcrawl/client`
- [API reference](/docs/api): endpoints and credits
- [Web Scraping API](/web-scraping-api): product overview for scrape, crawl, map, search and extract

## Credits and pricing

- Free: 1,000 credits a month, no card.
- Pro: starts at $20 a month for 10,000 credits, at $2 per 1,000 credits.
- Bigger Pro plans include up to 40% bonus credits.
- Overage on Pro: $2 per 1,000 credits, with a cap you control.

Full plan table: [/pricing](/pricing). Free tools: [/tools](/tools). Integrations: [/integrations](/integrations). Glossary: [/glossary](/glossary). Alternatives hub: [/alternatives](/alternatives). Side-by-side with Firecrawl: [/compare/firecrawl](/compare/firecrawl). ScraperAPI alternatives: [/alternatives/scraperapi](/alternatives/scraperapi). Tavily alternatives: [/alternatives/tavily](/alternatives/tavily). SerpAPI alternatives: [/alternatives/serpapi](/alternatives/serpapi). Exa alternatives: [/alternatives/exa](/alternatives/exa). Jina Reader alternative: [/alternatives/jina-reader](/alternatives/jina-reader). Web Scraping API overview: [/web-scraping-api](/web-scraping-api). Agent-readable summary: [/llms.txt](/llms.txt).

## Docs index

- [Overview](https://webcrawl.app/docs)
- [Scrape](https://webcrawl.app/docs/scrape)
- [Crawl](https://webcrawl.app/docs/crawl)
- [Map](https://webcrawl.app/docs/map)
- [Search](https://webcrawl.app/docs/search)
- [Extract](https://webcrawl.app/docs/extract)
- [MCP server](https://webcrawl.app/docs/mcp)
- [MCP setup](https://webcrawl.app/docs/mcp-setup)
- [Self-hosting](https://webcrawl.app/docs/self-hosting)
- [SDKs and CLI](https://webcrawl.app/docs/sdks)
- [API reference](https://webcrawl.app/docs/api)

HTML: https://webcrawl.app/docs
