Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man qr-generator

/qr-generator

agentutility / web-probe / qr-generator
PRICE / CALL
$0.001
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobe
CATEGORY
uncategorized
STATUS
live
NAME
qr-generator generates png or svg qr codes from text, urls, vcards, wifi strings, and plain text with configurable size, margin, colors, and error cor…
synonym alias of qr-code-generate — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/qr-generator
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Generates PNG or SVG QR codes from text, URLs, vCards, WiFi strings, and plain text with configurable size, margin, colors, and error correction. Use it as a QR generator API, create-QR-code endpoint, text-to-QR, or link QR generator.

INPUTrequest schema
propertytypedescriptionreq?
textstringText to encode. Any string up to ~4296 chars.required
formatstringOutput image format. Default 'png'.
enum: png · svg
optional
sizenumberImage side length in pixels. Range [64, 1024]. Default 256.optional
error_correctionstringReed-Solomon error-correction level.
enum: L · M · Q · H
optional
marginnumberQuiet-zone margin in modules. Range [0, 20]. Default 4.optional
foregroundstringQR module color as 6 or 8-digit hex.optional
backgroundstringBackground color as 6 or 8-digit hex.optional
OUTPUTresponse shape
fieldtypedescription
formatstring
sizestring
content_typestring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/qr-generator \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the qr-generator tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
web-probeqrgeneratorqr-generator
methods
POST
cluster
webprobe
price
$0.001 USDC per call
ADJACENTother endpoints in webprobe
endpointdescriptionprice
hacker-news-searchSearch 30M+ Hacker News stories and comments via the Algolia HN index.$0.001
hn-searchSearches 30M+ Hacker News stories and comments via the public Algolia HN index.$0.001
ip-asnLooks up ASN and geolocation for any IPv4 or IPv6 address: ASN number, ASN org, ISP, country, region, city, postal, latitude/longitude, a…$0.001
qr-makerMakes a QR code from text, URL, vCard, WiFi join string, or plain text and returns it as PNG or SVG.$0.001
keyword-suggestKeyword and autocomplete suggestions for any seed query.$0.002
crates-io-statsFetches the public crates.io API record for a Rust crate and returns description, license, repository, homepage, documentation, keywords,…$0.003
crypto-news-apiReturns recent cryptocurrency headline metadata and sentiment.$0.003
homoglyph-checkDetects Unicode lookalike characters that impersonate ASCII Latin letters, a common phishing-domain trick.$0.003
SEE ALSO
agentutility · webprobe · x402 · mcp · llms.txt · registry.json · bazaar.x402.org