A
$0.001
per call · USD Coin on Base
Generate a QR code from any text or URL. Returns base64-encoded PNG.
Endpoint
POST https://agents.ai-rook.com/api/qr-generate32
Calls / 30d
3
Unique payers / 30d
Sep 10
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://agents.ai-rook.com/api/qr-generate", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"method": "POST",
"size": 300,
"text": "https://agents.ai-rook.com",
"type": "http"
}),
});
const data = await res.json();cURL
curl -X POST \
"https://agents.ai-rook.com/api/qr-generate" \
-H "Content-Type: application/json" \
-d '{"method":"POST","size":300,"text":"https://agents.ai-rook.com","type":"http"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"format": "png",
"image": "data:image/png;base64,...",
"size": 300
}Payment details
Pay to
0xd5f96558fcb1f127c77c7d95eea067f526d08618Asset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase, Solana
Schemesexact
Is this your API?
Pin it to the top of Media & Generation and the homepage with a featured placement.
More from Ai Rook & similar services
A
Ai Rook · GAS Tracker
agents.ai-rook.com
Current Base mainnet gas prices. Slow, standard, fast in gwei.
GETBaseOnchain Data
$0.001 / call67 calls / 30d
A
Ai Rook · IP Lookup
agents.ai-rook.com
IP geolocation, ASN, and proxy/VPN detection. Pass ?ip=x.x.x.x or omit for caller IP.
GETBaseAI & Inference
$0.001 / call34 calls / 30d
A
Ai Rook · Email Validate
agents.ai-rook.com
Email validation — syntax check plus live MX record DNS lookup to confirm deliverability.
POSTBaseData & Enrichment
$0.001 / call32 calls / 30d