Api Endpoint

Barcodes and QR Codes

Encode text as a QR code SVG (ISO 18004, versions 1-40, error correction L/M/Q/H, auto mask). No dependencies.

Open interactive test console

Offering

Provider
barcode-qr.x402tookit.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://barcode-qr.x402tookit.com/qr-svg
MIME type
application/json
First seen
2026-11-05T17:26:24.043Z
Last seen
Tags
qr, qr-code, svg, barcode

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.03 USDC
Atomic price: 30000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.03 USDC
Atomic price: 30000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
0.03 USDC
Atomic price: 30000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.03 USDC
Atomic price: 30000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "30000",
    "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "30000",
    "payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "30000",
    "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "30000",
    "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa"
  }
]

Observed health

Status
Healthy
Latest latency
12035 ms
Average latency
2501 ms
HTTP status
402
Last checked
Reachability
100% over 8 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "Text or URL to encode (up to 1000 characters)"
        },
        "ec": {
          "type": "string",
          "description": "Error correction level L, M, Q or H (default M)"
        },
        "version": {
          "type": "integer",
          "description": "Smallest QR version to use, 1 to 40 (default: the smallest that fits)"
        },
        "mode": {
          "type": "string",
          "description": "auto (default), numeric, alphanumeric or byte"
        },
        "mask": {
          "type": "integer",
          "description": "Force mask pattern 0 to 7 (default: lowest penalty)"
        },
        "border": {
          "type": "integer",
          "description": "Quiet zone in modules, 0 to 10 (default 4)"
        },
        "scale": {
          "type": "integer",
          "description": "Pixels per module for width/height, 1 to 20 (default 0: scalable)"
        },
        "fg": {
          "type": "string",
          "description": "Dark module colour, 6-digit hex (default 000000)"
        },
        "bg": {
          "type": "string",
          "description": "Light module colour, 6-digit hex (default ffffff)"
        }
      },
      "required": [
        "text"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "verdict": {
          "type": [
            "null",
            "string"
          ]
        },
        "summary": {
          "type": [
            "null",
            "string"
          ]
        },
        "reasons": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "svg": {
          "type": [
            "null",
            "string"
          ]
        },
        "version": {
          "type": [
            "null",
            "number"
          ]
        },
        "ecLevel": {
          "type": [
            "null",
            "string"
          ]
        },
        "mode": {
          "type": [
            "null",
            "string"
          ]
        },
        "modules": {
          "type": [
            "null",
            "number"
          ]
        },
        "maskPattern": {
          "type": [
            "null",
            "number"
          ]
        },
        "quietZoneModules": {
          "type": [
            "null",
            "number"
          ]
        },
        "characters": {
          "type": [
            "null",
            "number"
          ]
        },
        "encodedUnits": {
          "type": [
            "null",
            "number"
          ]
        },
        "dataCodewords": {
          "type": [
            "null",
            "number"
          ]
        },
        "errorCorrectionCodewords": {
          "type": [
            "null",
            "number"
          ]
        },
        "penaltyScore": {
          "type": [
            "null",
            "number"
          ]
        },
        "svgBytes": {
          "type": [
            "null",
            "number"
          ]
        },
        "degraded": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "notChecked": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "source": {
          "type": [
            "null",
            "string"
          ]
        },
        "asOf": {
          "type": [
            "null",
            "string"
          ]
        },
        "disclaimer": {
          "type": [
            "null",
            "string"
          ]
        }
      }
    }
  },
  "required": [
    "type"
  ]
}