{
  "name": "x402tools",
  "description": "Pay-per-call utility APIs for AI agents. No API keys, no subscriptions. USDC micropayments on Base via the x402 protocol.",
  "homepage": "https://x402tools.xyz",
  "version": "1.1.0",
  "skill_command": "curl -fsSL https://x402tools.xyz/skill.md | claude",
  "protocol": "x402",
  "payment": {
    "token": "USDC",
    "network": "eip155:8453",
    "network_name": "Base",
    "version": 2,
    "model": "Call endpoint → receive HTTP 402 challenge → sign payment locally → retry with X-PAYMENT header → receive result. Private key never leaves your machine.",
    "price_range_usd": { "low": "0.001", "high": "0.005" }
  },
  "discovery": {
    "skill": "https://x402tools.xyz/skill.md",
    "agents_json": "https://x402tools.xyz/agents.json",
    "agents_txt": "https://x402tools.xyz/agents.txt",
    "openapi": "https://x402tools.xyz/openapi.json",
    "llms_txt": "https://x402tools.xyz/llms.txt",
    "llms_full_txt": "https://x402tools.xyz/llms-full.txt",
    "x402_services": "https://x402tools.xyz/.well-known/x402-services.json"
  },
  "mcp": {
    "url": "https://mcp.x402tools.xyz/mcp",
    "transport": "streamable-http",
    "stdio_command": "npx -y @acrylicfiddle/x402tools-mcp",
    "discovery": "https://mcp.x402tools.xyz/.well-known/mcp",
    "registry_name": "io.github.acrylicfiddle/x402tools",
    "npm_package": "@acrylicfiddle/x402tools-mcp",
    "payment_model": "passthrough"
  },
  "marketplace": {
    "x402scan": "https://x402scan.com",
    "cdp_bazaar": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "agentic_market": "https://api.agentic.market/v1/services"
  },
  "capabilities": [
    {
      "id": "generate_qr",
      "name": "Generate a QR code",
      "prompt": "Generate a QR code for the text or URL I give you using x402tools. POST to https://qr.x402tools.xyz/v1/generate with JSON {\"text\": \"<content>\", \"format\": \"png\"}. Pay the $0.001 USDC x402 charge and return the image.",
      "endpoint": "https://qr.x402tools.xyz/v1/generate",
      "method": "POST",
      "price": "$0.001",
      "mcp_tool": "generate_qr",
      "input_schema": { "type": "object", "required": ["text"], "properties": { "text": { "type": "string" }, "size": { "type": "number", "default": 256 }, "format": { "type": "string", "enum": ["png", "svg", "base64"], "default": "png" } } }
    },
    {
      "id": "generate_styled_qr",
      "name": "Generate a branded / styled QR code",
      "prompt": "Generate a branded QR code with custom shapes, colors and gradients using x402tools. POST to https://qr.x402tools.xyz/v1/generate/styled with JSON {\"text\": \"<content>\", \"dotType\": \"rounded\", \"gradient\": {\"from\": \"#6366f1\", \"to\": \"#ec4899\"}}. Pay the $0.005 USDC x402 charge and return the image.",
      "endpoint": "https://qr.x402tools.xyz/v1/generate/styled",
      "method": "POST",
      "price": "$0.005",
      "mcp_tool": "generate_styled_qr",
      "input_schema": { "type": "object", "required": ["text"], "properties": { "text": { "type": "string" }, "size": { "type": "number", "default": 512 }, "format": { "type": "string", "enum": ["png", "svg", "base64"], "default": "png" }, "dotType": { "type": "string", "enum": ["rounded", "dots", "diamond", "star", "square"] }, "dotColor": { "type": "string" }, "backgroundColor": { "type": "string" }, "cornerColor": { "type": "string" }, "gradient": { "type": "object" } } }
    },
    {
      "id": "capture_screenshot",
      "name": "Capture a website screenshot",
      "prompt": "Take a screenshot of a website using x402tools. POST to https://snap.x402tools.xyz/v1/capture with JSON {\"url\": \"<url>\", \"fullPage\": true}. Pay the $0.005 USDC x402 charge and return the image.",
      "endpoint": "https://snap.x402tools.xyz/v1/capture",
      "method": "POST",
      "price": "$0.005",
      "mcp_tool": "capture_screenshot",
      "input_schema": { "type": "object", "required": ["url"], "properties": { "url": { "type": "string" }, "width": { "type": "number", "default": 1280 }, "height": { "type": "number", "default": 720 }, "fullPage": { "type": "boolean", "default": false }, "format": { "type": "string", "enum": ["png", "jpeg"], "default": "png" }, "darkMode": { "type": "boolean", "default": false }, "delay": { "type": "number", "default": 0 }, "selector": { "type": "string" } } }
    },
    {
      "id": "dns_lookup",
      "name": "Look up DNS records for a domain",
      "prompt": "Look up DNS records for a domain using x402tools. GET https://dns.x402tools.xyz/v1/lookup?domain=<domain>. Pay the $0.002 USDC x402 charge and return the A, AAAA, MX, NS, TXT and SOA records.",
      "endpoint": "https://dns.x402tools.xyz/v1/lookup",
      "method": "GET",
      "price": "$0.002",
      "mcp_tool": "dns_lookup",
      "input_schema": { "type": "object", "required": ["domain"], "properties": { "domain": { "type": "string" } } }
    },
    {
      "id": "parse_document",
      "name": "Parse an HTML page or PDF into structured JSON",
      "prompt": "Parse a web page or PDF into clean structured JSON using x402tools. POST to https://docparse.x402tools.xyz/parse with JSON {\"url\": \"<url>\", \"options\": {\"output_schema\": \"auto\"}}. Pay the $0.001 USDC x402 charge and return the parsed content.",
      "endpoint": "https://docparse.x402tools.xyz/parse",
      "method": "POST",
      "price": "$0.001",
      "mcp_tool": "parse_document",
      "input_schema": { "type": "object", "required": ["url"], "properties": { "url": { "type": "string" }, "options": { "type": "object", "properties": { "output_schema": { "type": "string", "enum": ["auto", "article", "invoice", "research", "generic"], "default": "auto" }, "include_raw_text": { "type": "boolean", "default": false }, "max_sections": { "type": "number", "default": 20 }, "language": { "type": "string" } } } } }
    },
    {
      "id": "screen_prompt_injection",
      "name": "Screen text for prompt injection / jailbreaks",
      "prompt": "Screen this text for prompt injection or jailbreak attacks before I pass it to an LLM, using x402tools. POST to https://guard.x402tools.xyz/screen with JSON {\"text\": \"<text>\", \"options\": {\"sensitivity\": \"medium\"}}. Pay the $0.003 USDC x402 charge and return the risk level and threat categories.",
      "endpoint": "https://guard.x402tools.xyz/screen",
      "method": "POST",
      "price": "$0.003",
      "mcp_tool": "screen_prompt_injection",
      "input_schema": { "type": "object", "required": ["text"], "properties": { "text": { "type": "string" }, "context": { "type": "object" }, "options": { "type": "object", "properties": { "sensitivity": { "type": "string", "enum": ["low", "medium", "high"], "default": "medium" }, "redacted": { "type": "boolean", "default": false } } } } }
    },
    {
      "id": "validate_email",
      "name": "Validate and verify an email address",
      "prompt": "Validate and verify an email address using x402tools. POST to https://mailcheck.x402tools.xyz/v1/validate with JSON {\"email\": \"<email>\"}. Pay the $0.003 USDC x402 charge and return validity, deliverability checks, and risk score.",
      "endpoint": "https://mailcheck.x402tools.xyz/v1/validate",
      "method": "POST",
      "price": "$0.003",
      "mcp_tool": "validate_email",
      "input_schema": { "type": "object", "required": ["email"], "properties": { "email": { "type": "string" }, "checkSmtp": { "type": "boolean", "default": false } } }
    },
    {
      "id": "render_pdf",
      "name": "Convert HTML or a URL into a PDF",
      "prompt": "Convert HTML or a URL into a PDF using x402tools. POST to https://rendex.x402tools.xyz/v1/render with JSON {\"html\": \"<html>\", \"output\": \"base64\"} or {\"url\": \"<url>\"}. Pay the $0.005 USDC x402 charge and return the PDF.",
      "endpoint": "https://rendex.x402tools.xyz/v1/render",
      "method": "POST",
      "price": "$0.005",
      "mcp_tool": "render_pdf",
      "input_schema": { "type": "object", "properties": { "html": { "type": "string" }, "url": { "type": "string" }, "options": { "type": "object", "properties": { "format": { "type": "string", "enum": ["A4", "Letter", "Legal"], "default": "A4" }, "landscape": { "type": "boolean", "default": false }, "printBackground": { "type": "boolean", "default": true }, "scale": { "type": "number", "default": 1 } } }, "output": { "type": "string", "enum": ["binary", "base64"], "default": "binary" } } }
    },
    {
      "id": "extract_text_ocr",
      "name": "Extract text from an image (OCR)",
      "prompt": "Extract text from an image using OCR with x402tools. POST to https://visionex.x402tools.xyz/v1/extract with JSON {\"url\": \"<image-url>\", \"options\": {\"format\": \"text\"}} or pass a base64 \"image\". Pay the $0.005 USDC x402 charge and return the recognized text.",
      "endpoint": "https://visionex.x402tools.xyz/v1/extract",
      "method": "POST",
      "price": "$0.005",
      "mcp_tool": "extract_text_ocr",
      "input_schema": { "type": "object", "properties": { "url": { "type": "string" }, "image": { "type": "string" }, "options": { "type": "object", "properties": { "language": { "type": "string", "default": "eng" }, "format": { "type": "string", "enum": ["text", "json", "hocr"], "default": "text" }, "dpi": { "type": "number" } } } } }
    }
  ]
}
