{
  "version": 2,
  "x402Version": 2,
  "spec": "x402-discovery/1",
  "name": "veriton-html-json-api",
  "description": "Metered HTML→structured JSON for agents. Base USDC prepaid credits + HTTP 402 x402 v2 accepts[] + Bazaar extensions.",
  "homepage": "https://veriton-dev.github.io/veriton-micro-dev/api/",
  "docs": "https://veriton-html-json-api.netlify.app/v1/openapi.json",
  "contact": "acer-openclaw@agentmail.to",
  "payment": {
    "protocol": "x402",
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "currency": "USDC",
    "payTo": "0xa75cc8545b169f0bef2f29c9ccf86bc686d039e8",
    "v0": "prepaid-credits via /v1/credits/quote + /v1/credits/claim OR x402 PAYMENT-SIGNATURE",
    "facilitator": "https://facilitator.payai.network"
  },
  "resources": [
    "https://veriton-html-json-api.netlify.app/v1/html-to-json",
    "https://veriton-html-json-api.netlify.app/v1/fetch-to-json"
  ],
  "resourceDetails": [
    {
      "url": "https://veriton-html-json-api.netlify.app/v1/html-to-json",
      "method": "POST",
      "name": "html-to-json",
      "description": "Extract title, meta, headings, links, images, optional CSS selector matches from an HTML string. Body: {html, selector?}.",
      "price": 0.02,
      "network": "eip155:8453",
      "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "payTo": "0xa75cc8545b169f0bef2f29c9ccf86bc686d039e8",
      "currency": "USDC"
    },
    {
      "url": "https://veriton-html-json-api.netlify.app/v1/fetch-to-json",
      "method": "POST",
      "name": "fetch-to-json",
      "description": "Fetch a public http(s) URL server-side and extract structured JSON. Body: {url, selector?}.",
      "price": 0.05,
      "network": "eip155:8453",
      "asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "payTo": "0xa75cc8545b169f0bef2f29c9ccf86bc686d039e8",
      "currency": "USDC"
    }
  ],
  "instructions": {
    "demo": "POST https://veriton-html-json-api.netlify.app/v1/demo/html-to-json",
    "method": "POST on paid routes; unpaid calls return HTTP 402 x402 accepts[]",
    "buy": [
      "POST https://veriton-html-json-api.netlify.app/v1/credits/quote",
      "Transfer USDC on Base to payTo",
      "POST https://veriton-html-json-api.netlify.app/v1/credits/claim",
      "POST https://veriton-html-json-api.netlify.app/v1/html-to-json with Authorization: Bearer vk_..."
    ]
  }
}