KhaleejiAPIKhaleejiAPI
PricingDocumentationAbout
Sign InGet Started
Back to all APIs

QR Code Generator

Generate QR codes with custom colors, logos, and formats

Category: UtilitiesEndpoint: /v1/qr/generate

Avg Response

<50ms

Uptime SLA

99.99%

Free Tier

1,000/mo

Quick Start

JavaScript / TypeScript

javascript
import { KhaleejiAPI } from '@khaleejiapi/sdk';
const client = new KhaleejiAPI('your_api_key');
// Generate a PNG QR code
const qr = await client.utility.generateQR({
data: 'https://khaleejiapi.dev',
format: 'png',
size: 512,
dark: '#1a1a2e',
});
// qr is a Buffer/Blob of the PNG image

Python

python
from khaleejiapi import KhaleejiAPI
client = KhaleejiAPI('your_api_key')
qr = client.utility.generate_qr(
data="https://khaleejiapi.dev",
format="png",
size=512,
dark="#1a1a2e"
)
with open("qr.png", "wb") as f:
f.write(qr)

cURL

curl
curl -X GET "https://khaleejiapi.dev/api/v1/qr/generate?data=https://khaleejiapi.dev&format=png&size=512" \
-H "x-api-key: your_api_key" \
-o qr.png
Get Your API KeyView Documentation

Related APIs

Translation API

AI-powered translation for 22+ languages with transliteration and formality control

Weather API

Real-time weather and 7-day forecasts for MENA cities via Open-Meteo

Hijri Calendar

Convert between Gregorian and Hijri calendars with full date details

Fraud DetectionTranslation API
KhaleejiAPIKhaleejiAPI

Fast, affordable APIs built in Dubai for developers across the Middle East.

All systems operational

APIs

  • Email Validation
  • Phone Validation
  • VAT Validation
  • IP Geolocation
  • Exchange Rates
  • Image Processing
  • View all →

Resources

  • Documentation
  • API Reference
  • SDKs
  • Status
  • Changelog

Company

  • About
  • Blog
  • Careers
  • Contact

Legal

  • Privacy
  • Terms
  • DPA

© 2026 KhaleejiAPI. All rights reserved.

Made with love in Dubai by Berd-i & Sons