Apify example task · whoareyouanas/nmc-doctor-lookup
NMC doctor search by name (spelling-tolerant)
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.
- Actor
- NMC Doctor Registration Check & Verification API
- Result limit
- 5 (maxResults)
- Estimated cost
- Up to $0.02505
- Run options
- 0.5 GB memory · 180 s timeout
Example updated 2026-11-26 · actor build 1.0.3 · runs in your own Apify account
01 / About the actor
NMC Doctor Registration Check & Verification API
Look up India's public NMC Indian Medical Register by registration number, optionally checking that it belongs to the named doctor, or search candidate records by name, year, and council. Preserve the distinction between an exact registry match and a search candidate.
Registration lookup
Verify one registration number or a batch. Council prefixes, separators and leading zeros are optional, and an optional name check flags numbers that belong to someone else.
Council disambiguation
Use the State Medical Council (code, council name or state name) when a registration number matches more than one council.
Candidate search
Search by name with spelling variants, word order and initials, ranked by match score, without labeling a search candidate a verified identity.
02 / Input
The exact input this example runs.
Use registrationId, registrationIds or a doctors list (number, name and council per row) for registration lookup. Without a number, name/year/council inputs select search mode. A council code, council name or state name can disambiguate collisions.
{
"name": "Rajesh Kumar Sharma",
"stateMedicalCouncil": "Delhi",
"maxResults": 5,
"includeDetails": false,
"maxConcurrency": 1,
"requestTimeoutSecs": 45,
"maxRetries": 1
}| Field | Value in this example | What it controls |
|---|---|---|
| nameChange this | "Rajesh Kumar Sharma" | Doctor's name. With a registration number it cross-checks identity (nameMatch exact, strong, partial or mismatch). Without one it searches the register by name, tolerating spelling variants (Samrin/Samreen, Rehman/Rahman), any word order, missing middle names and initials. Titles like Dr. are ignored. |
| stateMedicalCouncilChange this | "Delhi" | Optional council filter. Accepts a code (MAH, DEL, KAR, TAM, WES, TC), council name, state name (Maharashtra, Kerala, West Bengal) or abbreviation (MMC, DMC, KMC, TNMC, WBMC). Needed to tell apart the same number issued by different councils. |
| maxResultsChange this | 5 | Maximum candidates returned per name search or listing (1-10000, default 100). Best matches come first. Use 5-20 when you only need the likely doctor. |
| includeDetails | false | Include date of birth, permanent address and UPRN number from the register (default true). Turn off to keep only professional fields. |
| maxConcurrency | 1 | Lookups processed in parallel (1-10, default 3). Requests to NMC are capped at 4 in flight regardless. |
| requestTimeoutSecs | 45 | Timeout for each request to nmc.org.in, in seconds (1-300, default 60). |
| maxRetries | 1 | Retries after a failed or throttled NMC request, with exponential backoff (0-5, default 3). |
Other inputs you can add (8)
| Field | Type / required | Default | Purpose |
|---|---|---|---|
| registrationId | string | Not specified | One doctor registration number to verify, as printed on the certificate or prescription, e.g. 2000010031, 12345 or DMC/R/9095. Council prefixes, separators and leading zeros are optional. Returns status valid, name_mismatch, removed, blacklisted, not_found, ambiguous or error. |
| year | integer | Not specified | Optional year of registration (NMC 'Year of Info'), 1900 to the current year. Filters name search and listing; when verifying, it only breaks ties between entries sharing a number. Minimum: 1900 · Maximum: 2100 |
| registrationIds | array | Not specified | Many registration numbers to verify in one run; one result row each, in input order. The State Medical Council above applies to all of them. To pair each number with its own name or council, use Doctors instead. |
| doctors | array | Not specified | Batch KYC list. Each item: {"registrationId": "12345", "name": "Asha Rao", "stateMedicalCouncil": "Karnataka", "year": 2010}. Only registrationId or name is required. Items with a number are verified (and name-checked); items with only a name are searched. Results keep input order. |
| nameMatching | string | "smart" | smart (default): spelling variants, any word order, initials and middle names, ranked by matchScore. contains: NMC's own behaviour, only names containing the exact text, in register order. Options: smart, contains |
| includeRaw | boolean | false | Attach the unmodified NMC record to each row for audit or debugging. |
| delayMs | integer | 0 | Optional pause after each lookup, in milliseconds (0-10000). Minimum: 0 · Maximum: 10000 |
| allowInsecureTls | boolean | false | Last resort if nmc.org.in's certificate chain breaks. Certificate checks stay on by default; the actor already bundles NMC's missing intermediate certificate. |
03 / Make it yours
Change these fields for your own research.
01 · name
Doctor name
Doctor's name. With a registration number it cross-checks identity (nameMatch exact, strong, partial or mismatch). Without one it searches the register by name, tolerating spelling variants (Samrin/Samreen, Rehman/Rahman), any word order, missing middle names and initials. Titles like Dr. are ignored.
Example: "Rajesh Kumar Sharma"
02 · stateMedicalCouncil
State Medical Council
Optional council filter. Accepts a code (MAH, DEL, KAR, TAM, WES, TC), council name, state name (Maharashtra, Kerala, West Bengal) or abbreviation (MMC, DMC, KMC, TNMC, WBMC). Needed to tell apart the same number issued by different councils.
Example: "Delhi"
03 · year
Year of registration
Optional year of registration (NMC 'Year of Info'), 1900 to the current year. Filters name search and listing; when verifying, it only breaks ties between entries sharing a number.
04 · maxResults
Max search results
Maximum candidates returned per name search or listing (1-10000, default 100). Best matches come first. Use 5-20 when you only need the likely doctor.
Example: 5
Run it in three steps
- Open the example on Apify and select Try for free to copy it into your Apify account.
- Replace the sample values above with your own target and keep the limit small.
- Start the run, then export the dataset as JSON, CSV or Excel.
04 / Output
What the results table shows.
- Verification emits a result per registration number; search mode emits ranked candidates with status candidate and isValid null.
- Statuses include valid, restored, name_mismatch, removed, blacklisted, not_found, ambiguous, candidate, and error. The record reflects the source register and NMC's blacklisted doctors list, not an independent identity or clinical qualification assessment.
Columns in the “Name search candidates” view
rank
doctorName
Doctor
parentName
Father/husband
nameMatch
Name match
matchScore
Score
registrationId
Registration no.
stateMedicalCouncil
State Medical Council
yearInfo
Year
qualification
Qualification
university
University
isBlacklisted
Blacklisted
A view selects columns for the table. The full JSON export keeps every field, including nested arrays and objects.
05 / Cost
What this example costs to run.
At most about $0.02505: up to 5 results at $0.005 each (result) plus $0.00005 for the start event at 1 GB of memory. Fewer results cost less. The live Pricing tab on Apify is authoritative.
Actor Start
$0.00005 per event · per GB of memory
result
$0.005 per event
Prices checked 2026-11-26. Set a run spending limit in Apify when you widen the input.
06 / API
Run the same input from your code.
This call starts a billable run of NMC Doctor Registration Check & Verification API with this example's input and returns the dataset items when it finishes. Synchronous calls wait up to five minutes; for longer runs, POST to /runs instead and read the run's default dataset when it succeeds. Keep the token in an environment variable.
curl --request POST \
'https://api.apify.com/v2/acts/whoareyouanas~nmc-doctor-lookup/run-sync-get-dataset-items?format=json' \
--header "Authorization: Bearer $APIFY_TOKEN" \
--header 'Content-Type: application/json' \
--data '{"name":"Rajesh Kumar Sharma","stateMedicalCouncil":"Delhi","maxResults":5,"includeDetails":false,"maxConcurrency":1,"requestTimeoutSecs":45,"maxRetries":1}'Coverage & interpretation
Check the result before relying on it.
- Identical registration numbers can exist under different councils. Ambiguous results require disambiguation.
- Public register availability and source response shapes can change. Search candidates must not be treated as verified identities.
Questions
About this example.
What does the "NMC doctor search by name (spelling-tolerant)" example collect?
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. It runs NMC Doctor Registration Check & Verification API, published by whoareyouanas on Apify.
Which input does this example use?
Doctor name (name) set to "Rajesh Kumar Sharma"; State Medical Council (stateMedicalCouncil) set to "Delhi"; Max search results (maxResults) set to 5. The full JSON input is shown on this page.
How much does it cost to run this example?
At most about $0.02505: up to 5 results at $0.005 each (result) plus $0.00005 for the start event at 1 GB of memory. Fewer results cost less. The live Pricing tab on Apify is authoritative.
How do I change it for my own research?
Open the example on Apify and select Try for free to copy it into your account, then edit Doctor name, State Medical Council, Year of registration, Max search results. Keep the result limit small for the first run and check the output before scaling up.
Can I run it from the API or on a schedule?
Yes. Send the same JSON input to the NMC Doctor Registration Check & Verification API run endpoint with your Apify API token, or save the copied task in your Apify account and add a schedule. Results land in the run's default dataset as JSON, CSV or Excel.
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.
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.
More examples
Related tasks you can copy.
Bulk verify doctor registration numbers (NMC)
Verify a list of Indian doctor registration numbers against the NMC Indian Medical Register in one run. One row per number, in input order, with status, doctor name, council and an ambiguity list when a number exists in several councils.
View exampleList doctors by State Medical Council and year
List doctors registered with a State Medical Council in a given year from the NMC Indian Medical Register, with registration number, qualification and university.
View exampleVerify an Indian doctor registration number (NMC)
Check one doctor registration number against the NMC Indian Medical Register and confirm it belongs to the named doctor. Returns valid, name_mismatch, blacklisted, not_found or ambiguous, with council, registration date and qualification.
View exampleGet full NMC register details for a doctor
Retrieve every Indian Medical Register field for one registration number: name, father/husband name, council, registration date, qualifications, university, date of birth, address and blacklist status.
View exampleAI Ad Analyzer
Score an ad creative with your own AI API key
Analyze one sample image ad for hooks, visible text, creative attributes and improvement suggestions. Add your own OpenAI API key in the secret apiKey field before running. Provider charges apply in addition to Apify usage; AI scores are not measured ad performance.
View exampleFacebook Group & Page Scraper
Collect images and video links from ESA Facebook posts
Sample public ESA Facebook posts with media extraction enabled. Review available image links, video links and source post URLs.
View exampleGuides
Read more about this workflow.
How to Check a Doctor's Registration Number in India (NMC Guide)
A step-by-step NMC registration check, plus the three things that trip people up: numbers shared across councils, a name search that only matches exact text, and a blacklist that lives in a separate tab.
How to Verify Indian Doctor Registration Numbers with an NMC Lookup API
Use an NMC doctor lookup API to verify Indian doctor registration numbers, cross-check names, flag blacklisted doctors, run batch checks and return structured JSON for credential workflows.