---
agent:
  instructions: "Search crawlapi docs via GET /.well-known/search?q={query} (add &format=json or Accept: application/json for JSON)."
  endpoint: "https://docs.crawlapi.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://docs.crawlapi.dev/llms.txt"
---

> Documentation index: https://docs.crawlapi.dev/llms.txt
> Search docs: https://docs.crawlapi.dev/.well-known/search?q={query}
> OpenAPI 3.1 specification: https://docs.crawlapi.dev/openapi.json

# Changelog

> Product updates to `POST /v1/scrape`, MCP, CLI, extraction, documents, and error codes.

Release notes for crawlapi, newest first. Current behavior is documented in each linked guide.

## December 1, 2026

### Hosted MCP server with OAuth

- Connect Claude Code, Codex, OpenCode, pi, Cursor, VS Code, or Windsurf to `https://mcp.crawlapi.dev/mcp` with browser OAuth sign-in — no local install and no API key in config files.
- Tool responses return structured JSON alongside readable text, fence page content as untrusted data, trim long outputs cleanly for agent context windows, and return all pages fetched so far if a `site` crawl runs long.
- Signing out of all sessions or suspending your account revokes connected MCP clients immediately. See [MCP server](https://docs.crawlapi.dev/mcp.md).

### X post replies and cleaner X articles

- X posts now include the public replies X shows to visitors who are not signed in, under `## Replies` in markdown and in `structured.post.comments` (with `in_reply_to` naming whom a nested reply answers).
- Attached X articles keep code blocks fenced once, nest bold and italic cleanly inside links, and preserve multi-line blockquotes. See [X and YouTube](https://docs.crawlapi.dev/special-sites.md).

### Privacy and security updates

- Updated the [Privacy Policy](https://crawlapi.dev/privacy) and [Security](https://crawlapi.dev/security) pages for `mcp.crawlapi.dev`, OAuth sign-in, and cookieless site analytics.

---

## November 29, 2026

### Deeper structured JSON extraction

- `format: "json"` now extracts embedded page state from modern Next.js App Router pages and more script formats, alongside broader JSON-LD support.
- Improved entity accuracy on complex structured pages and listing pages, and better column alignment for repeated card grids. See [Structured JSON](https://docs.crawlapi.dev/json.md).

---

## November 28, 2026

### Flat 1-credit pricing and higher account limits

- Every returned page or document now costs **`1` credit**, regardless of JavaScript rendering, site protection, document format, or `markdown` vs `json` output. Failed requests, `404`s, and sign-in walls remain **`0` credits**.
- Account rate and concurrency limits increased across every pack: Starter now starts at **`200` requests/min** and **`10` concurrent requests**, scaling up to **`10,000` requests/min** and **`300` concurrent requests** on Business.
- Removed `usage.level` from the `200` response envelope (`usage` now returns `credits` and `remaining`). See [Credits and pricing](https://docs.crawlapi.dev/credits.md) and [Rate limits](https://docs.crawlapi.dev/rate-limits.md).

### Plain-text URLs, short JSON responses, and cleaner markdown

- Plain-text URLs that omit a `Content-Type` header now return cleanly instead of failing with `422 UNSUPPORTED_CONTENT`.
- Short JSON responses now succeed in `markdown` mode, and redirect-heavy pages resolve more reliably.
- Hidden error and loading alerts are stripped from extracted markdown. See [PDFs and documents](https://docs.crawlapi.dev/documents.md) and [Markdown output](https://docs.crawlapi.dev/markdown.md).

---

## November 21, 2026

### Account endpoints, `ACCOUNT_SUSPENDED`, and RSS/Atom feed links

- Added `GET /v1/account` (free credit balance, held credits, rate limits, and active key metadata) and `DELETE /v1/account/key` (revoke the calling key immediately), metered separately at `60` requests/min. See [API keys and billing](https://docs.crawlapi.dev/account.md).
- Added `403 ACCOUNT_SUSPENDED` (`retryable: false`) so suspended accounts fail fast with a dedicated code instead of `401 UNAUTHORIZED`. See [Errors and retries](https://docs.crawlapi.dev/errors.md).
- RSS and Atom feeds now populate `data.links` with their entry URLs. See [PDFs and documents](https://docs.crawlapi.dev/documents.md).

### `crawl` CLI and local MCP server

- Built the standalone `crawl` CLI for single pages, resumable paced batches (`-i`, `.crawl-journal.jsonl`, `--max-credits`), origin-strict `crawl site` crawls, browser approval sign-in (`crawl login`), account/key/usage/billing commands, and a local MCP server (`crawl mcp`) with browser sign-in and `scrape`, `site`, `account`, and `login` tools.
- Local MCP fences untrusted page content, scrubs credentials, and saves full output for large pages to private temp files on disk. See [CLI](https://docs.crawlapi.dev/cli.md) and [MCP server](https://docs.crawlapi.dev/mcp.md).

---

## November 20, 2026

### Structured validation errors and dedicated route codes

- `400 INVALID_REQUEST` now returns concise messages with `error.param` naming the invalid or unknown field.
- Unknown paths return `404 ROUTE_NOT_FOUND` (distinct from target `404 NOT_FOUND`), unsupported methods return `405 METHOD_NOT_ALLOWED` with `Allow: POST`, and `401 UNAUTHORIZED` sends `WWW-Authenticate: Bearer realm="crawlapi"`.
- `402 INSUFFICIENT_CREDITS` adds `error.required_credits`. See [Errors and retries](https://docs.crawlapi.dev/errors.md).
- Added `usage.level` (`standard`, `advanced`, or `premium`) to `200` responses. **Superseded November 28:** removed when flat 1-credit pricing shipped.

---

## November 19, 2026

### Dashboard: named API keys, Stripe receipts, dark mode, and UTC picker

- API keys now accept a name and optional description, shown in the keys table and revoke dialog.
- Purchase history now supports on-demand Stripe receipt downloads for completed purchases.
- Added shared light/dark/system theme switching across the website, docs, and dashboard, live balance and usage refresh, and a two-month UTC date range picker on Usage. See [API keys and billing](https://docs.crawlapi.dev/account.md).

---

## November 18, 2026

### JSON responses, cookie banners, and challenge handling

- APIs that serve JSON with non-JSON content types now parse cleanly instead of failing with `422 UNSUPPORTED_CONTENT`.
- Cookie banners no longer interfere with short pages returning clean markdown.
- Improved handling of sites that return temporary challenge responses.

---

## November 14, 2026

### YouTube video reader

- Watch pages, Shorts, `/live/`, `/embed/`, `/v/`, and `youtu.be` URLs now return dedicated markdown layouts and `structured.type: "video"` (`source: "youtube"`) with publish dates, view counts, descriptions, channel links, and chapters. See [X and YouTube](https://docs.crawlapi.dev/special-sites.md).

### Repeated card lists and merged structured data

- Pages rendering listings as repeated cards without an HTML `<table>` (job boards, product grids, forum listings) now extract as a table with `source: "list"`.
- When a page declares the same entity across JSON-LD, microdata, and OpenGraph, `data.json.structured` fills blank fields from the secondary sources. See [Structured JSON](https://docs.crawlapi.dev/json.md).

### Stricter URL validation, document handling, and tracking-free links

- Tightened URL validation and API key header checks for public-only scraping.
- Improved feed truncation handling, password-protected Office file detection, and malformed-page handling.
- `metadata.final_url` and URLs inside `structured` strip tracking parameters. See [Errors and retries](https://docs.crawlapi.dev/errors.md) and [PDFs and documents](https://docs.crawlapi.dev/documents.md).

---

## November 13, 2026

### X post reader

- `x.com` and `twitter.com` status URLs now return clean markdown and `structured.type: "post"` (`source: "x"`) with engagement counts, expanded links, media URLs, quoted posts, author threads, and attached X articles.
- Age-restricted posts return X's sign-in notice with `metadata.login_required: true` for `0` credits. See [X and YouTube](https://docs.crawlapi.dev/special-sites.md).

### Inline markdown links, PDF cleanup, and expanded `structured` types

- Content links render inline as absolute `[text](url)` with tracking parameters stripped and duplicate or noisy listing links reduced to plain text.
- Improved PDF heading detection, line breaks, and hyphenation.
- `data.json.structured` expands to 12 normalized types (`product`, `article`, `recipe`, `software_app`, `creative_work`, `event`, `job`, `faq`, `local_business`, `video`, `listing`, and `post`). See [Markdown output](https://docs.crawlapi.dev/markdown.md) and [Structured JSON](https://docs.crawlapi.dev/json.md).

---

## November 12, 2026

### Code blocks, data tables, and streamed pages

- Fenced code blocks preserve original formatting and indentation, data tables stay intact as Markdown tables in markdown and structured rows in JSON, and streamed client-side pages wait until dynamic content finishes loading.

---

## November 11, 2026

### Public launch of `POST /v1/scrape`

- Launched `POST https://api.crawlapi.dev/v1/scrape` accepting `url`, `format` (`markdown` or `json`), and `timeout` (`1000`–`60000` ms, default `30000`) for public `http` and `https` URLs.
- Authenticated responses include `RateLimit-Policy` and `RateLimit` headers; failed requests, `404`s, and sign-in walls cost `0` credits.
- Launched with tiered per-page pricing (`1`, `10`, or `25` credits) and one-time credit packs starting at `$10`, plus `10` free playground pages per account. **Superseded November 28:** replaced by flat `1`-credit pricing across all pages and higher pack limits.
