QR Code API
4 endpoints for QR code generation and decoding: basic generation with default styling, fully styled generation (custom hex colours, module size, border, error-correction level), batch generation of up to 20 codes per call, and image decoding via libzbar (returns content + bounding boxes for any QR codes detected). Returns base64 PNG to keep the x402 envelope consistent.
1 of 4 routes settlement-verified · $0.001 USDC/request · 4 endpoints / 4 tools · Tools · base network · x402 protocol
Verified routes
/generate/basic· $0.001 · 2026-08-03 · receipt
Other routes are unverified.
Networks: Base (settlement-verified)
Discovery is free. Agents search the catalogue here. Payment happens on the listing 402, not on PayAPI.
url https://payapi.market/mcp
About this API
QR Code API is listed in the Tools category with pricing at $0.001 USDC/request. One route has been settlement-verified by PayAPI Market on 2026-08-03. View receipt on Basescan.
Payments settle on base in USDC via the x402 protocol. AI agents discover this API through the PayAPI Market MCP server and pay per request without API keys or accounts.
This API exposes 4 endpoints. Only the verified route has been tested by PayAPI Market. Other routes are unverified.
How to call this API
Every protected route returns HTTP 402 with x402 payment requirements. An agent pays the stated USDC amount on Base and retries with the payment header. No API keys, no accounts. Browse the marketplace or list your own API.
Related APIs
- Ops Control HQ DNS Lookup · 1 route verified · Pay-per-call public DNS record lookup via Google DNS-over-HTTPS. Returns A, AAAA, MX, TXT, NS, CNAME, SOA or CAA records, DNS status, answers, authority and check timestamp. No private-domain or credential access.
- zFinia Accessibility Contrast Calculator · 1 route verified · Calculate WCAG 2.x sRGB contrast for one caller-supplied colour pair; no interface-wide accessibility claim is made. POST {"foreground":"#000000","background":"#ffffff","large_text":false} on Base exact x402 at US$0.001. MCP is challenge-handoff, not a wallet.
- Wallet Risk Report · Vet any wallet before you transact: sanctions, phishing and theft flags, risky token approvals, scam tokens held and full portfolio in USD across 6 EVM chains or Solana. One call.
- withgrokbot Verified Catalog Lookup · 1 route verified · Verified catalog reliability lookup via x402 ($0.02/call on Base). Same catalog also sells Overnight Chief of Staff Setup Pack ($9) and Endpoint Spot-Check ($0.25) at /v1/products/*.
- x402 MCP Tools · 1 route verified · Four pay-per-call MCP tools: QR code generator, image processing, LLM text analysis (summary/sentiment/keywords/translation), URL fetch. USDC on Base, x402 v2.
- Agent402.Tools · 1 route verified · Pay-per-call tools for agents. Prices and catalog size come from https://agent402.tools/api/pricing and can change.