In today's digital era, extracting information from documents is a necessity for many businesses. Whether you're verifying user identities, processing invoices, or digitizing old records, Optical Character Recognition (OCR) can be a game-changer. But what if you could combine the power of OCR with the intelligence of prompts, similar to ChatGPT? Enter Verifik's API.
Introducing Verifik's OCR Scan-Prompt API
Verifik's API is not just another OCR tool. It uses a unique combination of OCR and prompts to extract information from documents in a seamless and efficient manner. With just a simple API call, you can extract a plethora of details from a document, making data retrieval a breeze.
Endpoint: https://api.verifik.co/v2/ocr/scan-prompt
Sample Request:
{
"image": "https://cdn.verifik.co/ocr/samples/Screenshot%202023-09-07%20at%2010.07.48%20PM.png",
"documentType": "PA"
}
Sample Response:
{
"data": {
"documentType": "PA",
...
"OCRExtraction": {
"firstName": "Miguel Alexander",
...
"expirationDate": "07 JUL 2026",
"personalNo": "8-1251-1829"
},
...
},
"signature": {
"dateTime": "September 8, 2023 9:21 AM",
"message": "Certified by Verifik.co"
},
"id": "xrm1m"
}
How to Use Verifik's API
Python Example using requests
:
import requests
url = "https://api.verifik.co/v2/ocr/scan-prompt"
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
data = {
"image": "https://cdn.verifik.co/ocr/samples/Screenshot%202023-09-07%20at%2010.07.48%20PM.png",
"documentType": "PA"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
Node.js Example using axios
:
const axios = require('axios');
const url = "https://api.verifik.co/v2/ocr/scan-prompt";
const headers = {
"Authorization": "Bearer YOUR_API_KEY"
};
const data = {
image: "https://cdn.verifik.co/ocr/samples/Screenshot%202023-09-07%20at%2010.07.48%20PM.png",
documentType: "PA"
};
axios.post(url, data, { headers: headers })
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error("Error:", error);
});
Special Offer from Verifik
For those who are new to Verifik, here's a sweet deal for you! Create a brand new account and receive $10 to test the OCR capabilities with several documents. It's a fantastic opportunity to experience the power and efficiency of Verifik's API firsthand.
Conclusion
In the age of automation and digital transformation, Verifik stands out as a leading solution for document information extraction. With its unique blend of OCR and prompt intelligence, it offers businesses a streamlined approach to data retrieval.
Don't miss out on this opportunity to elevate your document processing game. Dive into the world of Verifik, and let the magic of OCR combined with prompts transform your operations.
Ready to experience the future of OCR? Sign up with Verifik today and claim your $10 bonus!
Top comments (0)