---
title: Data Extraction
slug: mena-apis/data-extraction
description: Learn how to use the powerful ID Intelligence API, which leverages cutting-edge algorithms and optical character recognition to effortlessly extract crucial information from ID cards. Set the `performIdExtraction` parameter to True and follow the provided
createdAt: 2023-09-18T12:20:52.137Z
---

## Introduction

This is key feature of ID intelligence API. ID Intelligence employs advanced algorithms to extract relevant information from ID cards, such as name, date of birth, address, ID number, and other relevant data points. It utilizes optical character recognition (OCR) techniques to accurately recognize and extract text from different languages and formats.

## API Details

You need to pass `performIdExtraction` as True in order to use this feature.&#x20;

We have mentioned only this feature in the below Curl. For Curl with complete features, refer the [ID Intelligence](https://docs.signzy.com/us-apis/id-intelligence)

### Sample cURL

```curl
curl --location 'https://preproduction.signzy.tech/api/v2/patrons/{patronId}/documentIntelligence' \
--header 'authorization: {signzy-api-authKey}' \
--header 'content-type: application/json' \
--data '{
    "task": "idIntelligence",
    "essentials": {
        "frontUrl": "<front-image-url>",
        "backUrl": "<back-image-url>",
        "country": "<country>",
        "idType": "<id-type> ",
        "performIdExtraction": true/false,
    }
}'
```

### Response

```json
{
    "essentials": {
        "frontUrl": "", 
        "backUrl": "",  
        "country": "",  
        "idType": "",   
        "performIdExtraction": true/false
    },
    "id": "60xxxxxxxxxxxxxxxxxxxxxxxxxx",
    "patronId": "60xxxxxxxxxxxxxxxxxxxxxxxxxx",
    "task": "idIntelligence",
    
        "extractedFields": {
            "firstName": "",
            "lastName": "",
            "names": "",
            "address": "",
            "number": "",
            "DOB": "",
            "issuingState": "",
            "expiryDate": "",
            "nationality": "",
            "gender": "",
            "additionalData": {
                "remainderterm": "",
                "bloodGroup": "",
                "dlClass": "",
                "identityCardNumber": "",
                "dateOfIssue": "",
                "age": "",
                "ageAtIssue": "",
                "yearsSinceIssue": ""
            }
        }
    }
}
```

:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.

You can reach out to us at [help@signzy.com](#). We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!
:::

