{"uid":"cap__ocVb2vWwvItvXXwYY3mr","slug":"delx-qr-code-8725430f","name":"Delx QR Code","description":"QR code generation API for agents at $0.001 USDC. Call when you need a PNG or SVG QR from text or a URL for tickets, onboarding links, or receipts—without installing a QR library. Returns a self-contained data URI plus SHA-256 receipt via x402 on Base; the encoded destination is never fetched or validated. No API key, no subscription.","url":"https://api.delx.ai/api/v1/x402/qr-code?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","maxLength":2048,"minLength":1,"description":"Text or URL to encode. Delx never fetches or validates the destination."},"text":{"type":"string","maxLength":2048,"minLength":1,"description":"Alias for data."},"border":{"type":"integer","default":4,"maximum":16,"minimum":0},"format":{"enum":["png","svg"],"type":"string","default":"png"},"box_size":{"type":"integer","default":4,"maximum":8,"minimum":1},"error_correction":{"enum":["L","M","Q","H"],"type":"string","default":"M"}}},"responseSchema":{"type":"json","example":{"bytes":438,"model":"qrcode-python","qr_id":"qr_8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f","scope":"qr_code","format":"png","schema":"delx/qr-code/v1","sha256":"8b4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f901234567890abcdef1234567890ab","modules":33,"version":2,"data_uri":"data:image/png;base64,<bounded-png>","provider":"first-party","media_type":"image/png","attribution":"QR rendered locally by Delx; the encoded destination is supplied by the caller and is not fetched or validated.","input_sha256":"a6e8f7c3d9b2a1e0f6c5d4b3a29180706050403020100ffeeddccbbaa99887766","sale_price_usdc":0.001,"error_correction":"M","gross_margin_usd":0.001,"upstream_cost_usd":0}},"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_R3ycA8NsLf6dVa1nvDVDa","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 self-contained PNG or SVG QR code from any text or URL, returned as a data URI with a SHA-256 receipt, for $0.001 USDC via x402.","exampleAgentPrompt":"Generate a QR code for https://myshop.example.com — PNG format, error correction level H, and a border of 2 so it's compact enough for a business card.","exampleUseCases":[{"title":"QR code for event check-in link","prompt":"Make a QR code for https://events.mycompany.com/checkin/2024 as an SVG with error correction set to H and a border of 4 — we're printing it on signage so it needs to be durable."},{"title":"Embed Wi-Fi credentials as QR code","prompt":"Create a PNG QR code that encodes the string WIFI:T:WPA;S:GuestNetwork;P:Welcome2024;; so guests can scan it to join our Wi-Fi — use medium error correction and keep the box size at 4."},{"title":"Shareable product page QR code","prompt":"Turn this URL into a QR code for our product flyer: https://store.example.com/products/widget-pro — PNG format, error correction M, border 3."}],"resultDescription":"A self-contained data URI (base64-encoded PNG or raw SVG) representing the QR code, along with a SHA-256 receipt confirming the generation. No external fetch is performed on the encoded content. The image can be embedded directly in HTML, documents, or printed materials.","failureModes":["Empty or missing 'data'/'text' field returns a validation error","Input exceeding 2048 characters is rejected","Invalid enum values for format or error_correction return a 422 error","box_size or border outside allowed range returns a validation error","Payment failure or insufficient USDC balance results in a 402 response"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, first-party QR code with a cryptographic SHA-256 receipt and no third-party tracking or URL fetching. Ideal for privacy-sensitive use cases, automated pipelines requiring proof of generation, or when you need a self-contained data URI (no hosted image URL). Prefer SVG format for print/scalable use and PNG for web embedding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T01:04:37.185Z","isFirstParty":false,"canonicalSlug":"delx-qr-code-8725430f"}