{"success":true,"data":{"id":"svc_qrcode_08","slug":"qr-code","name":"QR Code Generator","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.","category":"utility","endpoint":"https://agentsvc.io/api/v1/proxy/qr-code","price_usdc":0.002,"latency_p99_ms":100,"input_schema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"The text or URL to encode in the QR code"},"size":{"type":"integer","default":256,"description":"Output image size in pixels (width and height). Min: 64, Max: 1024."},"error_correction":{"type":"string","enum":["L","M","Q","H"],"default":"M","description":"Error correction level: L=7%, M=15%, Q=25%, H=30% data recovery. Higher = bigger QR code."}}},"output_schema":{"type":"object","required":["image_base64","width","height","text"],"properties":{"image_base64":{"type":"string","description":"Base64-encoded PNG image of the QR code (decode to get raw bytes)"},"width":{"type":"integer","description":"Image width in pixels"},"height":{"type":"integer","description":"Image height in pixels"},"text":{"type":"string","description":"The text that was encoded"},"generated_at":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of generation"}},"example":{"image_base64":"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAA...","width":256,"height":256,"text":"https://agentsvc.io","generated_at":"2026-04-07T12:00:00.000Z"}},"is_active":true,"provider":"agentsvc.io","tags":["qr","qrcode","image","encode","png","barcode"],"method":"POST","example_input":{"text":"https://agentsvc.io","size":256},"price_atomic":"2000","price_display":"$0.002 USDC","try_url":"https://agentsvc.io/api/v1/try/qr-code","try_limit_per_day":3,"info_url":"https://agentsvc.io/api/v1/services/qr-code","page_url":"https://agentsvc.io/services/qr-code","curl_example":"curl -X POST https://agentsvc.io/api/v1/proxy/qr-code -H \"Content-Type: application/json\" -d '{\"text\":\"https://agentsvc.io\",\"size\":256}'","status":{"ok":true,"latency_ms":12,"checked_at":"2026-10-05T09:35:10.744Z"}},"payment":{"protocol":"x402","x402_versions_accepted":[1,2],"scheme":"exact","network":"eip155:8453","network_v1":"base","chain_id":8453,"asset":"USDC","asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","asset_decimals":6,"eip712_domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"pay_to":"0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27","facilitator":"https://facilitator.payai.network","request_header_v2":"PAYMENT-SIGNATURE","request_header_v1":"X-PAYMENT","requirements_v2":"base64 JSON in the PAYMENT-REQUIRED response header of the 402","requirements_v1":"JSON body of the 402 (accepts[0])","receipt_header":"PAYMENT-RESPONSE (and X-PAYMENT-RESPONSE): base64 JSON with transaction hash","accounts_required":false,"api_keys_required":false,"settlement":"per call, on-chain, after the service succeeded. Failed calls are never charged."},"links":{"catalog":"https://agentsvc.io/api/v1/services","openapi":"https://agentsvc.io/openapi.json","llms_txt":"https://agentsvc.io/llms.txt","llms_full_txt":"https://agentsvc.io/llms-full.txt","agents_md":"https://agentsvc.io/AGENTS.md","skill_md":"https://agentsvc.io/SKILL.md","status":"https://agentsvc.io/api/v1/status","docs":"https://agentsvc.io/docs","mcp_server":"https://agentsvc.io/mcp-server.mjs","discovery":"https://agentsvc.io/.well-known/x402","agent_card":"https://agentsvc.io/.well-known/agent-card.json"}}