Skip to content
Fourohtwo

apexfaucet.xyz/api/x402/qr-generate

Generate a scannable ISO 18004 QR code (SVG vector and/or base64 PNG data URI) for any URL, wallet address, payment link, or text up to 271 bytes (APEX). Pass ?text= (or POST JSON), optional &ecc=L|M|Q|H, &size=64..1024, &format=svg|png|both, &fg=#000000, &bg=#ffffff.

BaseArcSolanaAnswering
GEThttps://apexfaucet.xyz/api/x402/qr-generate

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://apexfaucet.xyz/api/x402/qr-generate?ecc=M&format=svg&size=256&text=https%3A%2F%2Fapexfaucet.xyz");
console.log(await res.json());

Example input

{
  "ecc": "M",
  "format": "svg",
  "size": 256,
  "text": "https://apexfaucet.xyz"
}