PayAPI Market

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.

x402 verified · $0.001 USDC/request · 4 endpoints / 4 tools · Tools · base network · x402 protocol

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.

By PayAPI Market