Free QR Code API

Integrate QR Code Generator API into your project in 5 minutes literally.

* No credit card required
PHP JavaScript Python cURL Java
				<?php
$client = new Client();
$headers = [
  'Content-Type' => 'application/json',
  'Authorization' => 'Bearer EIZyhtgdUP8jgiH0IXuZk1N9oLSycg75VltLP3z1xIShXBDLZ6Guso3OtK87',
  'Cookie' => 'PHPSESSID=6qhu9lkhom8v1vigk12dtnimql'
];
$body = '{
  "data": "https://www.dearqr.com",
  "size": "16",
  "format": "BASE64",
  "logo": "https://www.dearqr.com/assets/qr-images/yt_icon_rgb.png"
}';
$request = new Request('POST', 'https://api.dearqr.com/v1/create', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();

			  
var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Authorization", "Bearer EIZyhtgdUP8jgiH0IXuZk1N9oLSycg75VltLP3z1xIShXBDLZ6Guso3OtK87");
myHeaders.append("Cookie", "PHPSESSID=6qhu9lkhom8v1vigk12dtnimql");

var raw = JSON.stringify({
  "data": "https://www.dearqr.com",
  "size": "16",
  "format": "BASE64",
  "logo": "https://www.dearqr.com/assets/qr-images/yt_icon_rgb.png"
});

var requestOptions = {
  method: 'POST',
  headers: myHeaders,
  body: raw,
  redirect: 'follow'
};

fetch("https://api.dearqr.com/v1/create", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
import http.client
import json

conn = http.client.HTTPSConnection("api.dearqr.com")
payload = json.dumps({
  "data": "https://www.dearqr.com",
  "size": "16",
  "format": "BASE64",
  "logo": "https://www.dearqr.com/assets/qr-images/yt_icon_rgb.png"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': 'Bearer EIZyhtgdUP8jgiH0IXuZk1N9oLSycg75VltLP3z1xIShXBDLZ6Guso3OtK87',
  'Cookie': 'PHPSESSID=6qhu9lkhom8v1vigk12dtnimql'
}
conn.request("POST", "/v1/create", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
curl --location 'https://api.dearqr.com/v1/create' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer EIZyhtgdUP8jgiH0IXuZk1N9oLSycg75VltLP3z1xIShXBDLZ6Guso3OtK87' \
--header 'Cookie: PHPSESSID=6qhu9lkhom8v1vigk12dtnimql' \
--data '{
    "data": "https://www.dearqr.com",
    "size": "16",
    "format": "BASE64",
    "logo": "https://www.dearqr.com/assets/qr-images/yt_icon_rgb.png"
}'
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"data\": \"https://www.dearqr.com\",\n    \"size\": \"16\",\n    \"format\": \"BASE64\",\n    \"logo\": \"https://www.dearqr.com/assets/qr-images/yt_icon_rgb.png\"\n}");
Request request = new Request.Builder()
  .url("https://api.dearqr.com/v1/create")
  .method("POST", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("Authorization", "Bearer EIZyhtgdUP8jgiH0IXuZk1N9oLSycg75VltLP3z1xIShXBDLZ6Guso3OtK87")
  .addHeader("Cookie", "PHPSESSID=6qhu9lkhom8v1vigk12dtnimql")
  .build();
Response response = client.newCall(request).execute();
Features

The Features

Image

Create beautiful QR codes

Customize the colour and design of the QR codes in two easy ways.

Via Direct Parameters

You can pass the customization parameters via GET/POST request.

Via Templates

You can design, save the template and pass the template id to generate QR codes.

Image

Store Logs

Your api logs are being stored by us and you can find them in the dashboard. Free users can view the recent 1000 entries, while the premium users can see upto 10,000 latest log entries.

Image Format

The output QR code will be in SVG/PNG in base64 format.

Add Custom logo

Both free and premium users can create QR codes with logo.

Features

Feature Highlights

Save in SVG / PNG

DearQR API serves you QR codes in both SVG & PNG format

Supports all languages

Can be integrated in any code base. No language barrier.

Complete Logs

Our system stores complete logs for you to review.

Logo

Add logo of your choice for customisation

Pricing

Plans and Pricing

* Cancel anytime. No questions asked.

Free

$0 /month

* Unlimited usage capped at 2 million requests

  • Unlimited QR Codes
  • Add logo to QR codes
  • Colorful QR Codes
  • Dynamic QR Codes
  • Mail Support 24/7

Buy Now

Professional

$4.99 /month

* Billed monthly

  • Unlimited QR Codes
  • Add logo to QR codes
  • Colorful QR Codes
  • Dynamic QR Codes
  • Mail Support 24/7

Buy Now

Design & Customize your QR codes.

Create colourful QR codes for your applications by integrating DearQR API.

Get started for free