x402_scrape_url

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...

Server x402 MCP Server jameswilliamwisdom/x402-mcp-server
Category Read
Risk class Low
Parameters 00 required

What x402_scrape_url does on x402 MCP Server

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.

Why x402_scrape_url needs a policy

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.

Questions about x402_scrape_url

What does the x402_scrape_url tool do? +

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.

How do I enforce a policy on x402_scrape_url? +

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.

What risk level is x402_scrape_url? +

x402_scrape_url is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit x402_scrape_url? +

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.

How do I block x402_scrape_url completely? +

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.

What MCP server provides x402_scrape_url? +

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.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.