---
title: "URL to Markdown API for LLMs and RAG pipelines | ScrapeCrate"
description: "Turn any public web page into clean Markdown, metadata and links, ready for an LLM. Free monthly credit to try it, pay only for successful calls."
url: https://scrapecrate.com/url-to-markdown-api
markdown: https://scrapecrate.com/url-to-markdown-api.md
---

# Free URL to Markdown Converter

Paste the link of any public web page and get its main content as clean Markdown, with title, metadata and links, as JSON. No account, nothing to install.

**Try it free:** a live call without an account or API key, reduced to 10 results, on [the web page](https://scrapecrate.com/url-to-markdown-api#try-it-free).

More free tools

- [YouTube Transcript Extractor](https://scrapecrate.com/youtube-api.md): The transcript of a video, with timestamps.
- [Google Maps Scraper](https://scrapecrate.com/google-maps-api.md): Search Google Maps, get the places as data.
- [App Reviews Scraper](https://scrapecrate.com/reviews-api.md): The latest reviews of an app, in one model.
- [Meta Ad Library Search](https://scrapecrate.com/meta-ad-library-api.md): Search Facebook and Instagram ads by keyword.
- [TikTok Profile Videos Scraper](https://scrapecrate.com/tiktok-api.md): Get the latest videos of a TikTok profile as data.
- [Trustpilot Scraper](https://scrapecrate.com/trustpilot-reviews-api.md): The latest Trustpilot reviews of a company.
- [App Store Reviews Scraper](https://scrapecrate.com/app-store-reviews-api.md): The latest reviews of an iOS app.

## URL to Markdown API for LLMs and RAG pipelines

Give a URL, get the main content of the page as clean Markdown (navigation, ads and cookie banners removed), its title, description, canonical URL, language and every link, plus the plain text or raw HTML if you want them. Pages built with JavaScript or behind anti-bot checks load in a real browser with `render=true`.

[Start free](https://scrapecrate.com/auth/sign-up) [API reference](https://scrapecrate.com/docs/api/web.md)

No credit card needed. One API key works on every endpoint.

## Endpoints and prices

| Endpoint | What you get | Price |
| --- | --- | --- |
| GET /v1/web/page | Get a web page as Markdown | $0.003 / call ($0.011 with render=true) $3 per 1,000 calls |

## Make your first request

GET `https://api.scrapecrate.com/v1/web/page`

```bash
curl "https://api.scrapecrate.com/v1/web/page?url=https%3A%2F%2Fexample.com%2Fblog%2Fhello-world" \
  -H "X-API-Key: YOUR_API_KEY"
```

```python
# pip install scrapecrate
from scrapecrate import ScrapeCrate

client = ScrapeCrate(api_key="YOUR_API_KEY")
res = client.web.page(url="https://example.com/blog/hello-world")
print(res.data)
print(res.credits_used, res.credits_remaining)
```

```typescript
// npm install scrapecrate
import { ScrapeCrate } from 'scrapecrate';

const client = new ScrapeCrate({ apiKey: 'YOUR_API_KEY' });
const res = await client.web.page({ url: "https://example.com/blog/hello-world" });
console.log(res.data, res.creditsUsed, res.creditsRemaining);
```

Response:

```json
{
  "data": {
    "url": "https://example.com/blog/hello-world",
    "final_url": "https://example.com/blog/hello-world",
    "status_code": 200,
    "content_type": "text/html",
    "rendered": false,
    "title": "Hello World | Example Blog",
    "markdown": "# Hello World\n\nThis is the **first** paragraph, with a [link](https://example.org/).\n\n## Details\n\n- one\n- two",
    "metadata": {
      "description": "A first post about the world.",
      "canonical_url": "https://example.com/blog/hello-world",
      "language": "en",
      "site_name": "Example Blog",
      "author": "Jane Writer",
      "published_at": "2026-11-20T10:00:00Z",
      "image": "https://example.com/img/cover.png"
    },
    "links": [
      {
        "url": "https://example.com/",
        "text": "Home"
      },
      {
        "url": "https://example.org/",
        "text": "link"
      }
    ],
    "word_count": 15,
    "fetched_at": "2026-11-24T09:30:00Z"
  },
  "meta": {
    "request_id": "req_8f2c1a9b0d3e4f5a6b7c",
    "credits_used": 3,
    "credits_remaining": 9999
  }
}
```

Illustrative values: a real response carries the live data you ask for.

## What people build with it

### RAG and knowledge bases

Turn documentation, articles and help centers into clean Markdown chunks for embeddings.

### AI agents

Let an agent read any link it finds, as Markdown that fits in its context window.

### Content monitoring

Fetch a page every day and diff its Markdown to see what changed.

### Link discovery

Get every link of a page, absolute and de-duplicated, to crawl a site section.

## Pricing

- $0.003 per successful call on every endpoint, whatever it returns
- $0.011 with `render=true` (a headless browser)
- $3 per 1,000 calls at the list price (pay as you go), down to $1.50 with a monthly subscription of $1,000 or more
- Free monthly credit to try every API, no card required
- 22.8k calls a month for $50.00 ($68.50 of usage), or any monthly price on the slider
- Only successful calls are billed
- Pay as you go never expires; monthly usage renews each month (no rollover); both work on every API

[See the full price list →](https://scrapecrate.com/pricing.md)

## Also for AI assistants (MCP)

The ScrapeCrate MCP server exposes every endpoint of this API as a tool for Claude, Cursor and other MCP clients. Run it with `uvx scrapecrate-mcp`; see the [MCP guide](https://scrapecrate.com/docs/mcp.md).

## Frequently asked questions

**How are calls billed?**

3 credits per successful call; 11 credits with `render=true`, which loads the page in a headless browser. Errors (unreachable page, 404, blocked) are free.

**When should I use render=true?**

When the page builds its content with JavaScript (single-page apps) or shows an anti-bot check: a plain call then answers `empty_page` or `render_required`, free, and tells you to retry with `render=true`.

**Which pages can it read?**

Public http(s) pages that anyone can open without an account: HTML, XHTML and plain text or Markdown files, up to 5 MB. No logins, no paywall bypass, no private or internal addresses.

**What is in the response?**

`markdown` (the main content), `title`, `metadata` (description, canonical URL, language, site name, author, publication date, preview image), `links`, the final URL after redirects and its HTTP status; `text` and `html` on request.

**Am I charged for failed requests?**

No. Only successful calls are billed; errors, timeouts and not-found results are free.

**Can I use the same API key for the other ScrapeCrate APIs?**

Yes. One account, one API key and one balance work on every API: Web Pages, YouTube, Google Maps, Reviews, Meta Ad Library, Google Search, TikTok.

## Other APIs with the same key

- [YouTube API](https://scrapecrate.com/youtube-api.md): Transcripts, metadata, comments, channels, playlists and search for any public YouTube video.
- [Google Maps API](https://scrapecrate.com/google-maps-api.md): Search places, get full place details and every review, from any country.
- [Reviews API](https://scrapecrate.com/reviews-api.md): Trustpilot, App Store, Google Play, Tripadvisor, Booking.com, Yelp, G2 and Capterra reviews in one JSON format.
- [Meta Ad Library API](https://scrapecrate.com/meta-ad-library-api.md): Search the ads running on Facebook and Instagram, with creatives, dates and advertiser.
- [Google Search API](https://scrapecrate.com/google-search-api.md): Google search results as JSON, for any country, language and device.
- [TikTok API](https://scrapecrate.com/tiktok-api.md): Video metadata, captions, comments and profiles of any public TikTok account.

## Start using the Web Page to Markdown API

Free monthly credit to try every API. No credit card required.

[Create a free account](https://scrapecrate.com/auth/sign-up) [Read the API reference](https://scrapecrate.com/docs/api.md)
