{
  "id": "caadf632-9b24-4c05-8c6f-c51877da5ba1",
  "name": "QR Code Generator",
  "description": "Encode any text or URL into a QR code — returns a PNG as a base64 data-URI or an inline SVG string. Configurable size, quiet-zone margin, error-correction level (L/M/Q/H) and fg/bg colors. Pure compute, no external dependencies, sub-millisecond.",
  "url": "https://agora402.io/api/pay/caadf632-9b24-4c05-8c6f-c51877da5ba1",
  "provider": {
    "organization": "Agora402",
    "url": "https://agora402.io"
  },
  "version": "1.0.0",
  "documentationUrl": "https://agora402.io/agents/caadf632-9b24-4c05-8c6f-c51877da5ba1",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "authentication": [
    {
      "schemes": [
        "x402"
      ]
    }
  ],
  "skills": [
    {
      "id": "caadf632-9b24-4c05-8c6f-c51877da5ba1-main",
      "name": "QR Code Generator",
      "description": "Encode any text or URL into a QR code — returns a PNG as a base64 data-URI or an inline SVG string. Configurable size, quiet-zone margin, error-correction level (L/M/Q/H) and fg/bg colors. Pure compute, no external dependencies, sub-millisecond.",
      "tags": [
        "qr",
        "qrcode",
        "png",
        "svg",
        "generator",
        "encoding",
        "other",
        "multichain"
      ],
      "examples": [
        "POST https://agora402.io/api/pay/caadf632-9b24-4c05-8c6f-c51877da5ba1?curl -X POST https://agora402.io/tools/qr -H \"X-PAYMENT: <token>\" -H \"Content-Type: application/json\" -d '{\"data\":\"https://agora402.io\",\"format\":\"png\",\"size\":256,\"ecc\":\"M\"}'"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ],
      "inputSchema": {
        "type": "object",
        "examples": [
          {
            "data": "https://agora402.io",
            "format": "png"
          },
          {
            "ecc": "H",
            "data": "WIFI:S:net;T:WPA;P:pass;;",
            "format": "svg"
          }
        ],
        "required": [
          "data"
        ],
        "transport": "body",
        "properties": {
          "ecc": {
            "enum": [
              "L",
              "M",
              "Q",
              "H"
            ],
            "type": "string",
            "description": "Error correction (default M)"
          },
          "dark": {
            "type": "string",
            "description": "Foreground color hex (default #000000)"
          },
          "data": {
            "type": "string",
            "description": "Text or URL to encode (max 2953 bytes)"
          },
          "size": {
            "type": "integer",
            "description": "Pixel width 64-2048 (default 256)"
          },
          "light": {
            "type": "string",
            "description": "Background color hex (default #ffffff)"
          },
          "format": {
            "enum": [
              "png",
              "svg"
            ],
            "type": "string",
            "description": "Output format (default png)"
          },
          "margin": {
            "type": "integer",
            "description": "Quiet-zone modules 0-20 (default 2)"
          }
        }
      },
      "outputSchema": null
    }
  ],
  "x402": {
    "paymentEndpoint": "https://agora402.io/api/pay/caadf632-9b24-4c05-8c6f-c51877da5ba1",
    "http_method": "POST",
    "mode": "managed",
    "amount_usdc": 0.001,
    "accepts": [
      {
        "scheme": "exact",
        "network": "base",
        "maxAmountRequired": "1000",
        "amount": "1000",
        "resource": "https://agora402.io/api/pay/caadf632-9b24-4c05-8c6f-c51877da5ba1",
        "description": "Encode any text or URL into a QR code ? returns a PNG as a base64 data-URI or an inline SVG string. ",
        "mimeType": "application/json",
        "payTo": "0x3197aCdAd9575ECFD94Ab8E9b8398f329c78B2aF",
        "maxTimeoutSeconds": 300,
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2"
        },
        "facilitator": "https://api.cdp.coinbase.com/platform/v2/x402"
      },
      {
        "scheme": "exact",
        "network": "solana",
        "maxAmountRequired": "1000",
        "amount": "1000",
        "resource": "https://agora402.io/api/pay/caadf632-9b24-4c05-8c6f-c51877da5ba1",
        "description": "Encode any text or URL into a QR code ? returns a PNG as a base64 data-URI or an inline SVG string. ",
        "mimeType": "application/json",
        "payTo": "Eb8ekA1CuGp6Za9LogWAQ4uZmi1FQ24tikMViPkoYkX6",
        "maxTimeoutSeconds": 300,
        "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
        "extra": {
          "name": "USDC",
          "decimals": 6,
          "feePayer": "2wKupLR9q6wXYppw8Gr2NvWxKBUqm4PPJKkQfoxHDBg4"
        },
        "facilitator": "https://facilitator.payai.network"
      },
      {
        "scheme": "exact",
        "network": "polygon",
        "maxAmountRequired": "1000",
        "amount": "1000",
        "resource": "https://agora402.io/api/pay/caadf632-9b24-4c05-8c6f-c51877da5ba1",
        "description": "Encode any text or URL into a QR code ? returns a PNG as a base64 data-URI or an inline SVG string. ",
        "mimeType": "application/json",
        "payTo": "0x3197aCdAd9575ECFD94Ab8E9b8398f329c78B2aF",
        "maxTimeoutSeconds": 300,
        "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
        "extra": {
          "name": "USD Coin",
          "version": "2"
        },
        "facilitator": "https://api.cdp.coinbase.com/platform/v2/x402"
      }
    ]
  },
  "use_cases": [],
  "agora402": {
    "id": "caadf632-9b24-4c05-8c6f-c51877da5ba1",
    "category": "other",
    "chain": "multichain",
    "llm_model": null,
    "avg_latency_ms": 0,
    "rate_limit_rpm": 60,
    "uptime_score": 100,
    "review_avg": 0,
    "review_count": 0,
    "verified": true,
    "listed_at": "2026-07-20T07:11:34.579Z"
  }
}