---
title: MyKAD(Malayasian ID)
slug: v2/mykadmalayasian-id
description: The Qatar ID extraction API employs OCR technology to extract essential information from images of Qatar ID cards. Extracting details like address, gender, religion, name, and ID number, this API enables effortless retrieval of relevant data. Submit speci
createdAt: 2023-05-31T02:13:22.000Z
---

# Introduction

The Qatar ID extraction API allows you to extract relevant information from the Qatar ID card images. The API uses OCR technology to recognize the text on the image and extract the relevant details.

# Sample cURL

```curl
curl --request POST \
  --url https://signzy.tech/api/v2/patrons/....patronid.../foreignidentitiesextractions \
  --header 'Accept: */*' \
  --header 'Accept-Language: en-US,en;q=0.8' \
  --header 'Authorization: <Access-Token>' \
  --header 'content-type: application/json' \
  --data '{
    "task": "myKad",
    "essentials": {
        "files": ["...url of the image of the id card..."]
    }
}'
```

### Input Parameters

| **Parameter Name** | **Data Type** | **Description**                                                                                                 |
| ------------------ | ------------- | --------------------------------------------------------------------------------------------------------------- |
| task               | string        | The specific task that needs to be performed, i.e., "myKad" in this case.                                       |
| essentials.files   | array         | The array of files to be used for the extraction process. This array should contain the URL of the image files. |

# Sample API Response

```javascript
   // Expected response
    {
    	"essentials": {
            "files": ["...url of the image of the id card..."]
        },
    	"id": "..id..",
    	"patronId": "...patron id...",
    	"task": "myKad",
        "result": {
            "address": "...address...",
            "gender": "...gender...",
            "religion": "...religion...",
            "name": "...name...",
            "idNumber": "...ID Number..."
        }
    }
```

## Response Parameters

| **PARAMETERS** | **DESCRIPTION**                                            |
| -------------- | ---------------------------------------------------------- |
| essentials     | The file URLs for the front and back images of the ID      |
| id             | The ID generated for the verification request              |
| patronId       | The patron ID for whom the verification is being performed |
| task           | The task that was requested, which is myKad in this case   |
| result         | The verification result, containing the following fields:  |
| address        | Address as on the card                                     |
| gender         | Gender as on the card                                      |
| religion       | Religion as on the card                                    |
| name           | Name of the individual                                     |
| idNumber       | ID Number as on the card                                   |

