Api Endpoint

x402-data-api.onrender.com

QR code generator: GET ?data=<text|url> and receive a scannable QR as SVG plus PNG (base64) and a data: URI. Options: size (px, default 512), margin (quiet-zone modules, default 2), ecc (L|M|Q|H, default M), dark/light hex colors. Deterministic, no network, no tracking — encode URLs, wifi, vCards, or payment URIs up to 2,000 chars.

Open interactive test console

Offering

Provider
x402-data-api.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Location And Travel
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-data-api.onrender.com/api/qr
MIME type
application/json
First seen
2026-10-16T02:54:53.696Z
Last seen
Tags
Design & Assets

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xdd5fcEa81CA6f1EB39FEd5B973DE794293B81ba6"
  }
]

Observed health

Status
Healthy
Latest latency
43 ms
Average latency
448 ms
HTTP status
402
Last checked
Reachability
100% over 7 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": {
        "data": {
          "type": "string",
          "description": "Text or URL to encode (required, up to 2,000 chars)"
        },
        "size": {
          "type": "number",
          "description": "PNG width in px (64–2048, default 512)"
        },
        "margin": {
          "type": "number",
          "description": "Quiet-zone width in modules (0–20, default 2)"
        },
        "ecc": {
          "type": "string",
          "description": "Error correction: L, M (default), Q, or H — higher survives more damage but holds less data"
        },
        "dark": {
          "type": "string",
          "description": "Hex color of the modules (default #000000)"
        },
        "light": {
          "type": "string",
          "description": "Hex background color (default #ffffff)"
        }
      },
      "required": [
        "data"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "data": {
          "type": "string"
        },
        "version": {
          "type": "number"
        },
        "ecc": {
          "type": "string"
        },
        "width": {
          "type": "number"
        },
        "svg": {
          "type": "string"
        },
        "png_base64": {
          "type": "string"
        },
        "data_uri": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}