{"uid":"cap_mdNYx27MqjGj5TOx0ID_H","slug":"agentfeed-qr-code-generator-f5b31d0f","name":"AgentFeed QR Code Generator","description":"QR code: an SVG or PNG (base64 and data URI) at error-correction level M, scaled for scanning. Use when you need to answer: How do I turn this text into a QR code? Input up to 2 KB; over that is a 400, never billed.","url":"https://x402.ochinimus.app/api/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","required":["data"],"properties":{"data":{"type":"string","description":"the text to encode, up to 2,048 bytes"},"format":{"enum":["svg","png"],"type":"string","description":"svg (default) or png"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object","properties":{"svg":{"type":"string"},"format":{"type":"string"},"modules":{"type":"number"},"data_uri":{"type":"string"},"data_bytes":{"type":"number"},"error_correction":{"type":"string"}}},"paid":{"type":"boolean"},"tool":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 33 33\" width=\"330\" height=\"330\" shape-rendering=\"crispEdges\"><rect width=\"33\" height=\"33\" fill=\"#fff\"/><path d=\"M4 4h7v1h-7zM12 4h1v1h-1zM14 4h2v1h-2zM18 4h1v1h-1zM22 4h7v1h-7zM4 5h1v1h-1zM10 5h1v1h-1zM12 5h…","format":"svg","modules":25,"data_uri":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMyAzMyIgd2lkdGg9IjMzMCIgaGVpZ2h0PSIzMzAiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyI+PHJlY3Qgd2lkdGg9IjMzIiBoZWlnaHQ9IjMzIiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTQgNGg3djFoLT…","data_bytes":26,"error_correction":"M"},"paid":true,"tool":"get_qr"}},"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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nMhLs8pj96svrKpna6KSj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a QR code (SVG or PNG) from any text or URL, up to 2,048 bytes, with medium error correction","exampleAgentPrompt":"Generate a QR code for the URL https://example.com/checkout in SVG format so I can embed it on my webpage.","exampleUseCases":[{"title":"QR code for a crypto wallet","prompt":"Create a QR code in SVG format encoding my Solana wallet address So1anaWa11etAddressHere so people can scan it to send me payments."},{"title":"Shareable event link as QR","prompt":"Turn the event URL https://myevent.com/rsvp into a PNG QR code I can print on flyers."},{"title":"Embed QR in a web app","prompt":"Generate a QR code for the text 'Hello, World!' as an SVG and give me the data URI so I can drop it straight into an HTML image tag."}],"resultDescription":"Returns a JSON object with a data field containing the QR code in the requested format (SVG markup string and/or PNG data URI), a data_uri for direct embedding, the module count indicating QR size, the error correction level (M), and the byte size of the encoded data. Also includes a paid boolean and the tool name.","failureModes":["Input text exceeds 2,048 bytes — QR encoding will fail or be rejected","Invalid format enum value (only 'svg' or 'png' accepted) — results in a 400-style error","Missing required 'data' query parameter — request rejected","Payment failure via x402 if no valid payment header or prepaid key is provided — 402 response","Very long URLs or binary data approaching the byte limit may degrade QR scannability"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call QR code generation with no API key setup, especially in an autonomous agent context that already handles x402 micropayments. Ideal for encoding URLs, wallet addresses, or short text blobs into embeddable SVG or PNG QR codes on demand. Prefer this over full-featured QR libraries when you want a hosted, stateless call with a data URI ready to embed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:30:41.004Z","isFirstParty":false,"canonicalSlug":"agentfeed-qr-code-generator-f5b31d0f"}