{"slug":"agentsvc-io-api-v1-proxy-qr-code-6a46a0","title":"Generate a QR code for any text or URL","host":"agentsvc.io","method":"POST","resource":"https://agentsvc.io/api/v1/proxy/qr-code","category":"code","description":"Generate a QR code for any text or URL. Returns image_base64 (base64 PNG; decode to get raw bytes). Params: text (required), size in px (64-1024, default 256), error_correction (L/M/Q/H, default M). H = highest redundancy, survives up to 30% damage.","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":953,"reported_calls_30d":11,"reported_payers_30d":3,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"size":256,"text":"https://agentsvc.io"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"error_correction":{"default":"M","description":"Error correction level: L=7%, M=15%, Q=25%, H=30% data recovery. Higher = bigger QR code.","enum":["L","M","Q","H"],"type":"string"},"size":{"default":256,"description":"Output image size in pixels (width and height). Min: 64, Max: 1024.","type":"integer"},"text":{"description":"The text or URL to encode in the QR code","type":"string"}},"required":["text"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"generated_at":{"description":"ISO 8601 timestamp of generation","format":"date-time","type":"string"},"height":{"description":"Image height in pixels","type":"integer"},"image_base64":{"description":"Base64-encoded PNG image of the QR code (decode to get raw bytes)","type":"string"},"text":{"description":"The text that was encoded","type":"string"},"width":{"description":"Image width in pixels","type":"integer"}},"required":["image_base64","width","height","text"],"type":"object"},"success":{"type":"boolean"}},"required":["success","data"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":953,"error":null}],"description_full":"Generate a QR code for any text or URL. Returns image_base64 (base64 PNG; decode to get raw bytes). Params: text (required), size in px (64-1024, default 256), error_correction (L/M/Q/H, default M). H = highest redundancy, survives up to 30% damage.","last_updated":"2026-10-10T09:08:02.263Z","schemes":["exact"]}