Developer API

Integrate powerful QR code generation into your applications with our REST API.

Easy to Integrate

Simple REST API with JSON requests and responses

Fast & Reliable

Lightning-fast QR generation with 99.9% uptime

Well Documented

Complete documentation with code examples

Code Examples

Generate URL QR

const response = await fetch('https://api.myqros.com/generate', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    type: 'url',
    data: { url: 'https://example.com' },
    format: 'png'
  })
});
const qrImage = await response.blob();

Generate WiFi QR

const qr = await myqros.generate({
  type: 'wifi',
  data: {
    ssid: 'MyNetwork',
    password: 'secure123',
    security: 'WPA'
  },
  customization: {
    foregroundColor: '#000000',
    backgroundColor: '#ffffff'
  }
});

Decode QR Code

const formData = new FormData();
formData.append('image', file);

const decoded = await fetch('https://api.myqros.com/decode', {
  method: 'POST',
  body: formData
}).then(r => r.json());

console.log(decoded.type, decoded.data);

API Endpoints

POST/api/generate

Generate QR codes with customization

POST/api/decode

Decode and extract data from QR images

GET/api/quality

Analyze QR code quality metrics

API Status: Alpha

The MyQROS API is currently in alpha. Documentation and API keys will be available soon.