# NMC doctor search by name (spelling-tolerant)

**Use case:** 

Find a doctor in the NMC Indian Medical Register by name, even when the register spells it differently (Samreen/Samrin, Rahman/Rehman), lists the surname first or adds a middle name. Candidates are ranked with a match score and include council and registration number.

## Input

```json
{
  "registrationId": "2000010031",
  "name": "Rajesh Kumar Sharma",
  "stateMedicalCouncil": "Delhi",
  "maxResults": 5,
  "nameMatching": "smart",
  "includeDetails": false,
  "includeRaw": false,
  "maxConcurrency": 1,
  "delayMs": 0,
  "requestTimeoutSecs": 45,
  "maxRetries": 1,
  "allowInsecureTls": false
}
```

## Output

```json
{
  "rank": {
    "label": "Rank",
    "format": "integer"
  },
  "doctorName": {
    "label": "Doctor name",
    "format": "string"
  },
  "parentName": {
    "label": "Father/husband name",
    "format": "string"
  },
  "nameMatch": {
    "label": "Name match",
    "format": "string"
  },
  "matchScore": {
    "label": "Match score",
    "format": "number"
  },
  "registrationId": {
    "label": "Registration number",
    "format": "string"
  },
  "stateMedicalCouncil": {
    "label": "State Medical Council",
    "format": "string"
  },
  "yearInfo": {
    "label": "Year of info",
    "format": "integer"
  },
  "qualification": {
    "label": "Qualification",
    "format": "string"
  },
  "university": {
    "label": "University",
    "format": "string"
  },
  "isBlacklisted": {
    "label": "Is blacklisted",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The NMC Doctor Registration Check & Verification API Actor is ready to run with the inputs already set for "NMC doctor search by name (spelling-tolerant)". [Sign up or log in](https://console.apify.com/create-task-from-example/cSEhsFa2j2gH62dGl) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "NMC doctor search by name (spelling-tolerant)" task

The NMC Doctor Registration Check & Verification API Actor will start running based on the input automatically. You can also change all the input fields, like registration number, doctor name, and more, to match your specific use case.

### 3. Receive the "NMC doctor search by name (spelling-tolerant)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as rank, doctor name, father/husband name, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "NMC doctor search by name (spelling-tolerant)" task via API](https://apify.com/whoareyouanas/nmc-doctor-lookup.md).

## FAQ

### How is this different from the name search on the NMC website?

The NMC website only finds names that contain your exact text. This task also finds spelling variants (Samrin/Samreen, Rehman/Rahman), surname-first entries, missing middle names and initials, then ranks candidates by a match score.

### What does the task return?

Ranked candidates with doctor name, father/husband name, State Medical Council, registration number, year, qualification, university, nameMatch (exact, strong, partial) and matchScore, plus a blacklist flag.

### Is a search result a verified doctor?

No. A candidate is a lead. To verify a doctor, run the Actor with the registration number and name; it returns valid, name_mismatch, blacklisted or not_found.

### Can an AI agent use this through MCP?

Yes. Connect to https://mcp.apify.com?tools=whoareyouanas/nmc-doctor-lookup, pass name, an optional stateMedicalCouncil and a small maxResults, then read the dataset.

## About this Actor

This example demonstrates how to use [NMC Doctor Registration Check & Verification API](https://apify.com/whoareyouanas/nmc-doctor-lookup.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/whoareyouanas/nmc-doctor-lookup.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/whoareyouanas/nmc-doctor-lookup.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
