← Back to API Portal
API Frequently Asked Questions
Getting Started
Do I need an API key?
No. The API is open and requires no authentication or registration. Simply make requests to the endpoints.
Is there a rate limit?
The free tier allows 100 requests per hour per IP address. This is sufficient for most applications. Contact us if you need higher limits.
How do I start using the API?
Make a simple HTTP request:
curl "https://a.strt.it/qr/code/image?data=Hello"
This returns a PNG image of a QR code. No setup, no configuration, no complexity.
QR Code Generation
What formats does the API support?
Two formats:
- PNG image (GET /qr/code/image) - Direct image for embedding in HTML or downloading
- Base64 data URL (POST /qr/code) - JSON response for processing or storing
How do I specify the QR code type?
You don't. The API automatically detects the type based on the data format:
- https:// or http:// = URL
- BEGIN:VCARD = Contact card
- WIFI:T: = WiFi credentials
- mailto: = Email address
- tel: = Phone number
- Everything else = Plain text
Can I customize QR code appearance?
Yes. Add color parameters:
POST /qr/code
{
"data": "https://example.com",
"colors": {
"fg": "#2563eb",
"bg": "#f8fafc"
}
}
What is the maximum data size?
2048 characters. This is sufficient for most use cases including URLs, contact information, and WiFi credentials.
Business Card Generation
How do I generate a business card via API?
Use GET with query parameters:
GET /qr/bcard/image?name=John%[email protected]
Or POST with JSON:
POST /qr/bcard
{
"contact": {
"name": "John Doe",
"email": "[email protected]"
}
}
What information goes in the QR code on business cards?
The QR code contains a vCard with all provided information: name, company, position, phone, email, and website. When scanned, phones offer to save the complete contact.
What size are the business cards?
1800x1050 pixels, which is print-ready quality at standard business card dimensions (3.5 x 2 inches). The file can be sent directly to printers.
Technical Details
Can I call this from client-side JavaScript?
Yes. CORS is enabled. You can make requests directly from web browsers:
const qrUrl = `https://a.strt.it/qr/code/image?data=${data}`;
document.getElementById('qr').src = qrUrl;
What is the response time?
QR code generation: 50-100 milliseconds
Business card generation: 1-2 seconds (includes text rendering with Puppeteer)
Can AI agents like ChatGPT use this API?
Yes. The API is specifically designed for AI agents. No authentication means ChatGPT, Claude, and other AI assistants can generate QR codes and business cards directly in conversations.
Is there API documentation?
Reliability and Support
What is the uptime?
The API maintains 99.9% uptime. Services are monitored continuously and hosted on Railway with auto-scaling.
Can I use this in production?
Yes. The API is production-ready and used by applications and AI agents. For commercial use requiring higher rate limits, contact
[email protected].
How do I report issues?
← Back to API Portal