{
  "generated_at": "2026-05-11T00:56:48.476130+00:00",
  "slug": "x402-translator-aibearle-com-generate-qr-dataurl",
  "title": "X402-translator \u00b7 Generate Qr Dataurl",
  "url": "https://x402-translator.aibearle.com/generate-qr/dataurl",
  "category": "media",
  "summary": "X402-translator \u00b7 Generate Qr Dataurl \u2014 x402-protected media API. Pay $0.0010 per call on base. Indexed by x402all.",
  "seo": {
    "title": "X402-translator \u00b7 Generate Qr Dataurl \u2014 x402 media API \u00b7 $0.0010 per c",
    "description": "X402-translator \u00b7 Generate Qr Dataurl \u2014 x402-protected media API. Pay $0.0010 per call on base. Indexed by x402all."
  },
  "use_cases": [],
  "risk_notes": [],
  "pricing_sanity": {
    "flag": "cheap_outlier",
    "ratio": 0.013,
    "median_category_atomic": 80000
  },
  "pricing_review_required": false,
  "pricing_decimal_suspect": false,
  "trust_tier": "indexed_external",
  "accepts": [
    {
      "scheme": "exact",
      "network": "base",
      "pay_to": "0xcc26c575d1bc9885bde6c89be033e34e856c645a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "max_amount_required_atomic": "1000",
      "max_timeout_seconds": 300,
      "mime_type": "application/json",
      "description": "Generate a styled QR code and return as base64-encoded data URL for direct embedding in HTML/CSS. Accepts same customization options as /generate-qr but returns JSON with data URL string instead of binary image.",
      "verified": false,
      "hints": {
        "input": {
          "type": "http",
          "method": "POST",
          "bodyType": "json",
          "bodyFields": {
            "data": {
              "type": "string",
              "required": true,
              "description": "The data to encode in the QR code (required). Can be URL, text, vCard, WiFi credentials, or any string data up to QR code capacity limits."
            },
            "image": {
              "type": "string",
              "description": "URL to logo/center image to embed in QR code (optional). Must be accessible HTTP/HTTPS URL."
            },
            "width": {
              "type": "number",
              "description": "QR code width in pixels (10-2000). Default: 300"
            },
            "format": {
              "enum": [
                "png",
                "jpg",
                "jpeg",
                "pdf",
                "svg"
              ],
              "type": "string",
              "description": "Output image format for data URL. Options: 'png' (default), 'jpg', 'jpeg', 'pdf', 'svg'"
            },
            "height": {
              "type": "number",
              "description": "QR code height in pixels (10-2000). Default: 300"
            },
            "margin": {
              "type": "number",
              "description": "Margin around QR code in pixels (0-100). Default: 10"
            },
            "dotType": {
              "enum": [
                "square",
                "rounded",
                "dots",
                "classy",
                "classy-rounded",
                "extra-rounded"
              ],
              "type": "string",
              "description": "Shape of QR code dots. Options: 'square' (default), 'rounded', 'dots', 'classy', 'classy-rounded', 'extra-rounded'"
            },
            "dotColor": {
              "type": "string",
              "description": "Dot color in hex (#000000), rgb(0,0,0), rgba(0,0,0,1), or named color. Default: '#000000'"
            },
            "imageSize": {
              "type": "number",
              "description": "Logo size ratio (0-1). Default: 0.4 means 40% of QR code size"
            },
            "dotGradient": {
              "type": "object",
              "description": "Gradient for dots (overrides dotColor). Object with: type ('linear'|'radial'), rotation (0-360 for linear), colorStops (array of {offset: 0-1, color: string})"
            },
            "imageMargin": {
              "type": "number",
              "description": "Margin around logo in pixels. Default: 0"
            },
            "cornerDotType": {
              "enum": [
                "square",
                "dot"
              ],
              "type": "string",
              "description": "Shape of corner dots (inside position markers). Options: 'square' (default), 'dot'"
            },
            "cornerDotColor": {
              "type": "string",
              "description": "Corner dot color. Default: '#000000'"
            },
            "backgroundColor": {
              "type": "string",
              "description": "Background color. Default: '#ffffff'"
            },
            "cornerSquareType": {
              "enum": [
                "square",
                "dot",
                "extra-rounded"
              ],
              "type": "string",
              "description": "Shape of corner squares (position markers). Options: 'square' (default), 'dot', 'extra-rounded'"
            },
            "cornerDotGradient": {
              "type": "object",
              "description": "Gradient for corner dots (overrides cornerDotColor). Same structure as dotGradient"
            },
            "cornerSquareColor": {
              "type": "string",
              "description": "Corner square color. Default: '#000000'"
            },
            "backgroundGradient": {
              "type": "object",
              "description": "Gradient for background (overrides backgroundColor). Same structure as dotGradient"
            },
            "hideBackgroundDots": {
              "type": "boolean",
              "description": "Hide QR dots behind logo for cleaner appearance. Default: true"
            },
            "cornerSquareGradient": {
              "type": "object",
              "description": "Gradient for corner squares (overrides cornerSquareColor). Same structure as dotGradient"
            },
            "errorCorrectionLevel": {
              "enum": [
                "L",
                "M",
                "Q",
                "H"
              ],
              "type": "string",
              "description": "Error correction level. L=7%, M=15% (default), Q=25%, H=30% data recovery capability"
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "width": {
              "type": "number",
              "description": "QR code width in pixels"
            },
            "format": {
              "type": "string",
              "description": "The image format used (png, jpg, jpeg, pdf, or svg)"
            },
            "height": {
              "type": "number",
              "description": "QR code height in pixels"
            },
            "dataUrl": {
              "type": "string",
              "description": "Base64-encoded data URL (e.g., 'data:image/png;base64,...') ready for use in <img> src or CSS background-image"
            }
          },
          "description": "JSON object containing the QR code as a base64-encoded data URL"
        }
      }
    }
  ],
  "origin": {
    "slug": "x402-translator-aibearle-com",
    "host": "x402-translator.aibearle.com",
    "url": "https://x402-translator.aibearle.com"
  },
  "json_ld": {
    "@id": "https://x402all.com/resource/x402-translator-aibearle-com-generate-qr-dataurl",
    "url": "https://x402all.com/resource/x402-translator-aibearle-com-generate-qr-dataurl",
    "name": "X402-translator \u00b7 Generate Qr Dataurl",
    "@type": "WebAPI",
    "offers": {
      "url": "https://x402all.com/resource/x402-translator-aibearle-com-generate-qr-dataurl",
      "@type": "Offer",
      "price": "0.001",
      "availability": "https://schema.org/InStock",
      "priceCurrency": "USDC",
      "additionalProperty": [
        {
          "name": "paymentNetwork",
          "@type": "PropertyValue",
          "value": "base"
        },
        {
          "name": "paymentAsset",
          "@type": "PropertyValue",
          "value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        }
      ],
      "priceSpecification": {
        "@type": "UnitPriceSpecification",
        "price": "0.001000",
        "unitText": "call",
        "priceCurrency": "USDC"
      },
      "eligibleCustomerType": "Agent"
    },
    "sameAs": "https://x402-translator.aibearle.com/generate-qr/dataurl",
    "@context": "https://schema.org",
    "provider": {
      "@id": "https://x402all.com/server/x402-translator-aibearle-com",
      "url": "https://x402-translator.aibearle.com",
      "name": "x402-translator.aibearle.com",
      "@type": "Organization"
    },
    "identifier": "x402-translator-aibearle-com-generate-qr-dataurl",
    "description": "X402-translator \u00b7 Generate Qr Dataurl \u2014 x402-protected media API. Pay $0.0010 per call on base. Indexed by x402all.",
    "potentialAction": {
      "@type": "BuyAction",
      "target": "https://axon402.com/test-buy?resource=x402-translator-aibearle-com-generate-qr-dataurl",
      "description": "Test-buy this endpoint on AXON"
    },
    "applicationCategory": "media"
  },
  "axon_deep_link": "https://axon402.com/test-buy?resource=x402-translator-aibearle-com-generate-qr-dataurl",
  "callability": {
    "status": "partial",
    "schema_callability": 0.39,
    "source": "facilitator_bazaar",
    "source_confidence": 0.75,
    "match_confidence": 0.4,
    "schema_confidence": 0.5,
    "validated_at": "2026-05-10T22:47:38.495036+00:00",
    "warnings": []
  },
  "contract": {
    "route_template": "https://x402-translator.aibearle.com/generate-qr/dataurl",
    "content_type": "application/json",
    "response_schema": {
      "type": "object",
      "properties": {
        "width": {
          "type": "number",
          "description": "QR code width in pixels"
        },
        "format": {
          "type": "string",
          "description": "The image format used (png, jpg, jpeg, pdf, or svg)"
        },
        "height": {
          "type": "number",
          "description": "QR code height in pixels"
        },
        "dataUrl": {
          "type": "string",
          "description": "Base64-encoded data URL (e.g., 'data:image/png;base64,...') ready for use in <img> src or CSS background-image"
        }
      },
      "description": "JSON object containing the QR code as a base64-encoded data URL"
    },
    "examples": [],
    "schema_presence": {
      "path_schema": "unknown",
      "query_schema": "unknown",
      "header_schema": "unknown",
      "request_body_schema": "unknown",
      "response_schema": "declared"
    },
    "contract_hash": "b4d086c6c2e6225707c9519a29cecf0cf417340e5eceae7677e8b2a801a55a72"
  }
}