{
  "name": "x402tools",
  "description": "Pay-per-call utility APIs for AI agents. No API keys, no subscriptions. USDC micropayments on Base via x402 protocol.",
  "homepage": "https://x402tools.xyz",
  "documentation": "https://x402tools.xyz/llms-full.txt",
  "protocol": "x402",
  "payment": {
    "token": "USDC",
    "network": "eip155:8453",
    "network_name": "Base",
    "facilitator": "https://x402.org/facilitator"
  },
  "services": [
    {
      "name": "qr-generator",
      "description": "Generate QR codes from text or URLs. Returns PNG, SVG, or Base64.",
      "endpoint": "https://qr.x402tools.xyz/v1/generate",
      "method": "POST",
      "price": "$0.001",
      "content_type": "application/json",
      "response_type": "image/png",
      "input_schema": {
        "type": "object",
        "required": ["text"],
        "properties": {
          "text": {
            "type": "string",
            "description": "Content to encode in QR code"
          },
          "size": {
            "type": "number",
            "description": "Image width/height in pixels",
            "default": 256
          },
          "format": {
            "type": "string",
            "enum": ["png", "svg", "base64"],
            "description": "Output format",
            "default": "png"
          }
        }
      },
      "example_request": {
        "text": "https://x402tools.xyz",
        "size": 512,
        "format": "png"
      },
      "health_endpoint": "https://qr.x402tools.xyz/health"
    },
    {
      "name": "screenshot",
      "description": "Capture website screenshots. Supports full-page capture, custom viewport, PNG/JPEG output.",
      "endpoint": "https://snap.x402tools.xyz/v1/capture",
      "method": "POST",
      "price": "$0.005",
      "content_type": "application/json",
      "response_type": "image/png",
      "input_schema": {
        "type": "object",
        "required": ["url"],
        "properties": {
          "url": {
            "type": "string",
            "description": "URL to screenshot"
          },
          "width": {
            "type": "number",
            "description": "Viewport width in pixels",
            "default": 1280
          },
          "height": {
            "type": "number",
            "description": "Viewport height in pixels",
            "default": 720
          },
          "fullPage": {
            "type": "boolean",
            "description": "Capture full scrollable page",
            "default": false
          },
          "format": {
            "type": "string",
            "enum": ["png", "jpeg"],
            "description": "Output image format",
            "default": "png"
          }
        }
      },
      "example_request": {
        "url": "https://example.com",
        "width": 1280,
        "height": 720,
        "fullPage": true
      },
      "health_endpoint": "https://snap.x402tools.xyz/health"
    },
    {
      "name": "dns-lookup",
      "description": "DNS record lookup. Returns A, AAAA, MX, NS, TXT, and SOA records for any domain.",
      "endpoint": "https://dns.x402tools.xyz/v1/lookup",
      "method": "GET",
      "price": "$0.002",
      "response_type": "application/json",
      "input_schema": {
        "type": "object",
        "required": ["domain"],
        "properties": {
          "domain": {
            "type": "string",
            "description": "Domain name to look up"
          }
        }
      },
      "example_request": {
        "domain": "example.com"
      },
      "example_response": {
        "domain": "example.com",
        "records": {
          "A": ["93.184.216.34"],
          "AAAA": ["2606:2800:220:1:248:1893:25c8:1946"],
          "MX": [{"priority": 10, "exchange": "mail.example.com"}],
          "NS": ["a.iana-servers.net", "b.iana-servers.net"],
          "TXT": ["v=spf1 -all"]
        },
        "query_time_ms": 45
      },
      "health_endpoint": "https://dns.x402tools.xyz/health"
    },
    {
      "name": "docparse",
      "description": "Parse any public HTML page or PDF into clean structured JSON. Auto-detects document type (article, invoice, research paper, generic) and returns typed content.",
      "endpoint": "https://docparse.x402tools.xyz/parse",
      "method": "POST",
      "price": "$0.001",
      "content_type": "application/json",
      "response_type": "application/json",
      "input_schema": {
        "type": "object",
        "required": ["url"],
        "properties": {
          "url": {
            "type": "string",
            "description": "Public URL of HTML page or PDF to parse"
          },
          "options": {
            "type": "object",
            "properties": {
              "output_schema": {
                "type": "string",
                "enum": ["auto", "article", "invoice", "research", "generic"],
                "description": "Force a specific output schema or let auto-detect choose",
                "default": "auto"
              },
              "include_raw_text": {
                "type": "boolean",
                "description": "Include raw extracted text in response",
                "default": false
              },
              "max_sections": {
                "type": "number",
                "description": "Maximum sections to extract (1-100)",
                "default": 20
              },
              "language": {
                "type": "string",
                "description": "Preferred output language (ISO 639-1, e.g. 'en')"
              }
            }
          }
        }
      },
      "example_request": {
        "url": "https://example.com/article",
        "options": {
          "output_schema": "auto"
        }
      },
      "example_response": {
        "doc_type": "article",
        "title": "Example Article",
        "metadata": {
          "source_url": "https://example.com/article",
          "detected_content_type": "html",
          "language": "en",
          "word_count": 1200,
          "truncated": false,
          "parse_duration_ms": 2100
        },
        "content": {
          "summary": "Brief summary...",
          "sections": [{"heading": "Introduction", "body": "..."}],
          "key_points": ["Point 1", "Point 2"],
          "topics": ["technology"]
        }
      },
      "health_endpoint": "https://docparse.x402tools.xyz/health"
    }
  ],
  "upcoming_services": [
    {
      "name": "guardex",
      "description": "Screen any text for prompt injection attacks. Returns risk score, category, confidence, and threat snippets.",
      "endpoint": "https://guard.x402tools.xyz/screen",
      "method": "POST",
      "price": "$0.003",
      "status": "coming_soon"
    },
    {
      "name": "prospex",
      "description": "Sales prospect enrichment. Name + company domain → full enriched profile with contact info, role, company data, and ICP score.",
      "endpoint": "https://prospex.x402tools.xyz/enrich",
      "method": "POST",
      "price": "$0.05",
      "status": "coming_soon"
    }
  ]
}
