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.

input.json · nmc-doctor-search-by-name
{
  "name": "Rajesh Kumar Sharma",
  "stateMedicalCouncil": "Delhi",
  "maxResults": 5,
  "includeDetails": false,
  "maxConcurrency": 1,
  "requestTimeoutSecs": 45,
  "maxRetries": 1
}
Input fields used by this example, their values and what they control
FieldValue in this exampleWhat 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 this5Maximum 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.
includeDetailsfalseInclude date of birth, permanent address and UPRN number from the register (default true). Turn off to keep only professional fields.
maxConcurrency1Lookups processed in parallel (1-10, default 3). Requests to NMC are capped at 4 in flight regardless.
requestTimeoutSecs45Timeout for each request to nmc.org.in, in seconds (1-300, default 60).
maxRetries1Retries after a failed or throttled NMC request, with exponential backoff (0-5, default 3).
Other inputs you can add (8)
Deployed actor input fields, types, defaults, and descriptions
FieldType / requiredDefaultPurpose
registrationIdstringNot specifiedOne 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.
yearintegerNot specifiedOptional 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

registrationIdsarrayNot specifiedMany 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.
doctorsarrayNot specifiedBatch 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.
nameMatchingstring"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

includeRawbooleanfalseAttach the unmodified NMC record to each row for audit or debugging.
delayMsinteger0Optional pause after each lookup, in milliseconds (0-10000).

Minimum: 0 · Maximum: 10000

allowInsecureTlsbooleanfalseLast 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.

  1. 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"

  2. 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"

  3. 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.

  4. 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

  1. Open the example on Apify and select Try for free to copy it into your Apify account.
  2. Replace the sample values above with your own target and keep the limit small.
  3. Start the run, then export the dataset as JSON, CSV or Excel.

04 / Output

What the results table shows.

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.

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 · run and return the results
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.

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 example

List 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 example

Verify 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 example

Get 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 example

AI 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 example

Facebook 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 example

Guides

Read more about this workflow.