{"uid":"cap_-o4eO05GaB7dJKWKo-QZ6","slug":"qr-code-generator-1a2e503a","name":"QR Code Generator","description":"50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.","url":"https://skinwinking.com/api/v1/util/qr-code?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"ecc":{"type":"string","default":"M","description":"Error correction L, M, Q or H"},"text":{"type":"string","description":"Content to encode (max 2000 characters)"},"cellSize":{"type":"integer","default":6,"maximum":20,"minimum":1}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"svg":"<svg ...>","image":"data:image/gif;base64,..."}},"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_7_csguz6SX97z-mKJfFbf","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 (SVG and base64 GIF) from a text string with configurable error correction and cell size","exampleAgentPrompt":"Generate a QR code for the text 'https://myshop.com/checkout' using high error correction (H) and a cell size of 8.","exampleUseCases":[{"title":"QR code for event check-in","prompt":"Make a QR code for the URL 'https://events.mycompany.com/checkin/2024' with medium error correction and a cell size of 6 — I need it as an SVG to embed in our event flyer."},{"title":"Encode Wi-Fi credentials as QR","prompt":"Create a QR code that encodes 'WIFI:S:GuestNetwork;T:WPA;P:welcome123;;' so guests can scan it to connect — use high error correction (H) and cell size 10."},{"title":"QR code for crypto wallet address","prompt":"Generate a QR code from the Bitcoin address 'bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh' with error correction level Q and cell size 7, so I can print it on a tip card."}],"resultDescription":"Returns a JSON object containing two representations of the QR code: an 'svg' field with an inline SVG string ready for web embedding, and an 'image' field with a base64-encoded GIF data URI suitable for use in HTML img tags or download.","failureModes":["Text exceeds 2000 characters — request rejected","Invalid error correction level (not L, M, Q, or H) — bad request error","Cell size outside 1–20 range — validation error","Missing required 'text' query parameter — error response","Payment not fulfilled via x402 — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a quick, server-side QR code generation with dual output formats (SVG + GIF) in a single call, especially within an x402 micropayment workflow. It is ideal when you want a pay-per-use model at $0.001 per call without maintaining API keys or a subscription. Prefer it when you need both a scalable vector format (SVG) and a raster format (GIF) simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:35:43.051Z","isFirstParty":false,"canonicalSlug":"qr-code-generator-1a2e503a"}