# crawlapi > crawlapi reads one public web page and returns it as clean markdown or as structured JSON: > one HTTPS endpoint with three request fields. Rendering JavaScript and reading documents are > the service's job, there are no fetch options to set, and a request that fails costs 0 credits. > ## Agent instructions > To set crawlapi up in a project, follow https://docs.crawlapi.dev/agent-quickstart.md. To keep it as a skill, > run `npx skills add https://docs.crawlapi.dev --skill crawlapi` or read https://docs.crawlapi.dev/skill.md. > The base URL is https://api.crawlapi.dev, the endpoint POST /v1/scrape, and the key goes in an > Authorization: Bearer header (or x-api-key); the only request fields are url, format (markdown > or json) and timeout, in milliseconds. > There is no keyless mode and there are no free API credits. Without a key, ask the user to create > one at https://app.crawlapi.dev/keys and to buy credits at https://app.crawlapi.dev/billing; never ask for the key's value. > Every failure carries an error code, a message and a retryable flag: https://docs.crawlapi.dev/errors.md lists > every code, and https://docs.crawlapi.dev/api-reference/scrape.md is the whole endpoint. > The OpenAPI 3.1 document is https://docs.crawlapi.dev/openapi.json. Read only the page you need. ## Documentation - [Introduction](https://docs.crawlapi.dev/introduction.md): Send a URL, get the page back as clean markdown or structured JSON. - [Quickstart](https://docs.crawlapi.dev/quickstart.md): Create an API key, send one request and read the page back. There is nothing to install: the API is one HTTPS endpoint. - [Agent quickstart](https://docs.crawlapi.dev/agent-quickstart.md): Give an AI agent one tool that reads a URL as markdown. This page is written for the agent. - [Agent skill](https://docs.crawlapi.dev/agent-skill.md): Install the crawlapi skill so any coding agent knows how to call the API, read its errors and keep the key out of the chat. - [Markdown](https://docs.crawlapi.dev/markdown.md): The default output: the page as clean markdown, with its links in links[]. - [JSON](https://docs.crawlapi.dev/json.md): The page's data: metadata, JSON-LD, embedded state, tables and links, at the same price. - [PDFs and documents](https://docs.crawlapi.dev/documents.md): PDFs, Office files, feeds, CSV and JSON URLs, returned like any page. - [Credits](https://docs.crawlapi.dev/credits.md): What a page costs: three levels, chosen by the service for each page. A failure costs nothing. - [Errors and retries](https://docs.crawlapi.dev/errors.md): Every error code, what it means and whether a retry can help. - [Rate limits](https://docs.crawlapi.dev/rate-limits.md): Requests per minute and at once for your account, the headers that say what is left, and what a 429 means. - [Keys, credits and billing](https://docs.crawlapi.dev/account.md): Create and revoke API keys, buy credits and read your usage. - [POST /v1/scrape](https://docs.crawlapi.dev/api-reference/scrape.md): Read one URL and return it as markdown or JSON. From 1 credit; a failure costs 0. - [Give your AI agent web reading](https://docs.crawlapi.dev/guides/ai-agent-web-reading.md): Wire crawlapi into an agent as the tool that turns a link into text. - [Build a RAG corpus from URLs](https://docs.crawlapi.dev/guides/rag-corpus.md): Turn a list of URLs into clean markdown documents ready to chunk and embed. - [Changelog](https://docs.crawlapi.dev/changelog.md): What changed in the API, newest first. No entry is a promise. ## Agent skill - [crawlapi skill](https://docs.crawlapi.dev/skill.md): the SKILL.md file agents install, in the Agent Skills format. ## OpenAPI - [openapi](https://docs.crawlapi.dev/openapi.json)