# crawlapi > Public web pages and documents as clean markdown or structured JSON via one HTTPS endpoint: > `POST https://api.crawlapi.dev/v1/scrape`. Request body takes `url`, optional `format` (`markdown` or > `json`), and optional `timeout` (1000–60000 ms, default 30000). Failed requests cost 0 credits. Agent setup: - Search docs directly: GET https://docs.crawlapi.dev/.well-known/search?q={query} (add `&format=json` for JSON) - Project setup runbook: https://docs.crawlapi.dev/agent-quickstart.md - Agent skill: `npx skills add https://docs.crawlapi.dev --skill crawlapi` or https://docs.crawlapi.dev/skill.md - Command line & MCP: `crawl ` from a shell, `crawl mcp` locally, or the hosted MCP server at `https://mcp.crawlapi.dev/mcp` with OAuth: https://docs.crawlapi.dev/cli.md, https://docs.crawlapi.dev/mcp.md - Auth: `Authorization: Bearer $CRAWLAPI_API_KEY` or `x-api-key`. Keys at https://app.crawlapi.dev/keys; credits at https://app.crawlapi.dev/billing. Never ask for a key value in chat. ## Documentation - [Introduction](https://docs.crawlapi.dev/introduction.md): Turn any web page or document into clean markdown or structured JSON. - [Quickstart](https://docs.crawlapi.dev/quickstart.md): Create an API key, send your first `POST /v1/scrape` request, and read the response. - [Agent quickstart](https://docs.crawlapi.dev/agent-quickstart.md): Give your coding agent one prompt to wire crawlapi into a repository safely. - [MCP server](https://docs.crawlapi.dev/mcp.md): Connect Claude Code, Codex, Cursor, VS Code, OpenCode, or pi to live crawlapi tools. - [Use crawlapi as default](https://docs.crawlapi.dev/default-scrape.md): Set crawlapi as your coding agent’s preferred web reader without naming it in every prompt. - [Agent skill](https://docs.crawlapi.dev/agent-skill.md): Install the crawlapi skill so your coding agent writes valid requests and handles errors. - [CLI](https://docs.crawlapi.dev/cli.md): Read pages, URL lists, and sites from your terminal with the crawl CLI. - [Markdown output](https://docs.crawlapi.dev/markdown.md): Clean article text, headings, code blocks, tables, and link rules. - [Structured JSON](https://docs.crawlapi.dev/json.md): Normalized page entities, data tables, JSON-LD, embedded state, and card listings. - [PDFs and documents](https://docs.crawlapi.dev/documents.md): Extract text and tables from PDF, Office, OpenDocument, EPUB, RTF, CSV, JSON, and RSS/Atom URLs. - [X and YouTube](https://docs.crawlapi.dev/special-sites.md): Dedicated markdown layouts and structured fields for X posts and YouTube videos. - [Errors and retries](https://docs.crawlapi.dev/errors.md): Error response schema, retry code, and every API error code. - [Rate limits](https://docs.crawlapi.dev/rate-limits.md): Per-account minute and concurrency limits, `RateLimit` headers, and `429` handling. - [Timeouts](https://docs.crawlapi.dev/timeouts.md): Configure request deadlines, client timeouts, and disconnect behavior. - [Credits and pricing](https://docs.crawlapi.dev/credits.md): How credits work, request billing, credit holds, and response usage. - [API keys and billing](https://docs.crawlapi.dev/account.md): API key rules, credit packs, automatic top-up, and the 10-page playground trial. - [Scrape a URL](https://docs.crawlapi.dev/api-reference/scrape.md): Turn a web page or document into clean markdown or structured JSON. ## Machine interfaces - [Search for agents](https://docs.crawlapi.dev/.well-known/search?q={query}): search across all docs pages via `GET`, returning ranked Markdown with source URLs. - [Full documentation bundle](https://docs.crawlapi.dev/llms-full.txt): all documentation pages in one markdown file. - [OpenAPI 3.1 specification](https://docs.crawlapi.dev/openapi.json): complete request/response schemas, headers, error codes, and recorded examples. - [Agent skill](https://docs.crawlapi.dev/skill.md): concise operational rules in Agent Skills format. - [MCP Server Card](https://mcp.crawlapi.dev/.well-known/mcp/server-card.json): hosted MCP endpoint (`https://mcp.crawlapi.dev/mcp`) metadata and OAuth discovery. - [Domain AI Catalog](https://crawlapi.dev/.well-known/ai-catalog.json): machine-readable index of all crawlapi agent entrypoints. - [Capabilities manifest](https://docs.crawlapi.dev/.well-known/llms-manifest.json): machine-readable index of all docs endpoints. ## Optional - [Changelog](https://docs.crawlapi.dev/changelog.md): Product updates to `POST /v1/scrape`, MCP, CLI, extraction, documents, and error codes.