$0.001
per call · USD Coin on Base
x402-gateway tool: qr_generator — Generate a QR code or barcode as an image (SVG or PNG). Returns a base64-encoded image (MCP content type image). Symbologies: qrcode/qr, code128, code39, ean13, ean8, upca, upce, isbn10, isbn13, issn, itf, gs1-128, databar.
Endpoint
POST https://x402.freeq.one/tools/qr_generator5
Calls / 30d
2
Unique payers / 30d
Aug 23
Last called
exact
Payment scheme
Call this service
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://x402.freeq.one/tools/qr_generator", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"data": {
"description": "Data to encode (URL or text for QR; numeric for EAN/UPC)",
"type": "string"
},
"format": {
"description": "Barcode symbology; use qrcode (or qr) for QR codes",
"enum": [
"qrcode",
"code128",
"code39",
"ean13",
"ean8",
"upca",
"upce",
"isbn10",
"isbn13",
"issn",
"itf",
"gs1-128",
"databar"
],
"type": "string"
},
"type": {
"description": "Output image format (default svg)",
"enum": [
"svg",
"png"
],
"type": "string"
}
}),
});
const data = await res.json();curl -X POST \
"https://x402.freeq.one/tools/qr_generator" \
-H "Content-Type: application/json" \
-d '{"data":{"description":"Data to encode (URL or text for QR; numeric for EAN/UPC)","type":"string"},"format":{"description":"Barcode symbology; use qrcode (or qr) for QR codes","enum":["qrcode","code128","code39","ean13","ean8","upca","upce","isbn10","isbn13","issn","itf","gs1-128","databar"],"type":"string"},"type":{"description":"Output image format (default svg)","enum":["svg","png"],"type":"string"}}' \
-H "X-PAYMENT: <signed x402 payment>"Payment details
0x90b0dc893406d6ea63bb077ed59f5e8340f98d84USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Developer Tools and the homepage with a featured placement.
More from x402-gateway & similar services
x402-gateway · SE Company
x402-gateway.ai
Swedish company basics by org.nr. Look up any Swedish organisation by its 10-digit organisationsnummer (e.g. /api/v1/se/company/5567037485 for Spotify AB): registered and trade names, legal form, active status, bankruptcy/liquidation/reconstruction, registered address, SNI 2007 industry codes and activity description. Live from Bolagsverket's official register with SCB business data. No API key — pay per call in USDC.
x402-gateway · Tools Verify Semaphore
x402.freeq.one
x402-gateway tool: verify_semaphore — Verify a Semaphore ZK proof locally using Groth16 (embedded official vkey). No external dependency. Send the proof object from @semaphore-protocol/proof generateProof().
x402-gateway · Tools LLM Chat
x402.freeq.one
LLM Chat: Chat with a language model. OpenAI-compatible /v1/chat/completions interface. Supports 50+ models. Free models (auto, eco, premium) are $0 — paid models (gpt-5.2, claude-opus-5, deepseek-v4-pro, ...) are charged at cost. See /tools/llm_chat/models for the full model list and rates. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/llm_chat.