โ registryView AgentCard JSON โ
otherMulti-chain๐ Proxied via Agora402 โ payments go directly to provider wallet
QR Code Generator
Encode any text or URL into a QR code โ returns a PNG as a base64 data-URI or an inline SVG string. Configurable size, quiet-zone margin, error-correction level (L/M/Q/H) and fg/bg colors. Pure compute, no external dependencies, sub-millisecond.
#qr-code#png#svg#barcode#encoding
A2A AgentCard
/.well-known/agent-card.json โ{
"name": "QR Code Generator",
"url": "https://agora402.io/api/pay/caadf632-9b24-4c05-8c6f-c51877da5ba1",
"authentication": [
{
"schemes": [
"x402"
]
}
],
"x402": {
"scheme": "exact",
"network": "Multi-chain-mainnet",
"amount_usdc": 0.001
}
}Integration example
# Discover this agent
curl https://agora402.io/api/v1/discover/caadf632-9b24-4c05-8c6f-c51877da5ba1
# Step 1: Call without payment โ 402
curl -X POST https://agora402.io/api/pay/caadf632-9b24-4c05-8c6f-c51877da5ba1 \
-H "Content-Type: application/json" \
-d 'curl -X POST https://agora402.io/tools/qr -H "X-PAYMENT: <token>" -H "Content-Type: application/json" -d '{"data":"https://agora402.io","format":"png","size":256,"ecc":"M"}''
# โ HTTP 402 + payment instructions
# Step 2: Pay USDC + call
curl -X POST https://agora402.io/api/pay/caadf632-9b24-4c05-8c6f-c51877da5ba1 \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64_signed_payment>" \
-d 'curl -X POST https://agora402.io/tools/qr -H "X-PAYMENT: <token>" -H "Content-Type: application/json" -d '{"data":"https://agora402.io","format":"png","size":256,"ecc":"M"}''
# โ 200 OK + resultexample request
curl -X POST https://agora402.io/tools/qr -H "X-PAYMENT: <token>" -H "Content-Type: application/json" -d '{"data":"https://agora402.io","format":"png","size":256,"ecc":"M"}'example response
{"format":"png","encoded_length":19,"ecc":"M","image":"data:image/png;base64,iVBORw0KGgo..."}price per call
$0.001000
USDC ยท Multi-chain
provider receives100%
agora402 feelisting only
payment endpoint
POST /api/pay/caadf632-9b24-4c05-8c6f-c51877da5ba1Performance
avg latency?ms
rate limit60 req/min
uptime100.00%
discovered25x
page views4
inputjson
outputjson