QR Code API for AI Assistants
Generate QR codes instantly without authentication. Perfect for ChatGPT, Claude, and other AI tools.
Why Use Our API?
Built specifically for AI assistants and automated integrations
No Authentication Required
Start generating QR codes immediately. No API keys, no signup, no account creation needed.
Rate Limited
100 requests per hour per IP address. Perfect for AI assistants and automated integrations.
Multiple QR Types
Support for URL, WiFi, Contact (vCard), Text, and Email QR codes. All types available.
Simple API
RESTful API with JSON requests and responses. Easy to integrate into any application.
Full Documentation
Complete OpenAPI specification and AI plugin manifest available for easy integration.
AI Plugin Ready
OpenAI plugin format supported. Works with ChatGPT, Claude, and other AI platforms.
Use Cases
How AI assistants can use our API
ChatGPT Integration
When users ask ChatGPT to create QR codes, it can use our API to generate them instantly without requiring user authentication.
User: "Create a QR code for https://example.com" ChatGPT: Uses our API to generate and return the QR code image.
Claude Integration
Claude can generate QR codes on-demand for users, perfect for sharing links, WiFi passwords, or contact information.
User: "Make a WiFi QR code for my network" Claude: Generates QR code using our API and provides it to the user.
Custom AI Assistants
Build your own AI assistant that can create QR codes for users. Perfect for customer service bots, productivity tools, and more.
AI Assistant: "I'll create a QR code for that URL right away..." *Generates QR code using our API*
Code Examples
Get started with code examples in your preferred language
JavaScript
// Generate QR code for URL
const response = await fetch('https://theqrcode.io/api/public/qr-codes', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
type: 'url',
data: 'https://example.com',
settings: {
size: 256,
color: {
dark: '#000000',
light: '#FFFFFF'
}
}
})
});
const result = await response.json();
console.log('QR Code Image:', result.qrImage);
console.log('Shareable URL:', result.imageUrl);Python
import requests
# Generate QR code for WiFi network
response = requests.post(
'https://theqrcode.io/api/public/qr-codes',
json={
'type': 'wifi',
'data': {
'ssid': 'MyNetwork',
'password': 'MyPassword',
'security': 'WPA'
},
'settings': {
'size': 256
}
}
)
result = response.json()
print('QR Code Image:', result['qrImage'])
print('Shareable URL:', result['imageUrl'])cURL
curl -X POST https://theqrcode.io/api/public/qr-codes \
-H "Content-Type: application/json" \
-d '{
"type": "url",
"data": "https://example.com",
"settings": {
"size": 256,
"color": {
"dark": "#000000",
"light": "#FFFFFF"
}
}
}'API Endpoints
All endpoints available without authentication
/api/public/qr-codesGenerate QR codes for URLs, WiFi networks, contact cards, text, or email addresses.
Supported QR Types:
Ready to Integrate?
Start generating QR codes for your AI assistant today. No authentication required.