{"uid":"cap_tnDwmohyop3Da4saAEaH1","slug":"foundry-qr-code-generator-54a74490","name":"Foundry QR Code Generator","description":"QR code generator: PNG data URI and SVG for any text or URL. Input: the text or URL to encode.","url":"https://minty-sprout.onrender.com/v1/qr-code?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"Text or a URL, up to 1,500 characters"}}},"responseSchema":{"type":"json","example":{"svg":"<svg ...>","data":"https://example.com","version":2,"png_data_uri":"data:image/png;base64,...","error_correction":"M"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g19rjkoibQEtIQOUzh9YB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a QR code as both a PNG data URI and an SVG for any text or URL input.","exampleAgentPrompt":"Can you generate a QR code for https://myshop.example.com — I need both the SVG and a PNG I can drop into an email.","exampleUseCases":[{"title":"QR code for a product landing page","prompt":"Make a QR code for https://mystore.example.com/new-arrivals so I can print it on our flyer — I need the SVG version."},{"title":"Encoding plain text for a conference badge","prompt":"Generate a QR code that encodes the text 'Booth 42, Hall B, TechExpo 2025' so attendees can scan it for directions."},{"title":"Shareable link QR for a marketing campaign","prompt":"I need a scannable QR code image for this campaign URL: https://promo.example.com/summer-sale — give me the PNG data URI so I can embed it on a webpage."}],"resultDescription":"Returns a JSON object containing: an SVG string of the QR code, a PNG as a base64-encoded data URI, the encoded data string, the QR version number, and the error correction level (e.g. 'M').","failureModes":["Input text exceeds 1500 characters — QR code cannot encode oversized data","Malformed or empty input returns an error field in the response","Service unavailable due to cold-start on Render free tier, causing slow or failed responses","Payment failure (402) if the x402 micropayment is not completed before the request"],"whenToPreferThis":"Choose this endpoint when you need both SVG and PNG formats of a QR code in a single call, especially for web embedding (data URI) or print (SVG). It is a simple, low-cost ($0.001 USDC) pay-per-call option with no API key required, ideal for agents that need on-demand QR generation without managing credentials or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:42.755Z","isFirstParty":false,"canonicalSlug":"foundry-qr-code-generator-54a74490"}