Web scraping API
Web scraping API for developers and LLM apps
Send a URL to POST /v2/scrape and get the rendered page back as markdown, HTML, links or structured JSON. No browsers, proxies or retries to run. You only pay for pages that succeed.
- ✓ JavaScript pages rendered
- ✓ From $0.001 per page
- ✓ No credit card to try
- ✓ Failed pages are free
Response
waiting
The page is rendered in a real browser, then converted to markdown.one request → rendered page → clean data
Quickstart
How to use the web scraping API in 3 steps
1. Get an API key
Sign up and copy the key from the dashboard. No credit card needed to try it.2. Send a URL
POST /v2/scrapewith aurland theoutput_formatsyou want. Example below.3. Read the result
The response hasmarkdown,links,page_titleandpage_status_code. No job to poll.
cURL
curl --request POST \
--url https://api.webcrawlerapi.com/v2/scrape \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://quotes.toscrape.com/js/",
"output_formats": ["markdown", "links"]
}'The problem
Why scraping pages yourself keeps breaking
Headless browsers are a second job
Sites block bots
Weighing it up? Read should you build a crawler or use a crawling API. Want to build it yourself first? Follow the guide to web scraping with Python or the Node.js version.
The difference
A plain request vs the scraping API
Same URL, a page that draws its content with JavaScript. We ran both from a terminal. The plain request finds no quotes. The API finds all 10.

How it works
How the web scraping API works: one call, one page

1. Send a URL
CallPOST /v2/scrapewith aurland theoutput_formatsyou want.2. We render it
The page loads in a real browser. Retries, proxies and anti-bot handling run on our side.3. Get the content back
Markdown, HTML, links or structured data, in the same response. Need async? Read about async requests.
| Parameter | What it does |
|---|---|
| url | The page to scrape. Required. |
| output_formats | Any of markdown, cleaned, html, links. Default markdown. |
| main_content_only | Keep the main article content, drop menus, sidebars and ads. |
| clean_selectors | CSS selectors to remove from the output. |
| prompt | Ask for specific fields. Returns structured_data. Billed per token. |
| response_schema | JSON Schema for the structured output. Use with prompt. |
| respect_robots_txt | Return an error if robots.txt disallows the URL. Default false. |
| async | Query parameter. Return an id right away and read the result later. |
Full reference in the POST /scrape docs.
Code
Web scraping API examples: cURL, Python and Node.js
curl --request POST \
--url https://api.webcrawlerapi.com/v2/scrape \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://quotes.toscrape.com/js/",
"output_formats": ["markdown", "links"]
}'What the response looks like
{
"success": true,
"status": "done",
"page_status_code": 200,
"page_title": "Quotes to Scrape",
"markdown": "# Quotes to Scrape\n\n...",
"links": [
"https://quotes.toscrape.com/",
"https://quotes.toscrape.com/js/page/2/"
]
}
// On failure the status is still 200:
{
"success": false,
"error_code": "...",
"error_message": "..."
}
SDKs: Python, JavaScript, PHP, Go, Java and Ruby. Language pages: Python scraper and JavaScript scraper.
Formats
Output formats for every scraped page
markdown
cleaned
html
links
structured_data
/markdown
Get fields, not text
Describe what you want in a prompt and add a JSON Schema. The API returns typed data, so you write no selectors that break on the next redesign.

Read structured outputs for schemas and limits.
Use cases
What developers build with the scraping API
Knowledge bases and AI agents
Before: your agent gets menus and cookie banners instead of the answer.
After: feed it clean markdown of exactly the page it asked for.
output_formats=["markdown"]Price and product monitoring
Before: prices load after the page does, so a plain request sees nothing.
After: ask for name and price fields and get typed JSON.
prompt + response_schemaSEO and competitor checks
Before: a headless browser farm just to read titles and links.
After: get HTML and links for any page from a cron job.
output_formats=["html", "links"]Data pipelines
Before: Playwright installed in every notebook and CI job.
After: one HTTP call and an API key. Works wherever you can send a request.
POST /v2/scrapeBuilding an agent? Use the LangChain loader or the MCP server. Prefer no code? Use n8n, Make or Zapier.
By the numbers
Reliable infrastructure, proven in production.
Tracking usage, crawl success rates, average response times, uptime percentages, quality scores, cost metrics, API performance, reliability data, and live trends for all your requests.
Active builders
Teams building in production
Extraction quality
Success rate
Fast turnaround
Average crawling time
Platform stability
Uptime
Which one
Which scraping API: WebCrawlerAPI, proxy-style APIs or DIY
Many scraping APIs sell proxies and unblocking and hand you raw HTML. WebCrawlerAPI returns the page in the format your app needs, so there is less parsing on your side. Results differ by target site, so test on your own URLs.
| WebCrawlerAPI | Proxy-style scraping APIs | Build it yourself | |
|---|---|---|---|
| Renders JavaScript | Yes | Yes | You run a browser |
| Setup | One API key | One API key | Install, patch and scale browsers |
| Default output | Markdown, plus HTML, links and JSON | Usually raw HTML | Whatever you extract |
| Structured fields | prompt + JSON Schema, no selectors | Selectors or a separate extraction product | Selectors you maintain |
| Proxies, retries, anti-bot | Handled for you | Handled for you | You build and run them |
| Whole-site crawling | Same account, /v1/crawl | Varies by provider | You write the crawler |
| Cost model | Per successful page | Credits per request, varies | Servers and your time |
Comparing providers? Read the best web scraping APIs, best web scraping tools, Firecrawl alternatives, or ScrapingBee alternatives.
Built for sites that block bots
Browser upkeep is on our side. Limits are listed in the rate limits docs.
Scrape or crawl
One page, a whole site or just the main content
Scrape one page
POST /v2/scrape for a URL you already know. Result in the same response.
Crawl a whole site
POST /v1/crawl follows links from a seed URL and returns every page.
LLM-cleaned markdown
/markdown keeps only the main content and strips boilerplate.
New to scraping? Start with web crawling vs web scraping, the beginner guide to scraping a website or is web scraping legal.
Pricing
Simple, transparent pricing
Start with pay-per-request, or save with a monthly subscription. Top-up credits are always available when your included allowance runs out.
Pay as you go
No monthly commitment — pay only for what you use
$0/month
- From $0.002 / page
- LLM-cleaned markdown: $0.006 / page
- Unlimited proxy included
- Up to 5 parallel requests
- Pay only for successful requests
- Webcrawler agent
Professional
Best for growing teams
$99/month
- From $0.0015 / page
- LLM-cleaned markdown: $0.0055 / page
- Unlimited proxy included
- Up to 20 parallel requests
- Pay only for successful requests
- Webcrawler agent
Business
For high-volume crawling
$499/month
- From $0.001 / page
- LLM-cleaned markdown: $0.005 / page
- Unlimited proxy included
- Up to 50 parallel requests
- Pay only for successful requests
- Webcrawler agent
Web scraping API FAQ
Common questions about using a web scraping API
What is a web scraping API?
A web scraping API fetches a web page for you and returns its content over HTTP. You send a URL, it loads the page in a real browser, runs the JavaScript, and sends back markdown, HTML, links or structured data. With WebCrawlerAPI that is one POST /v2/scrape request.
How does a web scraping API work?
Your request goes to the API with a URL and the output formats you want. The page is rendered in a browser on our side, with retries, proxies and anti-bot handling, then converted and returned in the same response. You never run a browser yourself.
Is API scraping legal?
Scraping public pages is legal in many places, but it depends on the data, the site terms and your country. Personal data, copyrighted content and logins raise the risk. WebCrawlerAPI can respect robots.txt if you set respect_robots_txt to true. For the details, read our guide on whether web scraping is legal. Read the web scraping ethics guide.
Is there a free web scraping API?
You can try WebCrawlerAPI without a credit card in the playground or by creating an account in the dashboard. Paid usage is per successful page, from $0.001 to $0.002 depending on your plan.
Can it scrape JavaScript-rendered pages?
Yes. Pages load in a real browser and the JavaScript runs before the content is extracted. A plain HTTP request to a client-rendered page returns an empty shell; the API returns what a visitor sees.
Which output formats can I get?
Set output_formats to any of markdown, cleaned, html and links. Add a prompt, and optionally a response_schema, to get structured JSON in structured_data instead.
How do I scrape a website with the API in Python or Node.js?
Install webcrawlerapi for Python or webcrawlerapi-js for Node.js, create a client with your API key and call scrape() with a URL. You can also call POST /v2/scrape directly with requests or fetch(). No SDK is required.
Is the scrape synchronous?
Yes. POST /v2/scrape waits and returns the result in the same response. For long-running work add ?async=true to get an id right away, then read the result with GET /v2/scrape/{id}, or use a webhook.
What is the difference between a scraping API and a crawling API?
A scraping API fetches the one URL you name. A crawling API starts from a seed URL, discovers pages by following links and returns many of them. Use /v2/scrape for known pages and /v1/crawl for whole sites.
How much does the web scraping API cost?
You pay per successful page: $0.002 on Pay as you go, $0.0015 on Professional and $0.001 on Business. Failed requests are not charged. Requests with a prompt also pay for the LLM tokens used. Some sites are priced separately, see the pricing docs.
Does it work with LLMs and AI agents?
Yes, that is the main use. Markdown keeps headings, lists and links, which is what you want for a knowledge base, a support bot or an agent. There are a LangChain loader and an MCP server, and the API works from n8n, Make and Zapier.
What are the rate limits?
Each account runs up to 5 parallel threads, and each target website has a shared limit of 10 parallel threads across all accounts. See the rate limits docs.
Scrape your first page in five minutes
Get a key, run the cURL snippet above, and read the rendered page as markdown. Or try it in the playground.