---
title: Data Extraction
slug: us-apis/data-extraction
description: Learn how the ID Intelligence API by Signzy can extract crucial data from ID cards effortlessly through OCR and advanced algorithms. This document offers a sample Curl request for seamless integration and showcases the comprehensive response obtained, inc
createdAt: 2023-07-03T10:17:24.612Z
---

## 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](docId:9dWPKYoaeY2mFiYs4oKlD)

### 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!
:::

