{"uid":"cap_PaiOBQb7xyp-xPaY1qaej","slug":"codepulse-api-qr-code-generator-fedf821d","name":"CodePulse API – QR Code Generator","description":"Generates a QR code image buffer from a text string.","url":"https://codepulse-api.hahavoid0.workers.dev/media/qr-generate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text or URL payload to encode in the QR code"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"qr_url":"https://api.qrserver.com/..."},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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_zderfrogd3GduKl4ifV_a","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a QR code image URL from any text or URL payload","exampleAgentPrompt":"Can you generate a QR code for https://myshop.example.com/sale so I can put it on my flyers?","exampleUseCases":[{"title":"Event landing page QR code","prompt":"Make me a QR code that links to https://eventbrite.com/e/my-conference-2026 so I can print it on the event badges."},{"title":"WiFi credentials for guests","prompt":"Generate a QR code that encodes the text 'WIFI:T:WPA;S:GuestNetwork;P:Welcome2024;;' so visitors can scan to connect to our office WiFi."},{"title":"Product packaging QR link","prompt":"I need a QR code pointing to https://brand.com/products/widget-pro/manual for the packaging of our new product — can you create one?"}],"resultDescription":"Returns a JSON object containing a `qr_url` field with a publicly accessible URL to the generated QR code image, along with a confidence field and any warnings.","failureModes":["Empty or missing `text` field causes validation error","Malformed JSON body returns HTTP 400","Network latency to upstream qrserver.com may cause occasional timeouts","Payment failure via x402/USDC results in 402 response and no QR code generated","Very long text payloads may exceed QR code data capacity"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-use QR code generation without managing API keys or subscriptions. It is ideal for AI agents that need to generate QR codes on-demand for arbitrary text or URLs, especially in automated workflows where cost predictability ($0.01 per call) matters and no persistent account setup is desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:45:23.810Z","isFirstParty":false}