QR codes for developers and AI agents
Generate QR codes from any language, decode them, verify them, and wire them into agents.
- A free QR code API with no keyUseQR's REST API needs no signup, no API key and no SDK. GET /api/v1/qr?data=hello returns a PNG. The shortest form is /q/hello.png, which drops straight…
- Agent-safe API designLessons from building a keyless API that AI agents use unattended — forgiving aliases, errors that teach, determinism, and why auth is the first thing to question.
- Building a decode-verify loopThe engineering pattern that proves a QR code scans: render, rasterise, decode with a real decoder, compare. How to build it, and the report fields that matter.
- Bulk QR generation at scaleGenerating hundreds to millions of QR codes: the batch API and its limits, local generation with worker pools, determinism as a caching strategy, and manifests.
- Caching and CDN strategy for QR imagesQR codes are pure functions of their parameters, so cache them forever: immutable Cache-Control, hash-keyed storage, CDN edge caching, and why cache-busting is wrong.
- Decode a QR code programmaticallyRead QR codes from images in code — POST bytes or a URL to the keyless decode API, or decode locally with zxing-cpp, zbar or pyzbar. Snippets included.
- Free QR code APIs comparedAn honest comparison of the free QR code APIs — UseQR, goqr.me's qrserver, QuickChart and the deprecated Google Charts API — on auth, formats, decode and limits.
- Generate a QR code in C#C# QR generation with QRCoder — PngByteQRCode for cross-platform PNG, an ASP.NET minimal API endpoint — plus HttpClient against the keyless API.
- Generate a QR code in Excel VBAVBA QR patterns: Shapes.AddPicture straight from the keyless API URL, a loop over a range of cells, URLDownloadToFile for saved images.
- Generate a QR code in GoGo QR generation with skip2/go-qrcode — a one-line WriteFile, PNG bytes for HTTP handlers — plus the keyless API via net/http and a verify step.
- Generate a QR code in Google Apps ScriptApps Script QR patterns: UrlFetchApp against the keyless API, saving to Drive, filling a Sheets column with codes, and trigger-driven regeneration.
- Generate a QR code in JavaJava QR generation with ZXing — MultiFormatWriter, the EncodeHintType map, MatrixToImageWriter — and the keyless API via java.net.http.HttpClient.
- Generate a QR code in JavaScript and ReactFor a QR code in a browser or React app, either point an <img> at the keyless API — one line, no dependency — or use a client-side library such as qrcode…
- Generate a QR code in KotlinKotlin and Android QR generation: ZXing's BarcodeEncoder to a Bitmap, display in Jetpack Compose, and the keyless API fetched with coroutines.
- Generate a QR code in Next.jsNext.js QR patterns: next/image against the keyless API, a route-handler proxy with edge caching, build-time generation and QR codes in OG images.
- Generate a QR code in Node.jsServer-side QR generation with the qrcode npm package — files, data URLs, SVG strings, streaming into HTTP responses — and when to proxy the keyless API.
- Generate a QR code in PHPPHP QR generation with endroid/qr-code via Composer, or two lines of file_get_contents against the keyless API. Includes a WordPress note and verify step.
- Generate a QR code in PythonTwo options: call the keyless HTTP API with requests, which needs no dependencies beyond requests and no key, or use the qrcode library locally when you…
- Generate a QR code in ReactReact QR component patterns: an <img> against the keyless API, qrcode.react for client-side rendering, SSR notes and accessible alt text.
- Generate a QR code in RubyRuby QR generation with rqrcode — SVG and PNG output, a Rails helper pattern — plus the keyless API via Net::HTTP with proper encoding.
- Generate a QR code in RustRust QR generation with the qrcode crate — PNG via the image crate, SVG and terminal renderers built in — plus the keyless API via reqwest.
- Generate a QR code in SvelteSvelte 5 QR patterns: a $derived API URL bound to an img, the qrcode library for on-device rendering, and verification for styled codes.
- Generate a QR code in SwiftiOS and macOS ship a QR generator: CoreImage's CIQRCodeGenerator. Correction levels, blur-free scaling with CGAffineTransform, and SwiftUI display.
- Generate a QR code in VueVue 3 QR patterns: a computed API URL bound to an <img>, the qrcode library for client-side rendering, and a verify step for styled codes.
- Generate a QR code with curlcurl -o qr.png \"https://useqr.app/q/hello.png\" is the whole thing. No key, no auth header, no SDK. Add query parameters for size, format and…
- OpenAPI for QR generationUseQR publishes an OpenAPI 3.1 spec at /api/openapi.json with no security schemes — how agents, GPT Actions and code generators consume it, and what typed clients look like.
- QR code generation performanceWhat generating a QR code actually costs: encoding is microseconds, rendering dominates, and PNG rasterisation is the expensive step. Where optimisation pays.
- QR code libraries comparedA map of the QR library ecosystem — generation and decoding, by language, with licences and honest maintenance status. Pick by use case, not by stars.
- QR codes from an AI agent: the UseQR MCP serverUseQR runs a keyless MCP server over Streamable HTTP at /api/mcp. One command adds it to Claude; a few lines of JSON add it to Cursor or Copilot. Agents…
- QR codes in a shell scriptGenerate QR codes from bash with curl against the keyless API, or fully offline with qrencode — including ASCII codes printed straight into the terminal.
- QR codes in ChatGPTHow to get QR codes out of ChatGPT — inline markdown images against a keyless API, and a custom GPT Action built from an OpenAPI spec with authentication set to None.
- QR codes in CI and automated testingHow to test QR codes in a pipeline: decode assertions, snapshot the matrix rather than the PNG, verify endpoints as gates, and E2E download-and-decode round trips.
- QR codes in ClaudeAdd the keyless UseQR MCP server to Claude in one command — generate, decode and verify QR codes in chat, embed them in artifacts, and script them in Claude Code.
- QR codes in Cursor and CopilotGive your IDE agent QR abilities — MCP config for Cursor and VS Code Copilot, plus the keyless-API-in-a-snippet pattern for fixtures, READMEs and local tooling.
- QR codes in LaTeXThe qrcode package draws vector QR codes natively in LaTeX — \qrcode{...} with height and level options — plus the includegraphics route and beamer sizing.
- QR codes in markdownOne line of markdown puts a QR code in any README or docs page via useqr.app/q/hello.png. Encoding rules, sizing, and when to commit the image.
- QR codes in n8n, Zapier and MakeGenerate QR codes in automation workflows with one HTTP request node against a keyless API — no connector, no credential setup, no per-call cost. Recipes included.
- QR codes in serverless functionsGenerating QR codes in Lambda, Cloudflare Workers and Vercel functions — bundle size, native dependency pitfalls, streaming, and when to skip the function entirely.
- Read QR codes from a webcam in the browserScan QR codes live in the browser with the BarcodeDetector API, a zxing-wasm fallback for Firefox and Safari, and getUserMedia camera constraints that work.
- Self-hosting a QR generatorWhy and how to run your own QR code generator — what self-hosting buys you, what it costs, and how to deploy UseQR (MIT) from a clone to a running instance.
- UseQR MCP server — tool referenceEvery tool the UseQR MCP server exposes — qr_generate, qr_generate_typed, qr_decode, qr_verify, qr_batch and qr_size_recommend — with arguments and example calls.
- Using QR codes from an AI agentThe integration ladder for agents that need QR codes — from a bare markdown image URL through the keyless API to MCP tools — and the API design that lets agents self-correct.
- Why you should verify that a QR code decodesRendering a QR code proves nothing about whether it scans. Styling, colour, logos and print all consume error-correction budget invisibly. The only…
- ZXing vs quirc vs zbarThe three open-source QR decoding engines compared — heritage, licences, platform reach and maintenance reality. Which decoder to build on in 2026.