{"uid":"cap_FbYY_wnBf3zDsuiq4Sxac","slug":"coinslot-qr-code-generator-63af0e90","name":"Coinslot QR Code Generator","description":"Generate a QR code as standalone SVG. POST { text, ecLevel?: 'L'|'M'|'Q'|'H', margin?: 0-8, dark?, light? } (text max 2KB).","url":"https://coinslot.dev/api/qr","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"dark":{"type":"string","description":"hex color"},"text":{"type":"string","maxLength":2048},"light":{"type":"string","description":"hex color"},"margin":{"type":"integer","default":4,"maximum":8,"minimum":0},"ecLevel":{"enum":["L","M","Q","H"],"type":"string","default":"M"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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_wkt4x3uKsPZe-M03AyCzC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 a standalone SVG from input text, with configurable error correction level, margin, and dark/light colors.","exampleAgentPrompt":"Generate a QR code SVG for https://myshop.example.com — use high error correction level H, a margin of 2, dark color #1a1a2e, and light color #ffffff.","exampleUseCases":[{"title":"Branded QR code for business card","prompt":"Make a QR code SVG for my website https://morningbloom.coffee with a deep green dark color #1b4332 and a cream background #f8f4e3, medium error correction, and a margin of 3 — I want to put it on my business cards."},{"title":"WiFi password QR for office signage","prompt":"Generate a QR code for the text WIFI:T:WPA;S:OfficeGuest;P:Welcome2024;; with error correction level Q and a margin of 4 so guests can scan it easily off a printed sign."},{"title":"QR code for event check-in link","prompt":"Create a high-error-correction QR code SVG — level H — for the URL https://events.example.com/checkin/2024-conf with a black and white color scheme and no margin padding."}],"resultDescription":"A standalone SVG document containing the rendered QR code. The SVG is self-contained and can be embedded in HTML, saved as a file, or printed. The QR code encodes the provided text with the specified error correction level, margin, and custom foreground/background colors.","failureModes":["Text exceeds 2048 characters — request rejected","Invalid hex color format for dark or light parameters — error returned","ecLevel value not in ['L','M','Q','H'] — validation error","margin value outside 0-8 range — validation error","Empty or missing text field — error returned","Payment not provided or insufficient — 402 response"],"whenToPreferThis":"Choose this endpoint when you need a server-side, payment-gated QR code generated as a clean standalone SVG with full control over error correction level, colors, and margin — ideal when you want a vector format suitable for print or embedding without any client-side library dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:36:00.272Z","isFirstParty":false}