{
  "openapi": "3.0.1",
  "info": {
    "title": "Healthcare Practice Lead Scraper - Verified Emails",
    "description": "Find healthcare practices from Google Maps and business websites. Extract dentists, doctors, clinics, pharmacies, chiropractors, and more with verified emails, phone numbers, websites, ratings, social profiles, and CRM-ready exports for outreach and lead generation.",
    "version": "0.1",
    "x-build-id": "lpuBgcFdyQpIi2vnf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/qaseemiqbal~healthcare-practice-lead-scraper-verified-emails/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-qaseemiqbal-healthcare-practice-lead-scraper-verified-emails",
        "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/qaseemiqbal~healthcare-practice-lead-scraper-verified-emails/runs": {
      "post": {
        "operationId": "runs-sync-qaseemiqbal-healthcare-practice-lead-scraper-verified-emails",
        "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/qaseemiqbal~healthcare-practice-lead-scraper-verified-emails/run-sync": {
      "post": {
        "operationId": "run-sync-qaseemiqbal-healthcare-practice-lead-scraper-verified-emails",
        "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",
        "required": [
          "businessType"
        ],
        "properties": {
          "businessType": {
            "title": "Business type",
            "enum": [
              "dentist",
              "doctor",
              "clinic",
              "orthodontist",
              "chiropractor",
              "physical_therapist",
              "pharmacy",
              "veterinarian",
              "custom"
            ],
            "type": "string",
            "description": "Healthcare provider category to search for. Choose Custom if you want to provide your own search terms.",
            "default": "dentist"
          },
          "searchTerms": {
            "title": "Custom search terms",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional custom search terms such as pediatric dentist, cosmetic dentist, urgent care clinic, or orthodontist. Required when Business type is Custom.",
            "items": {
              "type": "string",
              "minLength": 2,
              "maxLength": 120
            },
            "default": []
          },
          "locations": {
            "title": "Locations",
            "maxItems": 200,
            "uniqueItems": true,
            "type": "array",
            "description": "Cities, ZIP codes, counties, or metro areas to search. Use specific locations such as Dallas, TX or 90210 instead of broad countries.",
            "items": {
              "type": "string",
              "minLength": 2,
              "maxLength": 120
            },
            "default": [
              "Dallas, TX"
            ]
          },
          "startUrls": {
            "title": "Google Maps URLs",
            "type": "array",
            "description": "Optional Google Maps search or place URLs. Use this when you already have specific Maps URLs to process.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL",
                  "description": "Google Maps search or place URL."
                }
              }
            },
            "default": []
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Total maximum number of business records to save across all searches.",
            "default": 25
          },
          "maxResultsPerSearch": {
            "title": "Maximum results per search",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum Google Maps listings to collect from each search term and location combination. Google Maps may return fewer results than requested.",
            "default": 50
          },
          "includeWithoutWebsite": {
            "title": "Include businesses without websites",
            "type": "boolean",
            "description": "If enabled, the Actor saves Google Maps leads even when no business website is available.",
            "default": true
          },
          "enrichEmails": {
            "title": "Find emails on websites",
            "type": "boolean",
            "description": "Visit each business website and search for email addresses on the homepage, contact pages, footers, and structured data.",
            "default": true
          },
          "verifyEmails": {
            "title": "Verify emails",
            "type": "boolean",
            "description": "Run syntax and DNS checks, and optionally SMTP checks, to estimate whether discovered email addresses are deliverable.",
            "default": true
          },
          "smtpVerification": {
            "title": "Use SMTP verification",
            "type": "boolean",
            "description": "Attempt SMTP verification without sending email. Some mail servers block this, so unknown results are expected for some domains.",
            "default": false
          },
          "enrichSocials": {
            "title": "Find social profiles",
            "type": "boolean",
            "description": "Extract Facebook, Instagram, LinkedIn, X/Twitter, YouTube, and TikTok links from business websites.",
            "default": true
          },
          "onlyWithEmail": {
            "title": "Only save leads with emails",
            "type": "boolean",
            "description": "If enabled, businesses without discovered email addresses are excluded from the dataset.",
            "default": false
          },
          "onlyVerifiedEmails": {
            "title": "Only save SMTP-verified emails",
            "type": "boolean",
            "description": "If enabled, only businesses with an email address verified by SMTP are saved. This can exclude valid emails when mail servers block verification.",
            "default": false
          },
          "stopAfterEmailFound": {
            "title": "Stop website crawl after finding an email",
            "type": "boolean",
            "description": "If enabled, the Actor stops following extra same-domain website pages for a business after at least one email is found. This lowers runtime and compute cost.",
            "default": true
          },
          "minimumReviews": {
            "title": "Minimum review count",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Skip businesses with fewer Google reviews than this value. Use 0 to disable this filter.",
            "default": 0
          },
          "minimumRating": {
            "title": "Minimum rating",
            "enum": [
              "any",
              "3.0",
              "3.5",
              "4.0",
              "4.5"
            ],
            "type": "string",
            "description": "Optional Google Maps rating filter. Use Any to keep all ratings.",
            "default": "any"
          },
          "websiteCrawlDepth": {
            "title": "Website crawl depth",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "How many same-domain link levels to follow when searching for emails. 0 checks only the homepage.",
            "default": 1
          },
          "maxPagesPerWebsite": {
            "title": "Maximum pages per website",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of same-domain website pages to crawl for each business.",
            "default": 3
          },
          "maxEmailsToVerify": {
            "title": "Maximum emails to verify per business",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Limit how many discovered emails are checked with DNS or SMTP for each business. Lower values reduce runtime and network work.",
            "default": 2
          },
          "outputPreset": {
            "title": "Output preset",
            "enum": [
              "full",
              "hubspot",
              "salesforce",
              "all"
            ],
            "type": "string",
            "description": "Choose whether to produce only the full dataset or also CRM-ready CSV files in the key-value store.",
            "default": "full"
          },
          "dedupeMode": {
            "title": "Deduplication mode",
            "enum": [
              "placeOrPhoneOrAddress",
              "phoneOrAddress",
              "domain",
              "none"
            ],
            "type": "string",
            "description": "How duplicate businesses should be detected across overlapping searches.",
            "default": "placeOrPhoneOrAddress"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Select proxies for Google Maps and website requests. Apify Proxy is recommended for reliable runs."
          },
          "maxMapConcurrency": {
            "title": "Google Maps concurrency",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Maximum number of Google Maps browser pages processed in parallel.",
            "default": 1
          },
          "maxWebsiteConcurrency": {
            "title": "Website crawl concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of website pages processed in parallel.",
            "default": 8
          },
          "maxVerificationConcurrency": {
            "title": "Email verification concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of DNS/SMTP email checks processed in parallel.",
            "default": 2
          },
          "requestDelayMs": {
            "title": "Request delay in milliseconds",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Optional delay between sensitive requests and browser actions.",
            "default": 250
          },
          "debugMode": {
            "title": "Debug mode",
            "type": "boolean",
            "description": "Enable more detailed logs and hidden diagnostic fields in dataset records.",
            "default": false
          },
          "saveHtmlSnapshots": {
            "title": "Save HTML snapshots",
            "type": "boolean",
            "description": "Save limited HTML snapshots for failed website extraction cases. Use only for debugging because it increases storage usage.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}