Doctor Verification API

Free, real-time verification using the NMC Indian Medical Register

FREE • NO API KEY REQUIRED
FREE
Cost per query
2-4s
Avg response
42+
State councils
90+
Data fields

GET/api/verify

Verify a doctor by registration number. Returns full IMR details.

Query Parameters
reg_number     (required)  Registration number, e.g. "12345"
state_council  (optional)  State name, e.g. "Maharashtra", "Delhi"
year           (optional)  Year of registration
Example
GET /api/verify?reg_number=12345
GET /api/verify?reg_number=12345&state_council=Maharashtra

POST/api/verify

Verify a doctor via JSON body. Same response as GET.

Request Body
{
  "reg_number"   : "12345",
  "state_council": "Maharashtra",
  "year"         : "2015"
}

POST/api/verify/bulk

Verify up to 50 doctors in one request.

Request Body
{
  "doctors": [
    {"reg_number": "12345", "state_council": "West Bengal"},
    {"reg_number": "MH98765", "state_council": "Maharashtra"}
  ]
}

GET/api/search

Search doctors by name. Returns paginated results.

Query Parameters
name           (required)  Doctor name or partial name
state_council  (optional)  Filter by state
Example
GET /api/search?name=Sharma&state_council=Delhi

GET/api/health

Health check. Returns API status and cache stats.

RAG Search & AI Endpoints

POST/api/rag/search

Search for doctors using hybrid ML search (keyword + semantic).

Request Body
{
  "query": "chest pain and shortness of breath",
  "mode": "hybrid",
  "top_k": 5,
  "alpha": 0.5
}

POST/api/rag/extract

Upload a medical report (PDF/image/text) — AI extracts summary, specialty, symptoms, and recommends doctors.

Request
Content-Type: multipart/form-data
Field: file (PDF, image, or text file)

POST/api/rag/lead

Save a patient lead (contact info) to Supabase.

Request Body
{
  "full_name": "John Doe",
  "email": "john@example.com",
  "phone": "+91 98765 43210",
  "search_query": "cardiologist"
}

POST/api/rag/reindex

Re-fetch doctors from Supabase and rebuild the search index.

Try It Live

Use any combination of filters to find a doctor. At least Registration Number or Doctor Name is required.

Try RAG Search

Search doctors by symptoms or specialty using ML-powered hybrid search.

Try Report Extract (AI)

Upload a medical report — AI will extract key findings, severity, specialty, and actionable recommendations.

Try Lead Save

Save patient contact info as a lead.