Barcode & QR Code Scanner
Click or drag image/PDF file here
Supports PNG, JPG, WebP, GIF, BMP, PDF
Supported barcode types: QR Code, Code 128, Code 39, EAN-13, UPC-A, PDF417, Data Matrix, and more
Scan Results
API Reference
Use our API to extract barcodes and QR codes
Endpoint
POST https://api.leepow.com/barcodeRequest Format
Method 1: multipart/form-data
Content-Type: multipart/form-data
{
"File": <binary file data> // PNG, JPG, WebP, GIF, BMP, or PDF
}Method 2: application/json
{
"FileBase64": "Base64 encoded file content",
"BarcodeFormats": ["QR_CODE", "CODE_128"] // optional, empty = all types
}Response Format
{
"code": 0,
"data": [
{
"type": "QRCode",
"value": "https://example.com",
"page": 1,
"x": 100,
"y": 200,
"width": 150,
"height": 150
}
]
}Code Examples
curl --location 'https://api.leepow.com/barcode' \
--form 'File=@"/path/to/image.png"'