Production-Ready Utility APIs

Fast, reliable APIs for email validation, IP geolocation, IBAN verification, and code generation. Free to use. No authentication required.

← Back to all APIs

QR Code Generator API

POST /api/v1/generate/qr

Generate QR codes as PNG images from various data types. Supports plain text, URLs, email addresses, phone numbers, SMS, WiFi credentials, vCard contacts, geo coordinates, calendar events, and raw JSON.

Request Body

type string

One of: text, url, email, tel, sms, wifi, vcard, geo, event, json. Default: text

data string required

The content to encode. Max 2000 characters. Format depends on type.

options.size integer

Image size in pixels (128–1024). Default: 256

options.error_correction string

One of: low, medium, high, highest. Default: medium

Example Request

{ "type": "url", "data": "https://innovelabs.net", "options": { "size": 512, "error_correction": "high" } }

Response

On success: returns image/png binary data.
On error: returns JSON with {"error": "message"} and appropriate HTTP status code.

Try it out