Skip to main content
Glama

🌐 x402 Scraper API

High-Velocity, Multi-Tiered Web Scraping MCP Server monetized via HTTP 402 micro-payments on Base Mainnet. Designed for autonomous agent swarms, research pipelines, and enterprise LLM workflows.


⚑ Quickstart for Developers (Claude Desktop / MCP Clients)

Add this server configuration to your MCP client settings file (e.g., claude_desktop_config.json) to instantly equip your local AI workspace with paid web scraping tools:

{
  "mcpServers": {
    "x402-scraper": {
      "command": "npx",
      "args": ["-y", "x402-scraper-api"],
      "env": {
        "BASE_RPC_URL": "https://mainnet.base.org"
      }
    }
  }
}

Related MCP server: AgentScout MCP Server

πŸ› οΈ Tool Tiers & Pricing

Our scraping infrastructure offers three distinct programmatic tiers tailored for autonomous agents:

Tool Name

Description

Price (USDC on Base)

scrape_basic

Fast DOM parsing & clean Markdown extraction from static HTML.

$0.01

scrape_dynamic

Headless browser rendering for JavaScript-heavy, dynamic web apps.

$0.05

scrape_structured

Scrapes a web page and parses raw content directly into a requested JSON Schema.

$0.15


πŸ€– Autonomous Agent Integration (M2M / x402 Protocol)

Autonomous scout agents and agent swarms can programmatically discover tool definitions via our server card and execute x402 payment challenges on the fly.

Direct Endpoint Usage

  • Base URL: https://x402-scraper-api-production-67a4.up.railway.app

  • MCP Gateway: https://x402-scraper-api-production-67a4.up.railway.app/mcp

  • Server Card: https://x402-scraper-api-production-67a4.up.railway.app/.well-known/mcp/server-card.json

  • Telemetry: https://x402-scraper-api-production-67a4.up.railway.app/telemetry

Sample JavaScript Client Request

Agents can invoke tools using standard JSON-RPC over HTTP:

const response = await fetch("https://x402-scraper-api-production-67a4.up.railway.app/mcp", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "tools/call",
    params: {
      name: "scrape_structured",
      arguments: {
        url: "https://example.com/target-data",
        jsonSchema: { title: "string", price: "number" }
      }
    },
    id: 1
  })
});

const result = await response.json();
console.log(result);

πŸ“Š Live Telemetry & Monitoring

Our production infrastructure maintains real-time telemetry tracking request velocity, active sessions, and revenue milestones. Inspect current uptime and metrics programmatically:

curl -s https://x402-scraper-api-production-67a4.up.railway.app/telemetry

πŸš€ License

MIT Β© 2026 x402 Scraper API

πŸ€– Claude Code & AI Agent Quickstart

Give your autonomous agents (Claude Code, ElizaOS, Cursor) native paywall-scraping capabilities using x402 micro-payments on Base or Solana. No API key subscriptions required.

Install via Claude Code

Clone the repository into your local workspace or agent environment:

git clone [https://github.com/your-username/x402-scraper-api.git](https://github.com/your-username/x402-scraper-api.git)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to extract structured JSON data from web pages using presets or custom JSON schemas, with confidence scores and source snippets, paid per call via USDC on Base.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server providing 17 keyless, pay-per-use web-data tools with signed-provenance receipts, enabling AI agents to autonomously fetch, extract, and verify web content on Base mainnet.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server providing 11 pay-per-call web intelligence tools (page reading, PDF extraction, RSS parsing, screenshots, summarization, structured data extraction) for AI agents, paid automatically in USDC via the x402 protocol on Base mainnet with no API keys required.
      38 npm
      MIT