{"uid":"cap_MyWrM09s7trGBzDbYm108","slug":"agentrxi-qr-code-generator-reader-554e9611","name":"AgentRXI QR Code Generator & Reader","description":"QR codes: make a QR code (PNG or SVG, any size, error-correction level) from text or a URL, or read the text from a QR code in a PNG or JPEG image. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/qr?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"size":{"type":"integer"},"text":{"type":"string","description":"Text or URL to encode"},"format":{"type":"string","description":"png (default) | svg"},"image_url":{"type":"string","description":"Read a QR code instead"},"image_base64":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qCYmsqHX9FWtLBHWY_wcP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generate QR codes (PNG or SVG, any size and error-correction level) from text or URLs, or decode text from a QR code image","exampleAgentPrompt":"Can you make a QR code for https://myshop.example.com — I'd like it as a PNG at 400 pixels?","exampleUseCases":[{"title":"QR code for a business website","prompt":"Generate a QR code for https://morningbloomcoffee.com as a 512-pixel PNG so I can put it on our menus."},{"title":"Decode a QR code from an image","prompt":"Can you read the QR code in this image and tell me what text or URL it contains? Here's the image URL: https://example.com/qr-photo.jpg"},{"title":"SVG QR code for print materials","prompt":"I need an SVG QR code from the text 'Join our mailing list at newsletter.example.com' — SVG format so I can scale it without losing quality for our poster design."}],"resultDescription":"For generation requests: a PNG or SVG image of the QR code encoding the provided text or URL, at the specified size. For decode requests: the plain text or URL embedded in the QR code image provided via URL or base64.","failureModes":["Invalid or unreachable image_url when decoding — returns an error indicating the image could not be fetched","No QR code detected in the provided image — returns an error or empty result","Missing required text parameter when generating — returns a validation error","Unsupported image format for decoding (non-PNG/JPEG) — may return an error","Extremely large size values may time out or be rejected"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate QR codes in PNG or SVG format with configurable size, or when you need to decode the content of a QR code from an existing image. It handles both creation and reading in a single endpoint, making it ideal for workflows that do both. It is a low-cost, fast API particularly suited for agent-driven automations using x402 micropayment billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:19.561Z","isFirstParty":false,"canonicalSlug":"agentrxi-qr-code-generator-reader-554e9611"}