{
  "x402Version": 2,
  "id": 4107,
  "slug": "4107",
  "resource": "https://api.delx.ai/api/v1/x402/qr-code",
  "description": "QR code generation API for agents at $0.001 USDC. Call when you need a PNG or SVG QR from text or a URL for tickets, onboarding links, or receipts—without installing a QR library. Returns a self-contained data URI plus SHA-256 receipt via x402 on Base; the encoded destination is never fetched or validated. No API key, no subscription.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "image",
      "info": {
        "input": {
          "body": {
            "data": "https://delx.ai",
            "error_correction": "M",
            "format": "png"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "attribution": "QR rendered locally by Delx; the encoded destination is supplied by the caller and is not fetched or validated.",
            "bytes": 438,
            "data_uri": "data:image/png;base64,<bounded-png>",
            "error_correction": "M",
            "format": "png",
            "gross_margin_usd": 0.001,
            "input_sha256": "a6e8f7c3d9b2a1e0f6c5d4b3a29180706050403020100ffeeddccbbaa99887766",
            "media_type": "image/png",
            "model": "qrcode-python",
            "modules": 33,
            "provider": "first-party",
            "qr_id": "qr_8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
            "sale_price_usdc": 0.001,
            "schema": "delx/qr-code/v1",
            "scope": "qr_code",
            "sha256": "8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f901234567890abcdef1234567890ab",
            "upstream_cost_usd": 0,
            "version": 2
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "border": {
                    "default": 4,
                    "maximum": 16,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "box_size": {
                    "default": 4,
                    "maximum": 8,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "data": {
                    "description": "Text or URL to encode. Delx never fetches or validates the destination.",
                    "maxLength": 2048,
                    "minLength": 1,
                    "type": "string"
                  },
                  "error_correction": {
                    "default": "M",
                    "enum": [
                      "L",
                      "M",
                      "Q",
                      "H"
                    ],
                    "type": "string"
                  },
                  "format": {
                    "default": "png",
                    "enum": [
                      "png",
                      "svg"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "description": "Alias for data.",
                    "maxLength": 2048,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "attribution": "QR rendered locally by Delx; the encoded destination is supplied by the caller and is not fetched or validated.",
                "bytes": 438,
                "data_uri": "data:image/png;base64,<bounded-png>",
                "error_correction": "M",
                "format": "png",
                "gross_margin_usd": 0.001,
                "input_sha256": "a6e8f7c3d9b2a1e0f6c5d4b3a29180706050403020100ffeeddccbbaa99887766",
                "media_type": "image/png",
                "model": "qrcode-python",
                "modules": 33,
                "provider": "first-party",
                "qr_id": "qr_8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
                "sale_price_usdc": 0.001,
                "schema": "delx/qr-code/v1",
                "scope": "qr_code",
                "sha256": "8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f901234567890abcdef1234567890ab",
                "upstream_cost_usd": 0,
                "version": 2
              },
              "type": {
                "const": "json",
                "type": "string"
              }
            },
            "required": [
              "type",
              "example"
            ],
            "type": "object"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      },
      "serviceName": "QR Codes for Agents",
      "summary": "QR code generation API for agents at $0.001 USDC. Call when you need a PNG or SVG QR from text or a URL for tickets, onboarding links, or receipts—without installing a QR library. Returns a self-contained data URI plus SHA-256 receipt via x402 on Base; the encoded destination is never fetched or validated. No API key, no subscription.",
      "tags": [
        "x402",
        "qr-code",
        "qrcode",
        "qr-code-api",
        "qr-code-generation",
        "qr-code-generator",
        "generate-qr-code",
        "png",
        "svg",
        "deterministic",
        "first-party",
        "agent",
        "barcode",
        "agentcash",
        "micro-usdc",
        "url-to-qr",
        "pay-per-call",
        "agent-tools"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.delx.ai",
  "lastUpdated": "2026-08-26T22:43:57.86Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-26T22:43:57.318Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.delx.ai",
    "manifest_name": "api.delx.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}