{
  "openapi": "3.0.1",
  "info": {
    "title": "Practo India Doctor Directory Scraper",
    "description": "Extract 20+ fields from Practo.com doctor profiles — specialties, qualifications, experience, clinic details, fees, ratings, services, and medical registration number",
    "version": "0.1",
    "x-build-id": "hElvo3X2zM5PuzZDj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jungle_synthesizer~practo-doctor-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jungle_synthesizer-practo-doctor-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/jungle_synthesizer~practo-doctor-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jungle_synthesizer-practo-doctor-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/jungle_synthesizer~practo-doctor-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jungle_synthesizer-practo-doctor-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "sp_intended_usage": {
            "title": "What is the intended usage of this data?",
            "minLength": 1,
            "type": "string",
            "description": "What will this data feed? E.g. lead lists, KYB checks, price tracking."
          },
          "sp_improvement_suggestions": {
            "title": "How can we improve this crawler for you?",
            "minLength": 1,
            "type": "string",
            "description": "Provide any feedback or suggestions for improvements."
          },
          "sp_contact": {
            "title": "Contact email (optional)",
            "minLength": 1,
            "type": "string",
            "description": "We'll personally help with your use case. No spam."
          },
          "resumeCursor": {
            "title": "Resume cursor (continue a previous run)",
            "type": "string",
            "description": "Leave empty for a fresh crawl. To CONTINUE a previous run where it stopped — without paying again for records you already received — paste the `resumeCursor` value from that run's Output (the run's OUTPUT key). Resume promptly: the previous run's data expires with your account's retention window (free tier: your ~10 most recent runs)."
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "Indian city to search (e.g. bangalore, mumbai, guntur).",
            "default": "bangalore"
          },
          "specialties": {
            "title": "Specialties",
            "type": "array",
            "description": "One or more Practo specialties. Leave empty for all doctors.",
            "items": {
              "type": "string",
              "enum": [
                "acupuncturist",
                "addiction-psychiatrist",
                "adolescent-and-child-psychiatrist",
                "aesthetic-dermatologist",
                "allergist-immunologist",
                "alternative-medicine",
                "andrologist",
                "anesthesiologist",
                "audiologist",
                "ayurveda",
                "bariatric-surgeon",
                "breast-surgeon",
                "burn-surgeon",
                "cardiac-surgeon",
                "cardiologist",
                "cardiothoracic-and-vascular-surgeon",
                "cardiothoracic-surgeon",
                "clinical-nutritionist",
                "clinical-psychologist",
                "consultant-physician",
                "cosmetic-aesthetic-dentist",
                "cosmetologist",
                "counselling-psychologist",
                "dental-surgeon",
                "dentist",
                "dentofacial-orthopedist",
                "dermatologist",
                "dermatosurgeon",
                "diabetologist",
                "dietitian-nutritionist",
                "ear-nose-throat-ent-specialist",
                "electro-homeopath",
                "emergency-critical-care",
                "endocrinologist",
                "endodontist",
                "ent-otorhinolaryngologist",
                "family-physician",
                "gastroenterologist",
                "gastroentrology-surgeon",
                "gastrointestinal-surgeon",
                "general-physician",
                "general-practitioner",
                "general-surgeon",
                "geriatric-neurologist",
                "geriatric-physiotherapist",
                "geriatric-psychiatrist",
                "gynecologist",
                "gynecologist-obstetrician",
                "hair-transplant-surgeon",
                "head-and-neck-surgeon",
                "hematologic-oncologist",
                "hematologist",
                "homoeopath",
                "hypnotherapist",
                "immunodermatologist",
                "implantologist",
                "infertility-specialist",
                "internal-medicine",
                "interventional-cardiologist",
                "interventional-radiologist",
                "joint-replacement-surgeon",
                "laparoscopic-surgeon",
                "laparoscopic-surgeon-obs-gyn",
                "medical-oncologist",
                "neonatologist",
                "nephrologist",
                "nephrologist-renal-specialist",
                "neuro-physiotherapist",
                "neurointerventional-surgery",
                "neurologist",
                "neuropsychiatrist",
                "neurosurgeon",
                "obstetrician",
                "occupational-therapist",
                "oncologist",
                "ophthalmologist",
                "ophthalmologist-eye-surgeon",
                "optometrist",
                "oral-and-maxillofacial-surgeon",
                "oral-medicine-and-radiology",
                "oral-pathologist",
                "orthodontist",
                "orthopedic-physiotherapist",
                "orthopedist",
                "otologist-neurotologist",
                "paediatric-intensivist",
                "pain-management-specialist",
                "pathologist",
                "pediatric-cardiologist",
                "pediatric-dentist",
                "pediatric-dermatologist",
                "pediatric-ot",
                "pediatric-otorhinolaryngologist",
                "pediatric-surgeon",
                "pediatrician",
                "periodontist",
                "physiotherapist",
                "plastic-reconstruction-surgeon",
                "plastic-surgeon",
                "preventive-dentistry",
                "prosthodontist",
                "psychiatrist",
                "psychologist",
                "psychotherapist",
                "pulmonologist",
                "radiation-oncologist",
                "radiologist",
                "reproductive-endocrinologist-infertility",
                "restorative-dentist",
                "rheumatologist",
                "sexologist",
                "siddha",
                "speech-therapist",
                "spine-and-pain-specialist",
                "spine-surgeon",
                "sports-and-musculoskeletal-physiotherapist",
                "sports-medicine-surgeon",
                "sports-nutritionist",
                "surgical-oncologist",
                "trichologist",
                "tuberculous-and-chest-diseases-specialist",
                "ultrasonologist",
                "unani",
                "urological-surgeon",
                "urologist",
                "vascular-surgeon",
                "venereologist",
                "veterinarian",
                "veterinary-physician",
                "veterinary-surgeon",
                "yoga-and-naturopathy",
                "chiropractor"
              ],
              "enumTitles": [
                "Acupuncturist",
                "Addiction Psychiatrist",
                "Adolescent And Child Psychiatrist",
                "Aesthetic Dermatologist",
                "Allergist Immunologist",
                "Alternative Medicine",
                "Andrologist",
                "Anesthesiologist",
                "Audiologist",
                "Ayurveda",
                "Bariatric Surgeon",
                "Breast Surgeon",
                "Burn Surgeon",
                "Cardiac Surgeon",
                "Cardiologist",
                "Cardiothoracic And Vascular Surgeon",
                "Cardiothoracic Surgeon",
                "Clinical Nutritionist",
                "Clinical Psychologist",
                "Consultant Physician",
                "Cosmetic Aesthetic Dentist",
                "Cosmetologist",
                "Counselling Psychologist",
                "Dental Surgeon",
                "Dentist",
                "Dentofacial Orthopedist",
                "Dermatologist",
                "Dermatosurgeon",
                "Diabetologist",
                "Dietitian Nutritionist",
                "Ear Nose Throat ENT Specialist",
                "Electro Homeopath",
                "Emergency Critical Care",
                "Endocrinologist",
                "Endodontist",
                "ENT Otorhinolaryngologist",
                "Family Physician",
                "Gastroenterologist",
                "Gastroentrology Surgeon",
                "Gastrointestinal Surgeon",
                "General Physician",
                "General Practitioner",
                "General Surgeon",
                "Geriatric Neurologist",
                "Geriatric Physiotherapist",
                "Geriatric Psychiatrist",
                "Gynecologist",
                "Gynecologist Obstetrician",
                "Hair Transplant Surgeon",
                "Head And Neck Surgeon",
                "Hematologic Oncologist",
                "Hematologist",
                "Homoeopath",
                "Hypnotherapist",
                "Immunodermatologist",
                "Implantologist",
                "Infertility Specialist",
                "Internal Medicine",
                "Interventional Cardiologist",
                "Interventional Radiologist",
                "Joint Replacement Surgeon",
                "Laparoscopic Surgeon",
                "Laparoscopic Surgeon OBS GYN",
                "Medical Oncologist",
                "Neonatologist",
                "Nephrologist",
                "Nephrologist Renal Specialist",
                "Neuro Physiotherapist",
                "Neurointerventional Surgery",
                "Neurologist",
                "Neuropsychiatrist",
                "Neurosurgeon",
                "Obstetrician",
                "Occupational Therapist",
                "Oncologist",
                "Ophthalmologist",
                "Ophthalmologist Eye Surgeon",
                "Optometrist",
                "Oral And Maxillofacial Surgeon",
                "Oral Medicine And Radiology",
                "Oral Pathologist",
                "Orthodontist",
                "Orthopedic Physiotherapist",
                "Orthopedist",
                "Otologist Neurotologist",
                "Paediatric Intensivist",
                "Pain Management Specialist",
                "Pathologist",
                "Pediatric Cardiologist",
                "Pediatric Dentist",
                "Pediatric Dermatologist",
                "Pediatric OT",
                "Pediatric Otorhinolaryngologist",
                "Pediatric Surgeon",
                "Pediatrician",
                "Periodontist",
                "Physiotherapist",
                "Plastic Reconstruction Surgeon",
                "Plastic Surgeon",
                "Preventive Dentistry",
                "Prosthodontist",
                "Psychiatrist",
                "Psychologist",
                "Psychotherapist",
                "Pulmonologist",
                "Radiation Oncologist",
                "Radiologist",
                "Reproductive Endocrinologist Infertility",
                "Restorative Dentist",
                "Rheumatologist",
                "Sexologist",
                "Siddha",
                "Speech Therapist",
                "Spine And Pain Specialist",
                "Spine Surgeon",
                "Sports And Musculoskeletal Physiotherapist",
                "Sports Medicine Surgeon",
                "Sports Nutritionist",
                "Surgical Oncologist",
                "Trichologist",
                "Tuberculous And Chest Diseases Specialist",
                "Ultrasonologist",
                "Unani",
                "Urological Surgeon",
                "Urologist",
                "Vascular Surgeon",
                "Venereologist",
                "Veterinarian",
                "Veterinary Physician",
                "Veterinary Surgeon",
                "Yoga And Naturopathy",
                "Chiropractor"
              ]
            },
            "default": []
          },
          "maxItems": {
            "title": "Max Items",
            "type": "integer",
            "description": "Maximum number of doctor profiles to scrape",
            "default": 50
          },
          "maxPages": {
            "title": "Max Listing Pages",
            "type": "integer",
            "description": "Maximum number of listing pages to crawl (10 doctors per page)",
            "default": 10
          },
          "scrapeDetails": {
            "title": "Scrape Detail Pages",
            "type": "boolean",
            "description": "Fetch full profile pages for richer data (qualifications, services, awards, registration). Slower but more comprehensive.",
            "default": true
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}