PresentID Document scanner API localizes document images with various distortion types from a single input image.
**Input:**
- Image file
- Image URL link
- Base64 image
**Output:**
- Base64 image
- Status message
**Features:**
- Less than 1.5 seconds on CPU core i7.
- Perfect detection on a salient document in the image.
- Support IOS, Android, Windows, and Mac devices.
- Easy integration with your app.
**Use Cases:**
- To create PDF files and notes and books.
- Ease of separating text in images.
**Rules & Restrictions:**
- Send data via Base64 or an image URL or an image file.
- Image size should not exceed 8 MB.
- Also, the images should not be larger than 5000 pixels and smaller than 50 pixels.
{"statusCode":200,"statusMessage":"success","hasError":false,"_note":"Response truncated for documentation purposes"}
curl --location 'https://zylalabs.com/api/3977/document+scanner+api/4732/document+scanner' \
--header 'Content-Type: application/json' \
--form 'image=@"FILE_PATH"'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Document Scanner is a robust API provided by PresentID that specializes in scanning and extracting data from various types of documents. It leverages advanced optical character recognition technology to interpret and digitize textual content from documents such as passports, visas, and ID cards.
Our Document Scanner API offers the following features: Fast and accurate data extraction: Utilizes cutting-edge technology to quickly scan and extract data from documents. Support for multiple document types: Capable of processing passports, visas, ID cards, and more. Seamless integration: Easily integrates with existing systems to enhance document verification processes.
The API primarily employs the POST method, enabling users to upload images of documents. It then processes these images and returns the extracted data in a structured format.
Yes, the usage limits depend on the subscription plan you choose. For detailed information on the limits associated with each plan, please visit our pricing page or consult your user dashboard.
Some of the common errors you may encounter include: 400 Bad Request: This error indicates a problem with the input data, such as corrupted or unclear images. 401 Unauthorized: This error occurs if your API key is incorrect or missing.
The Document Scanner API returns a Base64 encoded image of the localized document along with a status message indicating the success or failure of the operation.
The key fields in the response data include `statusCode`, `statusMessage`, `hasError`, and `data`, where `data` contains the `base64Image` of the processed document.
The returned data is structured in JSON format. It includes a status code (e.g., 200 for success), a status message, an error flag, and a data object containing the Base64 image string.
The Document Scanner endpoint accepts parameters such as an image file, an image URL, or a Base64 encoded image. Ensure the image size does not exceed 8 MB and dimensions are within 50 to 5000 pixels.
The response data is organized in a JSON object. It includes a top-level status code and message, followed by a nested data object that contains the Base64 image string.
Typical use cases include creating PDF files from scanned documents, extracting text for note-taking, and digitizing books or other printed materials for easier access and editing.
Data accuracy is maintained through advanced image processing algorithms that correct for distortions and enhance document features, ensuring reliable localization and extraction of text.
Users can decode the Base64 image string to display the localized document in applications, or save it as an image file for further processing, such as creating PDFs or integrating into document management systems.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
737ms
Service Level:
100%
Response Time:
1,344ms
Service Level:
100%
Response Time:
1,586ms
Service Level:
100%
Response Time:
2,524ms
Service Level:
100%
Response Time:
1,945ms
Service Level:
100%
Response Time:
3,168ms
Service Level:
100%
Response Time:
1,812ms
Service Level:
100%
Response Time:
1,245ms
Service Level:
100%
Response Time:
857ms
Service Level:
100%
Response Time:
1,429ms
Service Level:
100%
Response Time:
2,610ms
Service Level:
100%
Response Time:
1,104ms
Service Level:
100%
Response Time:
820ms
Service Level:
100%
Response Time:
949ms
Service Level:
100%
Response Time:
855ms
Service Level:
100%
Response Time:
1,428ms
Service Level:
100%
Response Time:
4,650ms
Service Level:
100%
Response Time:
6,450ms
Service Level:
100%
Response Time:
1,494ms
Service Level:
100%
Response Time:
814ms