QR code generation API for agents at $0
QR code generation API for agents at $0.001 USDC. Call when you need a PNG or SVG QR from text or a URL for tickets, onboarding links, or receipts—without installing a QR library. Returns a self-contained data URI plus SHA-256 receipt via x402 on Base; the encoded destination is never fetched or validated. No API key, no subscription.
1000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-26
updated
Provider
api.delx.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9f8bd9875b3E0b632a24A3A7C73f7787175e73A2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "28heAMpFkeUJsL7o7apiK4oJwZWq2fUHinRwbgYYsemG",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "image",
"info": {
"input": {
"body": {
"data": "https://delx.ai",
"error_correction": "M",
"format": "png"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"attribution": "QR rendered locally by Delx; the encoded destination is supplied by the caller and is not fetched or validated.",
"bytes": 438,
"data_uri": "data:image/png;base64,<bounded-png>",
"error_correction": "M",
"format": "png",
"gross_margin_usd": 0.001,
"input_sha256": "a6e8f7c3d9b2a1e0f6c5d4b3a29180706050403020100ffeeddccbbaa99887766",
"media_type": "image/png",
"model": "qrcode-python",
"modules": 33,
"provider": "first-party",
"qr_id": "qr_8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
"sale_price_usdc": 0.001,
"schema": "delx/qr-code/v1",
"scope": "qr_code",
"sha256": "8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f901234567890abcdef1234567890ab",
"upstream_cost_usd": 0,
"version": 2
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"border": {
"default": 4,
"maximum": 16,
"minimum": 0,
"type": "integer"
},
"box_size": {
"default": 4,
"maximum": 8,
"minimum": 1,
"type": "integer"
},
"data": {
"description": "Text or URL to encode. Delx never fetches or validates the destination.",
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"error_correction": {
"default": "M",
"enum": [
"L",
"M",
"Q",
"H"
],
"type": "string"
},
"format": {
"default": "png",
"enum": [
"png",
"svg"
],
"type": "string"
},
"text": {
"description": "Alias for data.",
"maxLength": 2048,
"minLength": 1,
"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",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"attribution": "QR rendered locally by Delx; the encoded destination is supplied by the caller and is not fetched or validated.",
"bytes": 438,
"data_uri": "data:image/png;base64,<bounded-png>",
"error_correction": "M",
"format": "png",
"gross_margin_usd": 0.001,
"input_sha256": "a6e8f7c3d9b2a1e0f6c5d4b3a29180706050403020100ffeeddccbbaa99887766",
"media_type": "image/png",
"model": "qrcode-python",
"modules": 33,
"provider": "first-party",
"qr_id": "qr_8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f",
"sale_price_usdc": 0.001,
"schema": "delx/qr-code/v1",
"scope": "qr_code",
"sha256": "8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f901234567890abcdef1234567890ab",
"upstream_cost_usd": 0,
"version": 2
},
"type": {
"const": "json",
"type": "string"
}
},
"required": [
"type",
"example"
],
"type": "object"
}
},
"required": [
"input",
"output"
],
"type": "object"
},
"serviceName": "QR Codes for Agents",
"summary": "QR code generation API for agents at $0.001 USDC. Call when you need a PNG or SVG QR from text or a URL for tickets, onboarding links, or receipts—without installing a QR library. Returns a self-contained data URI plus SHA-256 receipt via x402 on Base; the encoded destination is never fetched or validated. No API key, no subscription.",
"tags": [
"x402",
"qr-code",
"qrcode",
"qr-code-api",
"qr-code-generation",
"qr-code-generator",
"generate-qr-code",
"png",
"svg",
"deterministic",
"first-party",
"agent",
"barcode",
"agentcash",
"micro-usdc",
"url-to-qr",
"pay-per-call",
"agent-tools"
]
}
}Use it
curl
curl "https://api.delx.ai/api/v1/x402/qr-code" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.delx.ai/api/v1/x402/qr-code");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.delx.ai/api/v1/x402/qr-code")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4107.json, and this resource appears in /discovery/resources and /discovery/search.