---
title: "URL to Markdown API (2026): 5 Options Priced per 1,000"
description: "Turn any URL into clean markdown for LLMs and RAG. Firecrawl, Keirolabs extract, Tavily Extract, Jina Reader and ScrapingBee compared per 1,000 pages, from about $0.10 to $5.33, with Python, JavaScript and cURL examples and a checklist for markdown quality."
category: "comparisons"
url: https://keirolabs.cloud/blog/url-to-markdown-api
published: 2026-12-02
updated: 2026-12-02
---

# URL to markdown API (2026): 5 options priced per 1,000 pages, with code

## The 60-second version

**A URL to markdown API takes a web page address and returns the page's main content as clean markdown, ready for an LLM, a RAG index or a notes app.** The main options, priced per 1,000 pages from their own pages on December 2, 2026:

- **Firecrawl scrape:** $0.60 to $3.80 per 1,000 pages, 1,000 free credits a month ([pricing](https://www.firecrawl.dev/pricing)).
- **Keirolabs extract:** $1.78 to $5.33 per 1,000, with search and search-plus-content on the same key ([pricing](https://keirolabs.cloud/pricing)).
- **Tavily Extract:** $1.60 per 1,000 basic pages pay as you go, never billed on failure ([credits](https://docs.tavily.com/documentation/api-credits)).
- **Jina Reader:** billed by output tokens, 10M free tokens per key, and usable with no key at 20 requests a minute ([jina.ai/reader](https://jina.ai/reader)).
- **ScrapingBee:** from about $0.10 per 1,000 plain requests on its Startup plan, with a markdown output option ([pricing](https://www.scrapingbee.com/pricing/)).

**Pick on three things: price per page at your volume, how clean the markdown is, and whether you also need search.**

## How do URL to markdown APIs compare per 1,000 pages?

| API | Per 1,000 pages | Free allowance | Many URLs at once |
|---|---|---|---|
| **Keirolabs extract** | $1.78 to $5.33 | 2,000 credits (1,000 at signup plus 1,000 after setup) | `urls` array |
| [Firecrawl](https://www.firecrawl.dev/pricing) | $0.60 to $3.80 ($4.95 on Standard with JSON format) | 1,000 credits a month | `/batch/scrape`, `/crawl` |
| [Tavily Extract](https://docs.tavily.com/documentation/api-credits) | $1.60 basic, $3.20 advanced (pay as you go) | 1,000 credits a month | several URLs per call |
| [Jina Reader](https://jina.ai/reader) | about 7.5M tokens (varies with page size) | 10M tokens per key | one URL per request |
| [ScrapingBee](https://www.scrapingbee.com/pricing/) | about $0.10 plain, $0.50 with JS rendering (Startup) | 1,000 credits trial | one URL per request |

How the numbers work. **Firecrawl** charges 1 credit a page, so its plans ($19 for 5,000 up to $749 for 1 million credits, cheaper annually) land between $0.60 and $3.80. **Tavily** charges 1 credit per 5 successful basic extractions at $0.008 a credit. **ScrapingBee**'s Startup plan is $99 for 1 million credits, a request starts at 1 credit and a JS-rendered one costs 5. **Jina** bills output tokens; our 20-page test averaged about 30,000 characters per page, roughly 7,500 tokens. Disclosure: Keirolabs is ours.

**On price per page alone, Firecrawl Standard and ScrapingBee beat Keirolabs extract.** Keirolabs is the better buy when the same agent also searches, because lite search costs $0.03 to $0.10 per 1,000 on a plan and search with page content costs $1.33 to $4.00 per 1,000 calls for up to 5 pages each.

## What do 50,000 pages a month cost?

A worked example at a moderate volume, using the cheapest plan that covers it:

| API | Plan that fits | Monthly cost |
|---|---|---|
| ScrapingBee, plain HTML | Hobby, 75,000 credits | $19 |
| ScrapingBee, JS rendering (5 credits a page) | Freelance, 250,000 credits | $49 |
| Firecrawl | Standard, 100,000 credits | $99 ($83 annually) |
| Tavily Extract, basic | Bootstrap, 15,000 credits (10,000 needed) | $100 |
| Keirolabs extract | plan rates | about $89 to $267 |
| Jina Reader | token balance | about 375M tokens at your dashboard rate |

ScrapingBee and Tavily plan sizes from their pricing pages linked above. **The cheapest line is not always the cheapest pipeline.** A bloated page costs you again in model tokens every time it is read, so a converter that returns half the characters can save more downstream than it costs upstream. And if your agent also searches, price search and extraction together.

## What do you get back?

Most of these APIs return the same core shape: the page title, the main content as markdown, and some metadata. The Keirolabs `/api/v2/extract` response, for example:

```json
{
  "results": [
    {
      "url": "https://example.com/post",
      "title": "Example post",
      "content": "# Example post\n\nThe article body as markdown...",
      "metadata": { "title": "Example post", "description": "...", "published_date": "2026-11-30" }
    }
  ],
  "credits_used": 2
}
```

`content` is markdown with headings, lists, links and tables kept. `metadata.published_date` is useful for freshness filters in RAG.

## How do you convert a URL to markdown with Keirolabs?

**Python:**

```python
import os, requests

H = {"Authorization": f"Bearer {os.environ['KEIRO_API_KEY']}", "Content-Type": "application/json"}

r = requests.post("https://api.keirolabs.cloud/api/v2/extract", headers=H,
                  json={"url": "https://docs.tavily.com/documentation/api-credits"}, timeout=60)
r.raise_for_status()
page = r.json()["results"][0]
open("page.md", "w").write(page["content"])
print(page["title"], len(page["content"]), "chars")
```

**JavaScript (Node 18+):**

```javascript
const r = await fetch("https://api.keirolabs.cloud/api/v2/extract", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KEIRO_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ url: "https://docs.tavily.com/documentation/api-credits" }),
});
const { results } = await r.json();
console.log(results[0].title);
console.log(results[0].content.slice(0, 500));
```

**Several URLs:** send a `urls` array instead of `url`, and read each item in `results`.

**From a question instead of a URL:** `POST /api/v2/search/content` with `{"query": "...", "maxResults": 5}` searches the web and returns up to 5 pages, each with `full_text` as markdown. Set `embeddings.enabled` to get chunks and vectors in the same response.

## How do you do it with Jina Reader and Firecrawl?

**Jina Reader** needs only a URL prefix. With no key you get 20 requests a minute:

```bash
curl https://r.jina.ai/https://docs.tavily.com/documentation/api-credits
```

Add `-H "Authorization: Bearer $JINA_API_KEY"` for 500 requests a minute, and `X-Target-Selector` or `X-Remove-Selector` headers to strip navigation before it is billed as tokens. Pricing details are in [Jina Reader API pricing](/blog/jina-reader-api-pricing).

**Firecrawl** takes a JSON body with the formats you want:

```bash
curl -s -X POST https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://docs.tavily.com/documentation/api-credits", "formats": ["markdown"]}'
```

It keeps only the main content by default, and `/v2/crawl` or `/v2/batch/scrape` handle whole sites or long lists. Setup and endpoints are in our [Firecrawl API guide](/blog/firecrawl-api-guide-2026).

## How clean is the markdown?

**Cleanliness decides your downstream cost, because every extra line of navigation is a token your model reads.** In our [20-page test](/blog/jina-reader-alternatives), Jina Reader returned 598,000 characters across the 20 pages and Keirolabs extract returned 164,000 for the same content. On the BBC News front page it was 18,237 characters against 7,254. Jina was meaningful on more of the hard pages (15 of 20 against 11 of 20), including a PDF and a video page, so neither wins outright.

What to check on your own URLs:

- **Tables.** Do pricing and spec tables come through as markdown tables, or as runs of text?
- **Code blocks.** Docs pages should keep fenced code with the language intact.
- **Boilerplate.** Cookie banners, menus and "related posts" should be gone.
- **JavaScript pages.** Single-page apps need a rendering browser; plain HTTP fetchers return an empty shell.
- **PDFs.** Firecrawl bills 1 credit per PDF page; check whether your provider handles PDFs at all.

**Run 20 of your real URLs through two providers before you commit.** It takes ten minutes and the free tiers above cover it.

## Should you build it yourself?

You can. A fetcher plus a readability extractor plus an HTML-to-markdown converter works on static pages, and open-source projects such as Jina's Reader service code are on GitHub. What you take on: headless browsers for JavaScript pages, retries, timeouts, blocked requests, and keeping the extractor working as sites change. **Self-hosting makes sense at very high volume on a known set of sites.** For agents that read whatever the web returns, an API is usually cheaper once you count engineering time.

One licensing note: Jina's page says its `ReaderLM-v2` model is CC-BY-NC 4.0, and commercial use needs a license sold by Elastic since August 10, 2026.

## Which URL to markdown API should you use?

| If you... | Use |
|---|---|
| Want the lowest price per page at volume | Firecrawl Standard or above, or ScrapingBee |
| Crawl whole sites | Firecrawl |
| Have many dead or blocked URLs | Tavily Extract (failures are free) |
| Prototype for free, including PDFs | Jina Reader |
| Need search and extraction on one key, with compact output | Keirolabs |

Start with **2,000 free Keirolabs credits (1,000 at signup plus 1,000 after setup)**, no card, at [platform.keirolabs.cloud/register](https://platform.keirolabs.cloud/register). For a deeper head-to-head, see [Firecrawl vs Jina Reader vs Tavily Extract](/blog/firecrawl-vs-jina-reader-vs-tavily-extract).
