Give your coding agentthe entire web

The scrape API agents love.

Format

Works in the agent you already use

Set it up with one prompt →
  • Claude Code
  • Codex
  • Cursor
  • pi
  • OpenCode
  • Amp
  • Droid

Build

One request.Markdown or JSON back.

Send a URL and the format you want. There is nothing else to set.

Set up from your agent

Paste this into your coding agent. It reads our guide and sets crawlapi up for you.

Prompt
Read https://docs.crawlapi.dev/agent-quickstart.md and follow it to set up crawlapi in this project.
  • Claude Code
  • Codex
  • Cursor
  • pi
  • OpenCode
  • Amp
  • Droid
Agent quickstart

Or call it yourself

One POST with a URL, from any language or tool.

curl -s https://api.crawlapi.dev/v1/scrape \
  -H "Authorization: Bearer $CRAWLAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "format": "markdown"}'

urlformattimeoutThat's the whole API.

API reference

Fewer tokens

The page,without the weight.

Your agent pays for every token it reads. crawlapi keeps the content and leaves the rest behind.

https://en.wikipedia.org/wiki/Web_scraping

The page's HTML≈ 59,607 tokens

What crawlapi returns≈ 6,963 tokens

8.6×less to read

  • Scripts1,935
  • Styles2,464
  • Icons0
  • Tags and attributes47,503
  • Menus and other text742
  • The content6,963

Measured 2026-11-07 on these three pages: their HTML, split into its parts, against crawlapi's markdown for the same URL, at about four characters per token. Each dot is 250 tokens.

Hard pages

The messy parts,handled for you.

You send a URL. Scripts, banners and age checks are our job.

Pages that need more than a fetch

Apps that build themselves in the browser, cookie banners, lazy loading and age gates. Your agent just gets the page.

  • JavaScript appsRead once they finish loading.
  • Cookie bannersAccepted and closed for you.
  • Age gatesAnswered so the page opens.
  • RedirectsFollowed to the page you meant.
  • Lazy loadingScrolled until the page loads.
  • Shadow DOM and framesRead like the rest of the page.
  • Ads and trackersNever loaded, never read.
  • Embedded dataJSON-LD, microdata and page state.

FAQ

Questions,answered.

Straight answers about using crawlapi, what it costs and where its limits are.

support@crawlapi.dev
What does crawlapi return?

Clean markdown by default. Ask for JSON and you get the page’s structured data instead: its metadata, JSON-LD, embedded data and tables. Both come with the page’s title and links.

Which pages can it read?

Public web pages, including ones that load with JavaScript or sit behind cookie banners and age gates. It also reads PDFs, Office files, feeds and CSV.

How do I connect my agent?

Paste one line into Claude Code, Codex, Cursor or any coding agent: “Read https://docs.crawlapi.dev/agent-quickstart.md and follow it to set up crawlapi in this project.” It asks you for a key and does the rest.

Is there an SDK?

You don’t need one. It is a single POST request with a URL, so fetch, requests or cURL is enough. The docs have copy-and-paste examples for each.

Can it crawl a whole website?

No. It reads one URL per request, so you send the pages you want, in parallel if you like. If you need crawling, tell us at support@crawlapi.dev.

Do you store the pages you read?

There is no cache: every request reads the page fresh, and page text never goes into our logs. To fix wrong answers we keep a small sample of fetched pages for 7 days, then delete them; the privacy policy lists exactly what is kept.

Try it on any page.

Paste a URL and see what your agent would get back.

  • 10 pages to try
  • No API key needed
  • Packs from $10