ToolAssay

QR code generator — encode text, URLs, payment URIs, or arbitrary UTF-8 data as

QR code generator — encode text, URLs, payment URIs, or arbitrary UTF-8 data as base64-encoded SVG or PNG in a JSON envelope.

Answeringour last check, 2026-09-24
1 of 1checks answered this week
649 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://visuals.use.x402atlas.com/qr

CategoryCode and developer
Provider hostvisuals.use.x402atlas.com
Networkseip155:137, eip155:42161, eip155:8453
Payment schemesexact
Self-reported calls, 30 days3 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.005 649 ms

Example input (from the provider)

{
  "body": {
    "background": "#ffffff",
    "data": "https://x402atlas.com",
    "error_correction": "M",
    "foreground": "#000000",
    "format": "svg",
    "margin_modules": 4,
    "size": 128
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "description": "Deterministic QR code generation request.",
          "properties": {
            "background": {
              "default": "#ffffff",
              "description": "Opaque #RRGGBB canvas and quiet-zone color; must contrast with foreground by at least 4.5:1.",
              "pattern": "^#[0-9a-fA-F]{6}$",
              "type": "string"
            },
            "data": {
              "description": "Non-empty UTF-8 payload, at most 2048 encoded bytes and subject to QR capacity.",
              "minLength": 1,
              "type": "string"
            },
            "error_correction": {
              "default": "M",
              "description": "QR recovery level: L has the most payload capacity; H has the most damage recovery but the least capacity.",
              "enum": [
                "L",
                "M",
                "Q",
                "H"
              ],
              "type": "string"
            },
            "foreground": {
              "default": "#000000",
              "description": "Opaque #RRGGBB color for filled QR modules; must contrast with background by at least 4.5:1.",
              "pattern": "^#[0-9a-fA-F]{6}$",
              "type": "string"
            },
            "format": {
              "default": "svg",
              "description": "Artifact format encoded into content_base64.",
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            },
            "margin_modules": {
              "default": 4,
              "description": "Quiet-zone width around the QR matrix, measured in whole modules.",
              "maximum": 16,
              "minimum": 0,
              "type": "integer"
            },
            "size": {
              "default": 512,
              "description": "Exact width and height of the square output canvas in pixels; must preserve at least one pixel per QR module.",
              "maximum": 2048,
              "minimum": 128,
              "type": "integer"
            }
          },
          "required": [
            "data"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "content_base64": {
              "description": "Standard padded base64 of the exact SVG or PNG artifact bytes.",
              "maxLength": 2796204,
              "type": "string"
            },
            "format": {
              "description": "Decoded artifact format; determines media_type.",
              "enum": [
                "svg",
                "png"
              ],
              "type": "string"
            },
            "height": {
              "description": "Decoded artifact height in pixels.",
              "maximum": 2048,
              "minimum": 128,
              "type": "integer"
            },
            "kind": {
              "const": "qr",
              "description": "Generated artifact kind.",
              "type": "string"
            },
            "media_type": {
              "description": "Media type of the decoded content_base64 bytes.",
              "enum": [
                "image/svg+xml",
                "image/png"
              ],
              "type": "string"
            },
            "render_version": {
              "description": "Versioned normalization and rendering contract used to produce the artifact.",
              "enum": [
                "qr-v1"
              ],
              "type": "string"
            },
            "sha256": {
              "description": "Lowercase SHA-256 digest of the decoded artifact bytes, not of the base64 text.",
              "pattern": "^[0-9a-f]{64}$",
              "type": "string"
            },
            "width": {
              "description": "Decoded artifact width in pixels.",
              "maximum": 2048,
              "minimum": 128,
              "type": "integer"
            }
          },
          "required": [
            "kind",
            "render_version",
            "format",
            "media_type",
            "width",
            "height",
            "sha256",
            "content_base64"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON