B

Busker QR Generator · QR

by Busker QR Generator

POSTBase

$0.005

per call · USD Coin on Base

Generate a QR code from text as PNG (base64) or SVG. Custom module size, quiet-zone margin, and hex colours. Deterministic, capacity-capped at 2953 bytes. Set delivery to "url" to receive a short-lived download link instead of inline data.

Endpoint

POST https://workbot1.oddsys.org/qr

3

Calls / 30d

2

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://workbot1.oddsys.org/qr", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "dark": "#000000",
    "format": "png",
    "light": "#ffffff",
    "margin": 2,
    "scale": 4,
    "text": "https://example.com"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://workbot1.oddsys.org/qr" \
  -H "Content-Type: application/json" \
  -d '{"dark":"#000000","format":"png","light":"#ffffff","margin":2,"scale":4,"text":"https://example.com"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "dataBase64": "iVBORw0KGgoAAAANSUhEUgAA…",
  "format": "png",
  "meta": {
    "dark": "#000000",
    "errorCorrection": "M",
    "inputBytes": 23,
    "light": "#ffffff",
    "margin": 2,
    "modules": 25,
    "outputBytes": 412,
    "pixels": 116,
    "scale": 4
  }
}

Payment details

Pay to0x15459498e1191d8787c83177809bd54022fa18c4
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from Busker QR Generator & similar services