ToolAssay

Generate a styled QR code PNG (base64 in JSON)

Generate a styled QR code PNG (base64 in JSON): custom foreground/background hex colours, module size, border, and error-correction level.

Answeringour last check, 2026-09-24
1 of 1checks answered this week
1478 msmedian answer time
$0.001listed price per call
$0.001price 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://qr-api-production-1836.up.railway.app/generate/styled

CategoryCode and developer
Provider hostqr-api-production-1836.up.railway.app
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.001 1478 ms

Example input (from the provider)

{
  "body": {
    "back_color": "#ffffff",
    "border": 4,
    "box_size": 10,
    "data": "https://payapi.market",
    "error_correction": "H",
    "fill_color": "#1d4ed8"
  },
  "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": {
          "properties": {
            "back_color": {
              "description": "Background colour as #rgb or #rrggbb hex. Default #ffffff.",
              "type": "string"
            },
            "border": {
              "description": "Quiet-zone border in modules, 0-20. Default 4.",
              "type": "integer"
            },
            "box_size": {
              "description": "Pixels per module, 1-40. Default 10.",
              "type": "integer"
            },
            "data": {
              "description": "Text or URL to encode, up to 4296 characters.",
              "type": "string"
            },
            "error_correction": {
              "description": "Error-correction level: L, M, Q, or H. Default M.",
              "type": "string"
            },
            "fill_color": {
              "description": "Foreground colour as #rgb or #rrggbb hex. Default #000000.",
              "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",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "back_color": {
              "description": "Background colour as normalised #rrggbb hex.",
              "type": "string"
            },
            "border": {
              "description": "Quiet-zone border width in modules.",
              "type": "integer"
            },
            "box_size": {
              "description": "Pixels per QR module.",
              "type": "integer"
            },
            "data": {
              "description": "The text or URL encoded into the QR code.",
              "type": "string"
            },
            "error_correction": {
              "description": "Error-correction level used: L, M, Q, or H.",
              "type": "string"
            },
            "fill_color": {
              "description": "Foreground colour as normalised #rrggbb hex.",
              "type": "string"
            },
            "format": {
              "description": "Image format of the returned bytes; always 'png'.",
              "type": "string"
            },
            "height": {
              "description": "PNG height in pixels.",
              "type": "integer"
            },
            "image_base64": {
              "description": "Base64-encoded PNG of the QR code.",
              "type": "string"
            },
            "modules": {
              "description": "QR module count per side (the grid dimension).",
              "type": "integer"
            },
            "size_bytes": {
              "description": "Byte length of the raw PNG.",
              "type": "integer"
            },
            "version": {
              "description": "QR version (1-40) chosen to fit the data.",
              "type": "integer"
            },
            "width": {
              "description": "PNG width in pixels.",
              "type": "integer"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON