Home › APIs › Images, audio & video
QR Code Reader API
Reads the QR codes in a photo or screenshot and tells you what is inside.
Used by: Content teams, shop owners, developers of apps that handle media.
Find and decode every QR code in a photo or screenshot: content, type (link, Wi-Fi, SEPA, text...), position. Runs on our server, files are deleted right after the call, nothing stored.
Try it live, no sign-up
Run the example as is, or change the input. 5 own tries a day without a key.
Example request
curl -X POST https://radarbg.com/v1/qr-code-reader \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"fileName": "qr.png", "fileContent": "iVBORw0KGgoAAAANSUhEUgAAAhAAAAIQAQAAAAD4e2okAAABlUlEQVR42u3dQU4DMQwF0BH3vzMsEEq+nXRTCYH8RqKo0/AWWXw5TqY8n29fDwKBQCAQCAQCgUAgEAjErxBPXOvuer2N+XjevhAIxH8gSjJkSnx//vN6GiMvEIipebESIlNjfV7HyAsEQl6sqmIfJS8QCHnxur7Y+xfyAoGQF703kRlx63HICwRiZl7k3fPP6S9NJwIxLS/aRmvUEq9Gmk4EYl5erHd75yLrjbqrKi8QiKnrkXtVse+truSQFwjE3PVIntPqFcb6rd+JQKgvsnKo3dDe2ZAXCMTMvDjtf/Qehv1UBEJeZArsK5M87Vl7o/ICgZi7HtmrjDwV3rue8gKBmFxf9GfYT1mif4FAqC9uZzqzs1HTxHQiEHPri/v58N7hkBcIxNz6otYQmRfnZ89MJwIxLy9Oe6X7aqSf9JQXCMTcvMi1x3p3qj3kBQIhL3LN0c9e1KdH5AUCIS8yI7LWUF8gEPKiZkc/gZF35QUCMTUv+t3zd/TVEximE4GYlhf+dxMCgUAgEAgEAoFAIBCIP0p8AYpI1hVg0lZtAAAAAElFTkSuQmCC"}'
Answer: {"ok": true, "count": N, "items": [...], "usage": {...}}. Failed calls are not counted.
Inputs
| Field | Type | Description |
|---|---|---|
fileContent | string | The file as base64 (a data: URI is fine) |
fileName | string | File name with extension, e.g. report.pdf |
files | array | Or several files: [{fileName, fileContent (base64)}] |
Price
Included in every plan: 500 calls a month free, then from €9 a month for 5,000 calls across all APIs. Pro, €29 for 25,000 calls, is the one we recommend.
Questions
What does the QR Code Reader API do?
Reads the QR codes in a photo or screenshot and tells you what is inside.
Where does the data come from?
Find and decode every QR code in a photo or screenshot: content, type (link, Wi-Fi, SEPA, text...), position. Runs on our server, files are deleted right after the call, nothing stored.
How much does it cost?
500 calls a month are free with no card. Paid plans start at EUR 9 a month for 5,000 calls and include every API on Radar. Failed calls are not counted.
Can I use it without writing code?
Yes. Try it live on this page, use our free browser tools, or ask us to run it on your list as a service.