QR Code Generator API — Hosted PNG and SVG, URL/WiFi/vCard
Pricing
$20.00 / 1,000 qr codes
QR Code Generator API — Hosted PNG and SVG, URL/WiFi/vCard
Generate QR codes via API. Input: content (URL, text, WiFi, vCard and more) plus optional size, margin, colors, and error-correction level. Output: hosted PNG and SVG image URLs ready to embed or download. $0.02 per QR code generated.
Pricing
$20.00 / 1,000 qr codes
Rating
0.0
(0)
Developer
Anthony Snider
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
QR Code Generator
Turn any URL, text, WiFi credential or vCard into a crisp, hosted QR code — PNG and SVG, in one call.
Live on the Apify Store — run it instantly or call it as an agent tool via Apify MCP.
What you get
- Two formats per code — a raster PNG (for slides, prints, posts) and a scalable SVG (for design tools, web, large-format).
- Hosted URLs — both files are stored in the run's key-value store and returned as public links, ready to embed or download.
- Fully styleable — set size, margin/quiet-zone, dark + light colors (transparent backgrounds supported), and error-correction level (L/M/Q/H).
- Single or bulk — pass one
datastring or anitemsarray (up to 50), with optional per-item overrides.
Input
{"data": "https://apify.com","size": 512,"margin": 4,"darkColor": "#000000","lightColor": "#ffffff","ecLevel": "M"}
Bulk example:
{"items": ["https://github.com",{ "data": "WIFI:T:WPA;S:MyNetwork;P:secret123;;", "ecLevel": "H", "size": 256 }]}
Output
One dataset record per QR code:
{"data": "https://apify.com","pngUrl": "https://api.apify.com/v2/key-value-stores/.../records/001-https-apify-com-abc.png","svgUrl": "https://api.apify.com/v2/key-value-stores/.../records/001-https-apify-com-abc.svg","sizePx": 512,"ecLevel": "M","margin": 4,"darkColor": "#000000","lightColor": "#ffffff"}
Pricing
Pay-per-event: $0.02 per QR code generated (PNG + SVG).
FAQ
How do I generate a QR code from a URL via API? POST { "data": "https://yoursite.com" } to the run-sync endpoint — the record returns hosted pngUrl and svgUrl, ready to embed, download, or pass to a printer.
How do I make a WiFi QR code guests can scan? Use the WiFi payload format as data: WIFI:T:WPA;S:NetworkName;P:password;; — phones join the network on scan. A vCard string works the same way for contact cards.
PNG or SVG — which should I use? Both come back per code: PNG for slides, social posts, and quick embeds; SVG for print and design tools, where it scales to poster size without pixelating.
What does the error-correction level do? L/M/Q/H trade capacity for damage tolerance — H survives ~30% of the code being obscured (logos, wear) but makes a denser code. M is the everyday default.
Can I generate QR codes in bulk? Yes — pass up to 50 entries in items, plain strings or per-item objects with overrides (size, colors, EC level). One record and one $0.02 charge per code.
For AI agents
This Actor is built to be called by software, not just by people.
- Mount it directly as an MCP tool — no Store search, no ranking, just this one tool:
https://mcp.apify.com/?actors=eliai/qr-code-generator - Or call it over HTTP and get the results in the same request:
POST https://api.apify.com/v2/acts/eliai~qr-code-generator/run-sync-get-dataset-items - Pay with x402, without an Apify account. This Actor is whitelisted for agentic payments, so an agent holding USDC on Base can buy a prepaid token and spend it here. The minimum purchase is $1, the token balance is an absolute spending cap, and it expires 14 days after purchase.
- Costs are predictable before you call. Pricing is pay-per-event (see Pricing above), so an agent can budget a run in advance instead of discovering the bill afterwards.
- Send only the field you mean. If you pass the bulk field, it is used on its own; the single-value field is a fallback, never merged into your request. You are charged for the items you sent and nothing else.