The web scraping API that returns LLM-ready data

Turn website URLs into HTML, Markdown, or JSON with one web scraping API. Every request runs in a real browser with proxies included, and screenshots and images come back from the same call.

TypeScriptscrape.ts
import ContextDev from 'context.dev';

const client = new ContextDev({
  apiKey: process.env.CONTEXT_DEV_API_KEY,
});

const page = await client.web.scrape({
  url: 'https://www.context.dev/pricing',
  formats: { markdown: true, html: true, screenshot: true },
  sharedParams: { mainContentOnly: true },
});

console.log(page.markdown.data);
# Straightforward, transparent pricing

Start with **1,000 free credits/mo**, no credit card required.

### Free Tier

For exploring the APIs and testing your first ideas.

$0/month

- 1,000 credits per month
- Scrape 1,000 pages
- JS rendering & proxies included

### Developer

For side projects, MVPs, and lightweight apps.

$19/month
This is the real response for the request above, trimmed for length. Each format reports its own success, so one failed screenshot never costs you the Markdown.

Trusted by 20,000+ developers

  • Klarna
  • Mintlify
  • Passionfroot
  • Daily.dev
  • Chatwoot
per page, whichever formats you request
1 credit
mixed freely in a single request
9 formats
URLs in one background batch
100,000
for 1,000 pages every month
$0

One API. Everything a scraper needs.

The browser, the proxies, and the retries are part of every request. You only decide what comes back.

  1. Real browser rendering

    Every page loads in a headless browser, so single-page apps and lazy-loaded content come back complete. Wait for a selector or a delay when a page needs it.

  2. Proxies and retries included

    Proxies, anti-bot handling, and retries are part of the base price. You never choose a proxy tier or pay a multiplier for a harder site.

  3. Nine output formats

    Request Markdown, HTML, screenshots, images, raw bytes, CSS-selector fields, JSON from your schema, highlights, or product data. Mix them freely in one call.

  4. Clean Markdown for LLMs

    Keep only the main content with mainContentOnly, dismiss cookie banners automatically, keep or drop links and images, and feed the result straight into a prompt or vector store.

  5. Browser actions

    Scroll, wait, or describe a step in plain language, like opening a tab, before the page is captured. Up to five actions per request on paid plans.

  6. Scale past one page

    Crawl a site, map its URLs, or submit up to 100,000 URLs as one background batch with the same API key and the same credits.

From signup to scraped page in three steps.

Customers report going live in under five minutes.

  1. Step 1

    Create a free API key

    Sign up and get a key instantly with 1,000 credits a month. No credit card required.

    CONTEXT_DEV_API_KEY=ctx_••••
  2. Step 2

    Install the SDK

    Run npm install context.dev, or call the REST endpoint directly from any language.

    npm install context.dev
  3. Step 3

    Scrape your first URL

    Call web.scrape with the formats you want and read the result.

    await client.web.scrape({ url })

What teams say about Context.dev

The API integration was seamless and expedient. My team was able to get it set up and testing with production workloads within an hour of hearing what Context.dev was!
Christopher PriceCOO, SixtyfourRead the case study
  • “It was great. Took 5 mins to integrate. We use Context.dev to give AI agents ability to scrape webpages, take screenshots, and also extract specific content from webpages.”
    BhanuCo-founder, Squad.so
  • “It took me less than 5 minutes to get an API key and have my agent set everything up. It worked flawlessly on the first try and the quality of the results was perfect. We used Zyte before, but switched to Context.dev due to the ZDR offering.”
    Sacha Servan-SchreiberCo-founder, Tinfoil

Simple pricing. Start free.

One scraped page costs 1 credit, whichever formats you request. JSON extraction from your schema costs 5 credits per page.

  • Free$0/mo1,000 credits / month
  • Developer$19/mo7,500 credits / month
  • Pro$99/mo125,000 credits / month
  • Scale$499/mo1,000,000 credits / month

JavaScript rendering and proxies are included on every plan.

Compare all plans

Questions, answered.

Still curious? Read the docs or talk to the team.

What is a web scraping API?

A web scraping API fetches a web page for you and returns its content in a usable format. Context.dev handles the browser, proxies, and retries, then returns Markdown, HTML, screenshots, or structured JSON through one REST endpoint.

How much does it cost to scrape a page?

A scrape costs 1 credit, including JavaScript rendering and proxies. Browser actions raise it to 2 credits, and JSON extraction against your schema adds 4 credits when it succeeds. The free plan includes 1,000 credits every month.

Do I pay for failed requests?

Most failed requests are not billed. A page that returns 404 is billed at the base price because the scrape itself succeeded.

Can it scrape JavaScript-heavy websites?

Yes. Every request loads in a real browser. Use sharedParams.waitFor to wait for a selector or a number of milliseconds when content loads late.

Which languages are supported?

There are official SDKs for TypeScript, Python, Ruby, Go, and PHP, a CLI, and an MCP server. Any language that can send an HTTP request can call the REST API.

Is there a free plan?

Yes. The free plan includes 1,000 credits every month with no credit card. Paid plans start at $19 a month for 7,500 credits.

Scrape your first page in minutes.

Get an API key with 1,000 free credits a month. No credit card required.