Scrape a web page and return structured JSON with markdown content, links, tables, images, and metadata. Price: $0.02 USDC per scrape (paid mode) | Free test: returns fixture data. Supports JS-rendered pages via Playwright. Optional wait_for CSS selector for async SPA content. Hard timeout: 8 sec...
AI agents call x402_scrape_url to retrieve information from x402 MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Web scraping is fundamentally a data retrieval operation. The tool extracts existing public information from a URL and returns it in structured form—a read operation. The micropayment is automatically handled by the server infrastructure to access the scraping capability, not a financial transaction the tool commits an AI agent to perform. No side effects on the target web page occur.
From the tool's definition Tool returns structured JSON with markdown content, links, tables, images, and metadata from a web page. Description explicitly states it retrieves and returns data; it does not create, modify, delete, or execute arbitrary operations.
Attacks that exploit this kind of access
Scrape a web page and return structured JSON with markdown content, links, tables, images, and metadata. Price: $0.02 USDC per scrape (paid mode) | Free test: returns fixture data. Supports JS-rendered pages via Playwright. Optional wait_for CSS selector for async SPA content. Hard timeout: 8 seconds total (page load + selector wait combined). Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: markdown text, extracted links, tables, images, page metadata, and success/failure status. It is categorised as a Read tool in the x402 MCP Server MCP Server, which means it retrieves data without modifying state.
Register the x402 MCP Server MCP server in PolicyLayer and add a rule for x402_scrape_url: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches x402 MCP Server. Nothing to install.
x402_scrape_url is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the x402_scrape_url rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for x402_scrape_url. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
x402_scrape_url is provided by the x402 MCP Server MCP server (jameswilliamwisdom/x402-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →