MRZ Scanner API

The MRZ Scanner API enables efficient scanning of Machine Readable Zones (MRZ) from various travel documents such as passports, visas, and ID cards. With the PresentID MRZ Detection API, developers can easily locate and extract MRZ information from a single input image, streamlining document processing and verification workflows.

About the API:

The MRZ Scanner API, powered by PresentID, offers a powerful solution for scanning Machine Readable Zones (MRZ) from various travel documents such as passports, visas, and ID cards. With the ability to localize and recognize the MRZ or Machine Readable Travel Document (MRTD) from a single input image, this API simplifies the process of extracting crucial information from travel documents.

Gone are the days of manually typing in lengthy passport or ID card details. The MRZ Scanner API automates the data extraction process, saving valuable time and minimizing errors. By providing an input image of the travel document, developers can seamlessly integrate this API into their applications, enabling efficient and accurate MRZ scanning.

The core functionality of the MRZ Scanner API lies in its ability to localize and identify the MRZ within the document image. The Machine Readable Zone, located at the bottom of the document, contains important information such as the holder's name, passport or ID card number, nationality, and expiration date. By precisely detecting and recognizing this zone, the API can extract the relevant data, making it easily accessible for further processing and verification.

The MRZ Scanner API supports a wide range of document types, including passports, visas, and ID cards from various countries. It is designed to handle different MRZ formats and variations, ensuring compatibility with diverse travel documents across the globe. Whether it's a standard 2-line MRZ or a more complex 3-line MRZ, this API is equipped to accurately capture the required information.

The integration process is straightforward, thanks to the well-documented API endpoints and developer-friendly interface. With a simple API call, developers can send the document image and receive structured data containing the extracted MRZ information. This enables seamless integration into existing systems, such as identity verification platforms, e-gate solutions, or travel document management systems.

The MRZ Scanner API offers a wide range of use cases across industries. It can be utilized in border control and immigration systems for efficient traveler identification and verification. Additionally, it can assist in identity verification processes for customer onboarding in financial institutions, e-commerce platforms, or sharing economy applications. It can also enhance document management systems, facilitating streamlined data entry and reducing manual effort.

In conclusion, the MRZ Scanner API, powered by PresentID, provides a robust and efficient solution for scanning Machine Readable Zones from passports, visas, and ID cards. With its accurate localization and recognition capabilities, seamless integration, and compatibility with various document types, this API simplifies the extraction of MRZ information, enabling faster and more reliable document processing and identity verification workflows.

 

What this API receives and what your API provides (input/output)?

Pass the passport photo and receive the data extracted from the MRZ. 

 

What are the most common uses cases of this API?

  1. Border Control and Immigration: The MRZ Scanner API is invaluable for border control and immigration systems. It enables quick and accurate scanning of MRZ information from passports, visas, and ID cards, facilitating efficient traveler identification and verification processes at airports, land borders, and other entry points.

  2. Identity Verification: The API can be integrated into identity verification platforms, enabling seamless extraction of MRZ data for customer onboarding in financial institutions, fintech companies, sharing economy platforms, and other industries. It streamlines the verification process, reducing manual data entry and improving the overall user experience.

  3. Document Management Systems: Incorporating the MRZ Scanner API into document management systems simplifies data entry and improves accuracy. By automatically extracting MRZ information from scanned travel documents, it eliminates the need for manual typing, reducing errors and saving time for administrative tasks.

  4. Travel and Hospitality: The API finds utility in travel and hospitality industries, where efficient guest registration and check-in processes are essential. By swiftly scanning MRZ data from passports, the API streamlines the registration process, allowing hotels, airlines, and rental services to provide a seamless experience to their customers.

  5. Mobile Apps and Digital Services: Mobile applications and digital services that require MRZ scanning functionality can integrate the API to enhance their offerings. This includes travel apps, banking apps, and e-commerce platforms, where users can conveniently scan their travel documents using their mobile devices to facilitate transactions, verify identities, or access specialized services.

  6. Document Authentication: The MRZ Scanner API can aid in document authentication processes. By extracting and analyzing MRZ information, it enables organizations, such as law enforcement agencies, financial institutions, and notaries, to verify the authenticity of travel documents and detect potential fraud attempts.

 

Are there any limitations to your plans?

Besides API call limitations per month, there are no other limitations.

API Documentation

Endpoints


To use this endpoint you must specify the URL of an image in the parameter.



                                                                            
GET https://zylalabs.com/api/2095/mrz+scanner+api/6195/image+data+by+url
                                                                            
                                                                        

Image Data by URL - Endpoint Features

Object Description
url [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "status": true,
    "text": "UNITED STATES OF AMERICA\nPASSPORT CARD\nDACY SC\nNationality\n***\nUSA\nSurname\nTRAVELER\nGiven Names\nHAPPY\nPassport Card no.\nC03005988\nEXEMPLAR\nKASH\nS\n13309 325+\nBES\nMENT\nSex\nM\nDate of Birth\n1 JAN 1981\nPlace of Birth\nNEW YORK. U.S.A.\nIssued On\nExpires On\n30 NOV 2009\n29 NOV 2019\n*\nM-6131821-07\n1-02781-0\nUNITED STATES DEPARTMENT OF STATE",
    "boxCoordinates": [
        0.49901960784313726,
        0.9372093023255814,
        0.692156862745098,
        0.02945736434108527
    ],
    "paragraphs": [
        {
            "text": "UNITED STATES OF AMERICA",
            "words": [
                {
                    "text": "UNITED",
                    "boxCoordinates": [
                        0.17892156862745098,
                        0.08837209302325581,
                        0.22450980392156863,
                        0.05581395348837209
                    ]
                },
                {
                    "text": "STATES",
                    "boxCoordinates": [
                        0.42990196078431375,
                        0.08837209302325581,
                        0.22647058823529412,
                        0.05581395348837209
                    ]
                },
                {
                    "text": "OF",
                    "boxCoordinates": [
                        0.6004901960784313,
                        0.08837209302325581,
                        0.08137254901960785,
                        0.05581395348837209
                    ]
                },
                {
                    "text": "AMERICA",
                    "boxCoordinates": [
                        0.7862745098039216,
                        0.08837209302325581,
                        0.2725490196078431,
                        0.05581395348837209
                    ]
                }
            ],
            "boxCoordinates": [
                0.4946078431372549,
                0.08837209302325581,
                0.8558823529411764,
                0.05581395348837209
            ]
        },
        {
            "text": "PASSPORT CARD",
            "words": [
                {
                    "text": "PASSPORT",
                    "boxCoordinates": [
                        0.4200980392156863,
                        0.15813953488372093,
                        0.25392156862745097,
                        0.034108527131782945
                    ]
                },
                {
                    "text": "CARD",
                    "boxCoordinates": [
                        0.6362745098039215,
                        0.15813953488372093,
                        0.12941176470588237,
                        0.034108527131782945
                    ]
                }
            ],
            "boxCoordinates": [
                0.4970588235294118,
                0.15813953488372093,
                0.40784313725490196,
                0.034108527131782945
            ]
        },
        {
            "text": "DACY SC",
            "words": [
                {
                    "text": "DACY",
                    "boxCoordinates": [
                        0.33676470588235297,
                        0.36666666666666664,
                        0.026470588235294117,
                        0.16589147286821707
                    ]
                },
                {
                    "text": "SC",
                    "boxCoordinates": [
                        0.33872549019607845,
                        0.23953488372093024,
                        0.024509803921568627,
                        0.06976744186046512
                    ]
                }
            ],
            "boxCoordinates": [
                0.33725490196078434,
                0.3271317829457364,
                0.027450980392156862,
                0.24496124031007752
            ]
        },
        {
            "text": "Nationality",
            "words": [
                {
                    "text": "Nationality",
                    "boxCoordinates": [
                        0.4598039215686274,
                        0.2441860465116279,
                        0.11568627450980393,
                        0.03255813953488372
                    ]
                }
            ],
            "boxCoordinates": [
                0.4598039215686274,
                0.2441860465116279,
                0.11568627450980393,
                0.03255813953488372
            ]
        },
        {
            "text": "***",
            "words": [
                {
                    "text": "***",
                    "boxCoordinates": [
                        0.5901960784313726,
                        0.2310077519379845,
                        0.058823529411764705,
                        0.024806201550387597
                    ]
                }
            ],
            "boxCoordinates": [
                0.5901960784313726,
                0.2310077519379845,
                0.058823529411764705,
                0.024806201550387597
            ]
        },
        {
            "text": "USA",
            "words": [
                {
                    "text": "USA",
                    "boxCoordinates": [
                        0.45245098039215687,
                        0.28914728682170543,
                        0.059803921568627454,
                        0.03565891472868217
                    ]
                }
            ],
            "boxCoordinates": [
                0.45245098039215687,
                0.28914728682170543,
                0.059803921568627454,
                0.03565891472868217
            ]
        },
        {
            "text": "Surname",
            "words": [
                {
                    "text": "Surname",
                    "boxCoordinates": [
                        0.42696078431372547,
                        0.35426356589147284,
                        0.09509803921568627,
                        0.02635658914728682
                    ]
                }
            ],
            "boxCoordinates": [
                0.42696078431372547,
                0.35426356589147284,
                0.09509803921568627,
                0.02635658914728682
            ]
        },
        {
            "text": "TRAVELER",
            "words": [
                {
                    "text": "TRAVELER",
                    "boxCoordinates": [
                        0.4838235294117647,
                        0.4062015503875969,
                        0.15784313725490196,
                        0.037209302325581395
                    ]
                }
            ],
            "boxCoordinates": [
                0.4838235294117647,
                0.4062015503875969,
                0.15784313725490196,
                0.037209302325581395
            ]
        },
        {
            "text": "Given Names",
            "words": [
                {
                    "text": "Given",
                    "boxCoordinates": [
                        0.5073529411764706,
                        0.46511627906976744,
                        0.059803921568627454,
                        0.024806201550387597
                    ]
                },
                {
                    "text": "Names",
                    "boxCoordinates": [
                        0.582843137254902,
                        0.46511627906976744,
                        0.07156862745098039,
                        0.024806201550387597
                    ]
                }
            ],
            "boxCoordinates": [
                0.5480392156862746,
                0.46511627906976744,
                0.1411764705882353,
                0.024806201550387597
            ]
        },
        {
            "text": "HAPPY",
            "words": [
                {
                    "text": "HAPPY",
                    "boxCoordinates": [
                        0.528921568627451,
                        0.5170542635658915,
                        0.09705882352941177,
                        0.03875968992248062
                    ]
                }
            ],
            "boxCoordinates": [
                0.528921568627451,
                0.5170542635658915,
                0.09705882352941177,
                0.03875968992248062
            ]
        },
        {
            "text": "Passport Card no.\nC03005988",
            "words": [
                {
                    "text": "Passport",
                    "boxCoordinates": [
                        0.7578431372549019,
                        0.22093023255813954,
                        0.10784313725490197,
                        0.04186046511627907
                    ]
                },
                {
                    "text": "Card",
                    "boxCoordinates": [
                        0.85,
                        0.2186046511627907,
                        0.060784313725490195,
                        0.040310077519379844
                    ]
                },
                {
                    "text": "no",
                    "boxCoordinates": [
                        0.9014705882352941,
                        0.2178294573643411,
                        0.030392156862745098,
                        0.03875968992248062
                    ]
                },
                {
                    "text": ".",
                    "boxCoordinates": [
                        0.9196078431372549,
                        0.2178294573643411,
                        0.0058823529411764705,
                        0.03875968992248062
                    ]
                },
                {
                    "text": "C03005988",
                    "boxCoordinates": [
                        0.8137254901960784,
                        0.2744186046511628,
                        0.19411764705882353,
      ...
                                                                                                                                                                                                                    
                                                                                                    

Image Data by URL - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2095/mrz+scanner+api/6195/image+data+by+url?url=https://upload.wikimedia.org/wikipedia/commons/f/fa/Passport_card.jpg' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the MRZ Scanner API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
2,715ms

Category:

OCR

Related APIs