# Firecrawl Alternative – Scrape, Crawl & Map to Markdown (`trysmartapi/firecrawl-alternative-scrape-crawl`) Actor

Firecrawl-compatible scrape, crawl, map and search. Clean LLM-ready markdown, HTML, links and metadata, the same output as Firecrawl, at a lower price and with no API key to manage.

- **URL**: https://apify.com/trysmartapi/firecrawl-alternative-scrape-crawl.md
- **Developed by:** [Smart API](https://apify.com/trysmartapi) (community)
- **Categories:** AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 55 total users, 55 monthly users, 99.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.65 / 1,000 firecrawl-equivalent credits

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Firecrawl Alternative – Scrape, Crawl & Map to Markdown

> **Firecrawl-compatible web scraping for LLMs at $0.65 per 1,000 credits. Scrape, crawl, map and search with clean, LLM-ready markdown, and no Firecrawl account or API key.**

This **Firecrawl alternative** turns any website into **clean markdown, HTML, links and metadata**, in the same output as Firecrawl's v2 API. Use it for RAG pipelines, AI agents, content migration and LLM training data.

- ✅ **$0.65 per 1,000 credits**, counted exactly like Firecrawl: 1 credit per page. Firecrawl's plans run $0.75–$3.80 per 1,000.
- ✅ **Four tools in one Actor**: **Scrape** a page, **Crawl** a whole site, **Map** every URL on a site, **Search** the web.
- ✅ **Firecrawl output**: `markdown`, `html`, `rawHtml`, `links`, `screenshot`, `metadata`, and AI `json` extraction with a prompt.
- ✅ **Main-content only** by default, with navigation, footers and ads stripped.
- ✅ **No charge for failures.** Pages that fail or come back empty are `#error` rows and are not charged.
- ✅ **Spend guard.** A crawl never runs past the maximum charge you set for the run.

***

### How much cheaper is it?

Price per 1,000 credits (1 credit = 1 scraped page), as published on 2026-10-30:

| Option | Per 1,000 pages |
|---|---|
| **This Actor** | **$0.65** |
| Firecrawl Hobby ($19 / 5,000 credits) | $3.80 |
| Firecrawl Standard ($99 / 100,000) | $0.99 |
| Firecrawl Scale ($749 / 1,000,000) | $0.75 |
| URL to Markdown (Apify Store) | from $1.00 |
| RAG Web Browser (Apify Store) | from $1.33 |

Sources: [firecrawl.dev/pricing](https://www.firecrawl.dev/pricing) and the Actors' Apify Store pages, read on 2026-10-30. There's no subscription, and you pay only for what you use.

#### What counts as a credit

| Task | Credits (same rule as Firecrawl) |
|---|---|
| Scrape one page | 1 |
| Crawl: each page returned | 1 |
| Map one site | 1 |
| Search: every 10 results | 2 |
| Search with "scrape each result" | +1 per result |
| JSON extraction with a prompt | +4 per page |

***

### Quick start

1. Pick a task in **What do you want to do?**
2. Paste **URLs** (for scrape, crawl, map) or **Search queries** (for search).
3. Keep **Markdown** as the format for LLMs, or add HTML, links or a screenshot.
4. Click **Start**, then export from the **Output** tab as JSON, CSV, Excel or via API.

#### Examples

Scrape two pages to markdown:

```json
{ "mode": "scrape", "urls": ["https://example.com", "https://docs.apify.com/academy"] }
```

Crawl a blog, up to 100 pages:

```json
{ "mode": "crawl", "urls": ["https://example.com"], "limit": 100, "includePaths": ["/blog/.*"] }
```

Map a site's URLs:

```json
{ "mode": "map", "urls": ["https://example.com"], "search": "pricing" }
```

Search and scrape the top 5 results:

```json
{ "mode": "search", "queries": ["best vector database 2026"], "limit": 5, "scrapeResults": true }
```

Extract structured data:

```json
{ "mode": "scrape", "urls": ["https://example.com/product"], "jsonPrompt": "product name, price, currency and stock status" }
```

#### Input reference

| Field | Used by | Description |
|---|---|---|
| `mode` | all | `scrape` (default), `crawl`, `map` or `search` |
| `urls` | scrape, crawl, map | One URL per line. `https://` is added when missing. |
| `queries` | search | One web search per line |
| `formats` | scrape, crawl, search | `markdown` (default), `html`, `rawHtml`, `links`, `screenshot` |
| `onlyMainContent` | scrape, crawl, search | Strip navigation, footers and ads (default `true`) |
| `jsonPrompt` | scrape, crawl, search | Describe the data to extract into a `json` field (+4 credits per page) |
| `limit` | crawl, search, map | Crawl: max pages per start URL (default 50, max 1,000). Search: results per query (default 5, max 100). Map: max links (default 1,000). |
| `maxDepth` | crawl | Link depth from the start URL (Firecrawl `maxDiscoveryDepth`) |
| `includePaths` / `excludePaths` | crawl | Regex filters on URL paths |
| `crawlTimeoutSecs` | crawl | Stop waiting after this long (default 1,800) |
| `search` | map | Only return links related to this keyword |
| `scrapeResults` | search | Also scrape each result page |
| `scrapeOptions` | scrape, crawl, search | Any other Firecrawl v2 scrape option, e.g. `{"waitFor": 2000, "mobile": true}` |
| `extraParams` | all | Extra top-level Firecrawl v2 request fields |

***

### Output

**Scrape and crawl** give one row per page, as Firecrawl returns it:

```json
{
    "url": "https://example.com",
    "requestId": "6721c0e5b3f1a2c4d5e6f708",
    "markdown": "# Example Domain\n\nThis domain is for use in illustrative examples…",
    "metadata": { "title": "Example Domain", "sourceURL": "https://example.com", "statusCode": 200, "language": "en" }
}
```

Crawl rows also carry `startUrl`. **Map** gives one row per site with `links` (each with `url`, `title`, `description`). **Search** gives one row per result with `query`, `position`, `url`, `title` and `description` (plus `markdown` when scraped).

Failed items look like `{"#error": true, "input": "...", "code": "...", "message": "..."}` and are never charged.

***

### Migrating from Firecrawl

The request fields are Firecrawl's v2 fields:

| Firecrawl v2 | This Actor |
|---|---|
| `POST /v2/scrape {url, formats, onlyMainContent, ...}` | `mode: "scrape"`, `urls`, `formats`, `onlyMainContent`, `scrapeOptions` |
| `POST /v2/crawl {url, limit, maxDiscoveryDepth, includePaths, excludePaths, scrapeOptions}` | `mode: "crawl"`, `urls`, `limit`, `maxDepth`, `includePaths`, `excludePaths` |
| `POST /v2/map {url, search, limit}` | `mode: "map"`, `urls`, `search`, `limit` |
| `POST /v2/search {query, limit, scrapeOptions}` | `mode: "search"`, `queries`, `limit`, `scrapeResults` |
| `formats: [{type: "json", prompt}]` | `jsonPrompt` |

Crawls are polled for you, so there's no job id to manage.

#### JavaScript

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('trysmartapi/firecrawl-alternative-scrape-crawl').call({
    mode: 'scrape',
    urls: ['https://example.com'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].markdown);
```

#### Python (e.g. for LangChain or LlamaIndex loaders)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("trysmartapi/firecrawl-alternative-scrape-crawl").call(
    run_input={"mode": "crawl", "urls": ["https://example.com"], "limit": 20}
)
docs = [item["markdown"] for item in client.dataset(run["defaultDatasetId"]).iterate_items() if not item.get("#error")]
```

#### One HTTP call

```bash
curl -X POST "https://api.apify.com/v2/acts/trysmartapi~firecrawl-alternative-scrape-crawl/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "scrape", "urls": ["https://example.com"]}'
```

***

### Errors, retries and what you pay for

- **Temporary problems** (busy service, timeouts, rate limits) are retried automatically with backoff.
- **A page that fails** (blocked, 404, empty) becomes an `#error` row, and the rest of the run continues.
- **You pay only for pages with content.** Error rows are free.
- **Maximum charge per run:** if you set one in Apify, crawls are sized to fit it and the run stops cleanly when it is reached.
- **Run status** summarises the outcome, e.g. "9 of 10 items succeeded, 1 failed (see #error rows)". The full summary is saved as `OUTPUT` in the key-value store.

### FAQ

**Is this the official Firecrawl Actor?**
No. It is an independent alternative with Firecrawl-compatible inputs and output.

**Do I need a Firecrawl API key?**
No.

**Does it render JavaScript?**
Yes. Pages are rendered like Firecrawl does, and you can add `{"waitFor": 2000}` in **Scrape options** for slow pages.

**Can it log in or fill forms?**
Not in this version.

**Are stealth proxies or PDF parsing supported?**
Not yet. `proxy` other than `basic` and `parsers` are refused, because they cost several credits per page.

**What happens if a crawl is interrupted?**
Pages are saved when the crawl finishes. If the crawl job is lost before then, that start URL becomes one `#error` row and nothing is charged for it.

***

*Not affiliated with Firecrawl; the name is used only to describe compatibility.*

# Actor input Schema

## `mode` (type: `string`):

Pick a task. Scrape, crawl and map use **URLs**; search uses **Search queries**.

## `urls` (type: `array`):

For scrape, crawl and map. One URL per line; https:// is added when missing.

## `queries` (type: `array`):

For search. One web search per line.

## `formats` (type: `array`):

Same formats as Firecrawl. Markdown is best for LLMs and RAG.

## `onlyMainContent` (type: `boolean`):

Strip navigation, headers, footers and ads, like Firecrawl onlyMainContent.

## `jsonPrompt` (type: `string`):

Optional. Describe the data you want (e.g. "product name, price and stock status"). Adds a json field to each page. Costs 4 extra credits per page, as on Firecrawl.

## `limit` (type: `integer`):

Crawl: maximum pages per start URL (default 50, max 1,000). Search: results per query (default 5, max 100). Map: maximum links (default 1,000).

## `maxDepth` (type: `integer`):

Crawl: how many links deep to follow from the start URL (Firecrawl maxDiscoveryDepth).

## `includePaths` (type: `array`):

Crawl: only follow URLs whose path matches, e.g. /blog/.\*

## `excludePaths` (type: `array`):

Crawl: skip URLs whose path matches, e.g. /tag/.\*

## `crawlTimeoutSecs` (type: `integer`):

Crawl: give up waiting for a crawl after this long.

## `search` (type: `string`):

Map: only return links related to this keyword.

## `scrapeResults` (type: `boolean`):

Search: also fetch each result page in the chosen formats (1 credit per result, 5 with JSON).

## `scrapeOptions` (type: `object`):

Any other Firecrawl v2 scrape option, e.g. {"waitFor": 2000, "mobile": true, "location": {"country": "DE"}}.

## `extraParams` (type: `object`):

Extra top-level Firecrawl v2 request fields, passed through unchanged.

## Actor input object example

```json
{
  "mode": "scrape",
  "urls": [
    "https://docs.apify.com/academy"
  ],
  "formats": [
    "markdown"
  ],
  "onlyMainContent": true,
  "crawlTimeoutSecs": 1800,
  "scrapeResults": false
}
```

# Actor output Schema

## `results` (type: `string`):

Scraped or crawled pages (markdown, HTML, links, metadata), map links, or search results, as Firecrawl returns them. Failed pages are rows with #error: true and are not charged. Export as JSON, CSV, Excel or XML.

## `runSummary` (type: `string`):

succeeded, failed and unprocessed item counts, stoppedReason (null, budget, capacity or fatal) and charged events.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "scrape",
    "urls": [
        "https://docs.apify.com/academy"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("trysmartapi/firecrawl-alternative-scrape-crawl").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "scrape",
    "urls": ["https://docs.apify.com/academy"],
}

# Run the Actor and wait for it to finish
run = client.actor("trysmartapi/firecrawl-alternative-scrape-crawl").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "scrape",
  "urls": [
    "https://docs.apify.com/academy"
  ]
}' |
apify call trysmartapi/firecrawl-alternative-scrape-crawl --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,trysmartapi/firecrawl-alternative-scrape-crawl"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/RcHOo45Xj0E05JxCM/builds/EmgQF2tFk5DmbW8RN/openapi.json
