---
title: Bangladesh NID Verification
slug: mena-apis/bangladesh-nid-verification
description: Learn how the National ID Card (NID) issued in Bangladesh plays a vital role in identity verification and citizenship. Discover how the NID Verification API can assist organizations in verifying NID information efficiently. Explore its diverse application
createdAt: 2023-10-17T08:17:01.634Z
---

## Introduction

The National ID Verification plays a crucial role in a wide range of administrative and government activities, such as voter registration,  passport issuance, financial transactions, social welfare programs, and more. As such, the accuracy and validity of the information associated with an NID are of utmost importance.

## What is NID

The National ID Card, also known as the NID Card, is an official identification document issued to citizens of Bangladesh. It serves as proof of identity, citizenship, and is essential for various purposes, including voting in elections and accessing government services. The Election Commission of Bangladesh is responsible for issuing and managing these cards. They contain personal information such as name, date of birth, address, and a unique national ID number and may also include biometric data to enhance security. The NID Card plays a vital role in the country's electoral and administrative processes and helps ensure the accurate identification of citizens.

## Overview of NID

The National ID Card of Bangladesh, commonly known as the "NID Card" or "National ID Card," is an official identification document issued to citizens of Bangladesh. It serves as proof of identity, citizenship, and various other purposes, including voting in elections. 

**1. Purpose:**

- The primary purpose of the National ID Card is to establish the identity and citizenship of individuals residing in Bangladesh.
- It is also used for electoral purposes, as the NID Card is required for voter registration and participation in elections.

**2. Issuing Authority:**

- The Election Commission of Bangladesh is responsible for issuing National ID Cards.

**3. Information held by the card:**

   The NID Card typically contains the following information:

-    Full name
-    Date of birth
-    Photograph of the cardholder
-    National ID number
-    Blood Group

**4. Eligibility:**

Citizens of Bangladesh who have reached a certain age (usually 18 years old) are eligible to apply for a National ID Card.



## Structure of NID

The national ID is a numeric value whose length must be strictly either **10,** **13** or **17**.

## Bangladesh NID Verification API

This API empowers organizations, businesses, and developers to harness the power of the Bangladesh National ID database for a range of applications, from bolstering security and compliance to enhancing user experience and trust.

Our NID Verification API is designed to simplify the verification of NID information, enabling you to cross-reference the details provided by individuals with the official government database, ensuring their authenticity.

## API Applications

### B2B (Business-to-Business) Applications:

1. **Know Your Customer (KYC) Compliance:** B2B organizations, particularly those in the financial and fintech sectors, can use NID verification for KYC compliance. This ensures that their corporate clients are who they claim to be.
2. **Supplier and Vendor Verification:** Companies can verify the identities of their suppliers and vendors, especially for sensitive or high-value contracts, to reduce the risk of fraud or supply chain disruption.
3. **HR and Employee Verification:** Organizations can use NID verification for background checks and to confirm the identities of potential employees during the hiring process.
4. **Secure Access Control:** B2B organizations can use NID verification as part of their access control systems, ensuring that only authorized personnel can enter secure facilities or access restricted information.
5. **Healthcare:** Healthcare providers can use NID verification to verify patient identities during appointments or medical procedures, enhancing patient safety and reducing medical errors.
6. **Education:** Educational institutions can use NID verification to verify the identities of students and ensure that academic records are accurate.
7. **Real Estate and Property Transactions:** In real estate, NID verification can be used to verify the identities of property buyers and sellers, reducing the risk of fraudulent transactions.

### B2C (Business-to-Consumer) Applications:

1. **User Registration and Onboarding:** When individuals sign up for online services, such as banking, e-commerce, or social media platforms, NID verification can be used to verify the user's identity and ensure that the information provided matches their official records.
2. **Age Verification:** For age-restricted services or products, such as alcohol or gambling, the NID verification API can be used to confirm the user's date of birth to comply with legal age restrictions.
3. **Loan and Credit Application:** In the financial sector, NID verification can help in the assessment of creditworthiness. Lenders can use it to verify applicants' identities and assess their credit histories.
4. **e-Government Services:** Government agencies can use NID verification for citizen authentication when providing various online services, such as tax filing, voting, or accessing government benefits.
5. **Insurance Verification:** Insurance companies can use NID verification to verify the identities of policyholders, beneficiaries, or claimants, reducing the risk of fraud.

## API Details

You must first login before sending the request. The authorization header in the request must include the access token obtained from the login API call.

Need to pass the following information. **Providing personFullname, nationalId, personDob is mandatory**.&#x20;

- **personFullname**(required)
- **nationalId**(required)
- **personDob**(required)
- **matchName**
-

### Sample cURL

::::Tabs
:::Tab{title="Pre-Production"}
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/global-api/bangladesh-id-verification' \
--header 'Content-Type: application/json' \
--header 'Authorization: <token>' \
--data '{
    "personFullname": "<Person Fullname>",
    "nationalId": <National ID>,
    "personDob": "<yyyy-mm-dd>",
    "matchName": true
}'
```
:::

:::Tab{title="Production"}
```curl
curl --location 'https://api.signzy.app/api/v3/global-api/bangladesh-id-verification' \
--header 'Content-Type: application/json' \
--header 'Authorization: <token>' \
--data '{
    "personFullname": "<Person Fullname>",
    "nationalId": <National ID>,
    "personDob": "<yyyy-mm-dd>",
    "matchName": false
}'
```
:::
::::

### Request Body Parameters

| **Parameter**  | **Data Type** | **Required** | **Description**                                                                                                                                       |
| -------------- | ------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| personFullname | string        | Yes          | **Required** Full name of person.                                                                                                                     |
| nationalId     | string        | Yes          | **Required&#x20;**&#x4E;ational ID Number. It should be a numeric value only. The numeric value should be of **10** or **13** or **17** numbers only. |
| personDob      | string        | Yes          | **Required&#x20;**&#x44;ate of Birth (ISO 8601) (yyyy-mm-dd format).                                                                                  |
| matchName      | boolean       | No           | **Optional** Will validate name if it is true or not.                                                                                                 |

### Sample Response

:::CodeblockTabs
Valid Input 200

```json
{
    "result": {
        "verified": "true",
        "status": "200",
        "statusDescription": "Success: NID is verified"
    }
}
```

Invalid Input 200

```json
{
    "result": {
        "verified": "false",
        "status": "200",
        "statusDescription": "Failure: Invalid Data"
    }
}
```
:::

### Response Body parameters

| **Parameter**     | **Data Type** | **Description**                                                                                             |
| ----------------- | ------------- | ----------------------------------------------------------------------------------------------------------- |
| verified          | string        | Indicates whether input request is successfully verified or not(**true** or **false** verification result). |
| status            | String        | Status code of response.                                                                                    |
| statusDescription | String        | Description message of the status code.                                                                     |

### Sample Error

:::CodeblockTabs
Empty personFullname 400

```json
{
  "error": {
    "name": "error",
    "message": "personFullname is not allowed to be empty",
    "status": 400,
    "reason": "VALIDATION_ERROR",
    "type": "Bad Request",
    "statusCode": "400"
  }
}
```

personFullname not passed 400

```json
{
    "error": {
        "name": "error",
        "message": "\"personFullname\" is required",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": "400"
    }
}
```

Malformatted personFullname 400

```json
{
    "error": {
        "name": "error",
        "message": "Bad Request. personFullname is invalid.",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": "400"
    }
}
```

Empty nationalId 400

```json
{
  "error": {
    "name": "error",
    "message": "nationalId is not allowed to be empty",
    "status": 400,
    "reason": "VALIDATION_ERROR",
    "type": "Bad Request",
    "statusCode": "400"
  }
}
```

nationalId not passed 400

```json
{
    "error": {
        "name": "error",
        "message": "\"nationalId\" is required",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": "400"
    }
}
```

Malformatted  nationalId 400

```json
{
    "error": {
        "name": "error",
        "message": "Bad Request. nationalId is invalid.",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": "400"
    }
}
```

Incorrect Length nationalId 400

```json
{
    "error": {
        "name": "error",
        "message": "Bad Request. National ID must be either of length 10, 13 or 17",
        "reason": "BAD_REQUEST",
        "type": "Bad Request",
        "statusCode": "400"
    }
}
```

Empty personDob 400

```json
{
  "error": {
    "name": "error",
    "message": "pertsonDob is not allowed to be empty",
    "status": 400,
    "reason": "VALIDATION_ERROR",
    "type": "Bad Request",
    "statusCode": "400"
  }
}
```

personDob not passed 400

```json
{
    "error": {
        "name": "error",
        "message": "\"personDob\" is required",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": "400"
    }
}
```

Malformatted personDob 400

```json
{
    "error": {
        "name": "error",
        "message": "Bad Request. personDob is invalid.",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": "400"
    }
}
```

Malformatted matchName 400

```json
{
    "error": {
        "name": "error",
        "message": "\"matchName\" must be a boolean",
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": "400"
    }
}
```

Upstream Error 409

```json
{
    "error": {
        "name": "error",
        "message": "Error in getting data from Upstream",
        "status": 409,
        "reason": "ERROR",
        "type": "Conflict",
        "statusCode": 409
    }
}
```

Internal Server Error 500

```json
{
    "error": {
        "name": "error",
        "message": "Internal Server Error",
        "status": 500,
        "reason": "ERROR",
        "type": "Conflict",
        "statusCode": 500
    }
}
```
:::

### Error Response Parameters

| **Parameter**    | **Description**                    |
| ---------------- | ---------------------------------- |
| error            | This parameter contains the error. |
| error.name       | the error name.                    |
| error.message    | the error message.                 |
| error.status     | Status of the api                  |
| error.reason     | Reason for error                   |
| error.type       | Type of the error                  |
| error.statusCode | Request Status code from Signzy    |



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

