Turn any web page or document into clean markdown or structured JSON.

On this page

crawlapi handles JavaScript rendering, document parsing, and protected pages behind one API endpoint so your app or coding agent gets clean data from any URL.

Start with a single HTTP request, connect your coding agent through MCP, or read pages from your terminal with the CLI.

Make a request

Set CRAWLAPI_API_KEY in your environment (see Quickstart), then send a JSON body with url to POST https://api.crawlapi.dev/v1/scrape:

curl -sS https://api.crawlapi.dev/v1/scrape \
  -H "Authorization: Bearer $CRAWLAPI_API_KEY" \
  -H 'content-type: application/json' \
  --data '{"url": "https://example.com"}'

The cleaned page text is in data.markdown, unique page links in data.links, and page details in data.metadata.

Output formats

Format Response field What you get
markdown (default) data.markdown Clean page text, headings, lists, code blocks, and Markdown tables, plus data.links
json data.json Normalized structured entity, tables, raw jsonld, and embedded page state

Built-in page handling

  • JavaScript rendering: Dynamic apps and single-page sites render before extraction so you get the live page content, not an empty shell.
  • Protected pages: Difficult sites are handled automatically with no extra flags, proxy setup, or browser configuration on your side.
  • Documents: PDF, Office, OpenDocument, EPUB, RTF, CSV, JSON, RSS/Atom feeds, and plain text convert through the same endpoint.
  • X and YouTube: X posts and YouTube videos return dedicated markdown layouts and structured fields.
  • Structured errors: Every failure returns a machine-readable error.code, a retryable boolean, and a link to its remedy.

Choose how to use crawlapi

You have You want Use
A web page URL Clean markdown for LLMs, RAG, or search Markdown
A product, article, listing, or entity URL Normalized fields, tables, JSON-LD, or embedded state Structured JSON
A PDF, Office file, CSV, JSON, or feed URL Extracted text, tables, or feed links PDFs & documents
An X post or YouTube URL Thread, replies, chapters, or transcript X & YouTube
A list of URLs or a site to crawl Local files, resumable batches, or shell piping CLI
A coding agent (Claude Code, Codex, Cursor, VS Code) Live web-reading tools inside chat MCP server
A codebase with an AI coding agent Accurate API usage without live MCP tools Agent skill

Use crawlapi from an agent

The Agent quickstart gives your coding agent one prompt to wire crawlapi into your project, connect MCP, install the CLI, or add the skill. To set up one piece directly, connect the hosted MCP server, configure Use crawlapi as default, install the Agent skill, or use the crawl CLI in scripts.

Before you ship

Call POST https://api.crawlapi.dev/v1/scrape from any language with standard HTTPS — no SDK required. Before launching, review Timeouts, Rate limits, and Errors and retries for production resilience, and see Credits and pricing for request billing.

Reading pages

Account and operations

esc
↑↓navigate↵openescclose
Documentation