Website Scraper API
Turn any public web page into data. Name the fields you want and get them typed, read a page or a PDF as clean Markdown, crawl a whole site, list every URL it has, or take a screenshot. One API key, REST or MCP.
- 1 credit per call
- Failed calls are free
- Updated
| # | Title | URL | Depth | Description | Language | Content type | Markdown | Rendered | Status code | Final url |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Payments | Stripe Documentation | https://docs.stripe.com/payments | 0 | Use Stripe to start accepting payments. | en-US | text/html; charset=utf-8 | # Payments | Stripe Documentation Payments ## Use Stripe to sta… | false | 200 | https://docs.stripe.com/payments |
| 2 | Stripe Documentation | https://docs.stripe.com/ | 1 | Explore our guides and examples to integrate Stripe. | en-US | text/html; charset=utf-8 | # Stripe Documentation response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "web.extract", "input": { "output_schema": { "properties": { "batch": { "type": "string" }, "company": { "type": "string" }, "founded": { "type": "string" }, "team_size": { "type": "string" } }, "type": "object" }, "url": "https://www.ycombinator.com/companies/stripe" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "schema_valid": true, "semantic_valid": true, "unresolved_fields": null, "validation_errors": null, "data": { "batch": "S09", "company": "Stripe", "founded": "2009", "team_size": "7000" }, "fields": { "batch": { "confidence": 0.99, "source": "attribute_json", "value": "S09" }, "company": { "confidence": 0.99, "source": "attribute_json", "value": "Stripe" }, "founded": { "confidence": 0.99, "source": "attribute_json", "value": "2009" }, "team_size": { "confidence": 0.99, "source": "attribute_json", "value": "7000" } }, "semantic_validation_errors": []}
https://data.upscrape.com/mcp
Using Upscrape, read ycombinator.com/companies/stripe and give me the company name, its batch, the year it was founded and its team size.
Using Upscrape, read stripe.com/privacy and give me the page as Markdown with its links.
With Upscrape, crawl docs.stripe.com/payments for up to 10 pages and list each page's title and URL.
Website scraper API FAQ
The short answers. The docs have the long ones.
Which sites does it work on?
Any public page a visitor can open without logging in: web pages, PDFs, spreadsheets, CSV, JSON and feeds.
How much does it cost?
1 credit per successful call for each tool, shown before it runs. You buy credits once, with no subscription, and paid credits never expire. New accounts get free credits to try it.
Does it use AI?
Only if you allow it. Extraction reads what the page states first; with ai set to auto or always, AI fills the fields the page does not state plainly.
Can it read PDFs and spreadsheets?
Yes. Page capture reads PDF, DOCX, XLSX, CSV, JSON, XML and feeds as well as web pages, and returns their text, Markdown and tables.
When should I use a platform endpoint instead?
For sites Upscrape has a ready-made endpoint for, such as Amazon or Google Maps, use that endpoint: its fields are fixed and tested. The website tools cover every other public site.
Can an AI agent use these tools?
Yes. Connect any MCP client to the Upscrape MCP server with OAuth or an API key. The agent picks the tool, checks its price and runs it with the same credits as the REST API.
Your first page is free.
Up to 100 free credits to start, no card needed.