With the QRcode reader you can verify if the link is not dangerous for you or users
Read a QR Code
GEThttps://api.night-api.com/images/qrcode/reader
Headers
Name
Type
Description
authorization*
String
Your API key
Request Body
Name
Type
Description
image*
Buffer or URL
The image in Buffer or URL.
{
"status": 200,
"content": {
"type": "link",
"target": "https://night-api.com",
"status": "Safe" // Status of danger on website by google AI
}
}
{
"status": 400,
"content": "Invalid Key"
}
{
"status": 200,
"content": {
"type": "geo", // Type of the QRcode
"data": { // The QRcode but with tried data by the API (change beetween different QRcode data)
"latitude": "48.85837",
"longitude": "2.29448"
},
"target": "geo:48.85837,2.29448" // The data of the QRcode
}
}