GOAT QR API is a high-performance, lightweight QR Code generation API built with FastAPI that generates SVG-based QR codes instantly.
Designed for speed, simplicity, and scalability — deployable anywhere, usable everywhere.
Tagline:
“The Greatest Of All Time QR Generator — Fast, Clean, SVG-native.”
Base URL:
🔗 https://goat-qr-api.vercel.app
- ⚡ Ultra-fast QR generation
- 🖼️ SVG output (scalable & print-ready)
- 🔒 High error correction (ERROR_CORRECT_H)
- 🌐 CORS-enabled (open for frontend usage)
- 🧠 Memory-optimized (manual garbage collection)
- 📦 Zero database, stateless API
- 📘 Auto-generated Swagger Docs
- FastAPI – Web framework
- qrcode – QR code generation
- SVG Path Renderer – Crisp vector output
- Uvicorn – ASGI server
- Vercel – Serverless deployment
.
├── main.py
├── requirements.txt
└── README.md
git clone https://github.com/your-username/goat-qr-api.git
cd goat-qr-apipip install fastapi qrcode[pil] uvicornuvicorn main:app --reloadServer will start at:
http://127.0.0.1:8000
Interactive Swagger UI:
/docs
Example:
https://goat-qr-api.vercel.app/docs
GET / Redirects to Swagger documentation.
GET /health
Response
{
"status": "up"
}GET /qr
| Parameter | Type | Default | Description |
|---|---|---|---|
url |
string | required | Data to encode in QR |
version |
int | 2 | QR version (1–40) |
box_size |
int | 10 | Size of each QR box |
border |
int | 4 | Border thickness |
curl "https://goat-qr-api.vercel.app/qr?url=https://example.com"- Content-Type:
image/svg+xml - Body: SVG QR code
{
"data": null,
"message": "Error",
"error_type": "No Params Provided"
}{
"data": null,
"message": "Error",
"error_type": "<exception message>"
}- All origins allowed (
*) - Only
GETmethods enabled - Safe for frontend integrations
This project uses a custom proprietary license designed to:
- Allow free usage
- Enforce mandatory author credit
- Ensure revenue sharing
- Enable legal enforcement in India
📄 See LICENSE for full terms
Pinaka Creator of GOAT QR API
- FastAPI Community
- Python QRCode Maintainers
- Open-source contributors
“Build fast. Share freely. Credit honestly.” 🐐