Live API
Web Scraper
Give your AI agent access to the live web. One API call returns clean markdown, meta information, or full HTML — with JavaScript fully rendered. No headless browser setup required.
Pay-per-call via HTTP 402JS rendering includedMarkdown, HTML, or metaTry it free
Integration
API Reference
Two ways to connect: a standard REST endpoint or an MCP server for agent frameworks.
REST Endpoint
POSTEndpoint
POST https://web-scraper.fourotwo.xyz/scrape
Request Body (JSON)
Example
{
"url": "https://example.com", // required
"markdown": true, // optional, default: true
"html": false // optional, default: false
}Parameters
urlrequired
The URL to scrape. Must be a publicly accessible web page.
markdownoptional · default: true
Return the page content as clean markdown.
htmloptional · default: false
Return the full rendered HTML after JavaScript execution.
cURL Example
curl -X POST https://web-scraper.fourotwo.xyz/scrape \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'MCP Server
Streamable HTTPConnect any MCP-compatible AI agent or framework directly to the Web Scraper via the Model Context Protocol. Uses streamable HTTP transport — no WebSocket setup required.
MCP Endpoint
https://web-scraper.fourotwo.xyz/mcp
MCP Config Example
{
"mcpServers": {
"fourotwo-web-scraper": {
"url": "https://web-scraper.fourotwo.xyz/mcp"
}
}
}Learn more about the Model Context Protocol at modelcontextprotocol.io