QR Code API + n8n

Generate QR codes in your n8n workflows using the HTTP Request node. Perfect for self-hosted automation.

HTTP Request Node Setup

Add an HTTP Request node with these settings:

{
  "method": "GET",
  "url": "https://qrcodeapi.io/api/generate",
  "queryParameters": {
    "data": "={{ $json.url }}",
    "size": "300"
  },
  "headers": {
    "Authorization": "Bearer YOUR_API_KEY"
  },
  "responseFormat": "file"
}

Complete Workflow Example

Workflow: Webhook → Generate QR → Save to Disk

1. Webhook Node (Trigger)
   - HTTP Method: POST
   - Path: /generate-qr
   
2. HTTP Request Node
   - Method: GET
   - URL: https://qrcodeapi.io/api/generate
   - Query: data={{ $json.body.url }}
   - Header: Authorization: Bearer YOUR_KEY
   - Response Format: File
   
3. Write Binary File Node
   - File Name: qr-{{ $json.body.id }}.png
   - Property Name: data

Using with Expressions

n8n expressions let you dynamically build the API URL:

// In the URL field:
https://qrcodeapi.io/api/generate?data={{ encodeURIComponent($json.productUrl) }}&size={{ $json.qrSize || 300 }}&color={{ $json.brandColor || '000000' }}

Batch Processing

Process multiple items with the SplitInBatches node:

1. Read data source (Spreadsheet, Database, etc.)
2. SplitInBatches (batch size: 10)
3. HTTP Request to QR Code API
4. Merge results

Get Your API Key

Sign up to get your API key and start building workflows.

Get Free API Key