---
title: MCI Search
slug: api-marketplace/mci-search
createdAt: 2024-01-30T10:42:29.411Z
---

## Introduction

The MCI Fetch API offers a streamlined solution for accessing detailed information about medical practitioners registered under various State Medical Councils in India. This efficient API caters to the need for verifying the credentials of medical professionals by providing their registration details. By inputting a registration number, state medical council, and qualification year, users can swiftly retrieve vital information, including the practitioner's name, permanent address, and date of registration. This tool is indispensable for healthcare institutions, medical verification agencies, and individuals seeking to validate the authenticity of medical practitioners’ qualifications and registration status.

***

## API details

### Endpoint

:::CodeblockTabs
Production Endpoint

```text
POST https://api.signzy.app/api/v3/mci/search
```
:::

:::CodeblockTabs
UAT/Testing Endpoint

```text
POST https://api-preproduction.signzy.app/api/v3/mci/search
```
:::

***

### Request body parameters

| **Parameter**       | **Data Type** | **Description**                                                                                   | **Required** |
| ------------------- | ------------- | ------------------------------------------------------------------------------------------------- | ------------ |
| registrationNo      | String        | Registration number to be verified.                                                               | Mandatory    |
| stateMedicalCouncil | String        | Name of the State Medical Council. The possible value for the Medical council is mentioned below. | Mandatory    |
| qualificationYear   | String        | Qualification Year (YYYY)                                                                         | Mandatory    |

```json
{
    "registrationNo": "<REGISTRATION NO>",
    "stateMedicalCouncil": "<STATE MEDICAL COUNCIL>",
    "qualificationYear": "<QUALIFICATION YEAR>"
}
```

***

### Request Headers

| **Name&#x20;** | **Value**        | **Required** | **Description**                                                                                            |
| -------------- | ---------------- | ------------ | ---------------------------------------------------------------------------------------------------------- |
| Content-type   | application/json | Mandatory    | The type of content that the request body contains.                                                        |
| Authorization  | XXXXXXXXXXXXXXX  | Mandatory    | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

***

### Code Samples

:::CodeblockTabs
Curl

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/mci/search' \
--header 'Content-Type: application/json' \
--header 'Authorization: <--Your Authorization Token-->' \
--data '{
    "registrationNo": "<REGISTRATION NO>",
    "stateMedicalCouncil": "<STATE MEDICAL COUNCIL>",
    "qualificationYear": "<QUALIFICATION YEAR>"
}'
```

Node.js

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "registrationNo": "<REGISTRATION NO>",
  "stateMedicalCouncil": "<STATE MEDICAL COUNCIL>",
  "qualificationYear": "<QUALIFICATION YEAR>"
});

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/mci/search',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': '<--Your Authorization Token-->'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

Python

```python
import http.client
import json

conn = http.client.HTTPSConnection("api-preproduction.signzy.app")
payload = json.dumps({
  "registrationNo": "<REGISTRATION NO>",
  "stateMedicalCouncil": "<STATE MEDICAL COUNCIL>",
  "qualificationYear": "<QUALIFICATION YEAR>"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<--Your Authorization Token-->'
}
conn.request("POST", "/api/v3/mci/search", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
```

GO

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/mci/search"
  method := "POST"

  payload := strings.NewReader(`{
    "registrationNo": "<REGISTRATION NO>",
    "stateMedicalCouncil": "<STATE MEDICAL COUNCIL>",
    "qualificationYear": "<QUALIFICATION YEAR>"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "<--Your Authorization Token-->")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters

| **Parameter**           | **Data Type** | **Description**                                                             |
| ----------------------- | ------------- | --------------------------------------------------------------------------- |
| result                  | Object        | Contains the verification result for the input PAN number and company name. |
| result.name             | String        | Name of the associated person.                                              |
| result.permanentAddress | String        | Permanent Address of the associated person.                                 |
| result.dateOfReg        | String        | Date of Registration                                                        |

:::CodeblockTabs
200

```json
{
    "result": {
        "name": "Vallabhjajosyula Kameswara Rao",
        "permanentAddress": "Dr. V R Sarma, M B , B S , Kothapet, Guntur.",
        "dateOfReg": "30/07/1960"
    }
}
```

400

```json
// registrationNo field is empty
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "registrationNo is not allowed to be empty",
        "status": 400
    }
}

// stateMedicalCouncil field is empty
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "stateMedicalCouncil is not allowed to be empty",
        "status": 400
    }
}

// qualificationYear field is empty
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "qualificationYear is not allowed to be empty",
        "status": 400
    }
}

// registrationNo is missing
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "registrationNo is required",
        "status": 400
    }
}

// stateMedicalCouncil is missing
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "stateMedicalCouncil is required",
        "status": 400
    }
}

// qualificationYear is missing
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "qualificationYear is required",
        "status": 400
    }
}

// invalid registrationNo provided
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "registrationNo must be a string",
        "status": 400
    }
}

// invalid stateMedicalCouncil provided
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "stateMedicalCouncil must be a string",
        "status": 400
    }
}

// invalid stateMedicalCouncil provided
{
    "error": {
        "name": "error",
        "message": "State medical council is not valid",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}

// invalid qualificationYear provided
{
    "error": {
        "statusCode": 400,
        "name": "Error",
        "message": "qualificationYear must be a string",
        "status": 400
    }
}

// invalid qualificationYear provided
{
    "error": {
        "name": "error",
        "message": "Qualitication Year is not valid",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}
```

401

```json
// If Authorization token is not passed
{
    "message": "No API key found in request"
}

// If Authorization token is invalid
{
    "message": "Invalid authentication credentials"
}
```

404

```json
{
    "error": {
        "name": "error",
        "message": "Registration Number not found",
        "status": 404,
        "reason": "ERROR_",
        "type": "Not Found",
        "statusCode": 404
    }
}
```

409

```json
{
    "error": {
        "reason": "Error From Upstream",
        "status": 409,
        "message": "Upstream Down",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```
:::

***

### State Council Name List

| **STATE COUNCIL NAME**                        |
| --------------------------------------------- |
| ANDHRA PRADESH MEDICAL COUNCIL                |
| ARUNACHAL PRADESH MEDICAL COUNCIL             |
| ASSAM MEDICAL COUNCIL                         |
| BHOPAL MEDICAL COUNCIL                        |
| BIHAR MEDICAL COUNCIL                         |
| BOMBAY MEDICAL COUNCIL                        |
| CHANDIGARH MEDICAL COUNCIL                    |
| CHATTISGARH MEDICAL COUNCIL                   |
| DELHI MEDICAL COUNCIL                         |
| GOA MEDICAL COUNCIL                           |
| GUJARAT MEDICAL COUNCIL                       |
| HARYANA MEDICAL COUNCIL                       |
| HIMANCHAL PRADESH MEDICAL COUNCIL             |
| HYDERABAD MEDICAL COUNCIL                     |
| JAMMU & KASHMIR MEDICAL COUNCIL               |
| JHARKHAND MEDICAL COUNCIL                     |
| KARNATAKA MEDICAL COUNCIL                     |
| MADHYA PRADESH MEDICAL COUNCIL                |
| MADRAS MEDICAL COUNCIL                        |
| MAHAKOSHAL MEDICAL COUNCIL                    |
| MAHARASHTRA MEDICAL COUNCIL                   |
| MANIPUR MEDICAL COUNCIL                       |
| MEDICAL COUNCIL OF INDIA                      |
| MEDICAL COUNCIL OF TANGANYIKA                 |
| MIZORAM MEDICAL COUNCIL                       |
| MYSORE MEDICAL COUNCIL                        |
| NAGALAND MEDICAL COUNCIL                      |
| ORISSA COUNCIL OF MEDICAL REGISTRATION        |
| PONDICHERRY MEDICAL COUNCIL                   |
| PUNJAB MEDICAL COUNCIL                        |
| RAJASTHAN MEDICAL COUNCIL                     |
| SIKKIM MEDICAL COUNCIL                        |
| TAMIL NADU MEDICAL COUNCIL                    |
| TELANGANA STATE MEDICAL COUNCIL               |
| TRAVANCORE COCHIN MEDICAL COUNCIL, TRIVANDRUM |
| TRIPURA STATE MEDICAL COUNCIL                 |
| UTTAR PRADESH MEDICAL COUNCIL                 |
| UTTARAKHAND MEDICAL COUNCIL                   |
| VIDHARBA MEDICAL COUNCIL                      |
| WEST BENGAL MEDICAL COUNCIL                   |

***

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. 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!
