{"uid":"cap_TJCU2dyfmnJ32TgzGEh47","slug":"forgemesh-url-to-qr-code-generator-a9f33bd1","name":"ForgeMesh URL-to-QR Code Generator","description":"Turn any link or short block of text, up to 2000 characters, into a scannable QR code PNG, delivered as base64 with adjustable pixel size and built-in error correction. Built for onboarding flows, Wi-Fi credential sharing, event check-in badges, and print materials where a URL needs to become something a phone camera can read instantly.","url":"https://x402.forgemesh.io/url-to-qr-code","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"Text or URL to encode, max 2000 chars"},"size":{"type":"string","description":"PNG width in px, default 512"}}},"responseSchema":{"type":"json","example":{"file_base64":"iVBORw0KGgo...","content_type":"image/png","encoded_characters":25}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xAXpLXfdSSAe9xbjJsNtK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts any URL or short text (up to 2000 characters) into a scannable QR code PNG delivered as a base64-encoded image with configurable pixel size","exampleAgentPrompt":"Can you turn https://morningbloom.coffee/menu into a QR code PNG at 800 pixels wide so I can print it on our event badges?","exampleUseCases":null,"resultDescription":"A base64-encoded PNG image of the QR code representing the input URL or text, rendered at the specified pixel width (default 512px) with built-in error correction, ready for embedding in HTML, saving to disk, or printing.","failureModes":["Input text exceeds 2000 characters — request rejected","Invalid size value (non-numeric or negative) — may return error or fall back to default 512px","Empty data field — QR code cannot be generated","Network timeout on the x402 payment or API call — no image returned"],"whenToPreferThis":"Use this endpoint when you need a server-side, pay-per-use QR code generator that returns a base64 PNG directly — ideal for dynamic generation in onboarding flows, event badge pipelines, or print automation where you want a simple POST with text/URL in and image out, without managing a QR library dependency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:06.361Z","isFirstParty":false}