{
  "openapi": "3.0.1",
  "info": {
    "title": "New Healthcare Practices (Weekly NPI Registrations)",
    "description": "Every healthcare practice that registered with the federal NPI registry last week, across the U.S.: owner and direct phone, website, practice software, specialty and lead score. Updated weekly. $0.10 per practice.",
    "version": "1.0",
    "x-build-id": "OMMJeh6Rg9UTZk48f"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mavery~new-healthcare-practices/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mavery-new-healthcare-practices",
        "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/mavery~new-healthcare-practices/runs": {
      "post": {
        "operationId": "runs-sync-mavery-new-healthcare-practices",
        "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/mavery~new-healthcare-practices/run-sync": {
      "post": {
        "operationId": "run-sync-mavery-new-healthcare-practices",
        "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": {
          "states": {
            "title": "States",
            "type": "array",
            "description": "Only practices in these states. Leave empty for every state.",
            "items": {
              "type": "string",
              "enum": [
                "AL",
                "AK",
                "AZ",
                "AR",
                "CA",
                "CO",
                "CT",
                "DE",
                "DC",
                "FL",
                "GA",
                "HI",
                "ID",
                "IL",
                "IN",
                "IA",
                "KS",
                "KY",
                "LA",
                "ME",
                "MD",
                "MA",
                "MI",
                "MN",
                "MS",
                "MO",
                "MT",
                "NE",
                "NV",
                "NH",
                "NJ",
                "NM",
                "NY",
                "NC",
                "ND",
                "OH",
                "OK",
                "OR",
                "PA",
                "PR",
                "RI",
                "SC",
                "SD",
                "TN",
                "TX",
                "UT",
                "VT",
                "VA",
                "WA",
                "WV",
                "WI",
                "WY"
              ],
              "enumTitles": [
                "Alabama",
                "Alaska",
                "Arizona",
                "Arkansas",
                "California",
                "Colorado",
                "Connecticut",
                "Delaware",
                "District of Columbia",
                "Florida",
                "Georgia",
                "Hawaii",
                "Idaho",
                "Illinois",
                "Indiana",
                "Iowa",
                "Kansas",
                "Kentucky",
                "Louisiana",
                "Maine",
                "Maryland",
                "Massachusetts",
                "Michigan",
                "Minnesota",
                "Mississippi",
                "Missouri",
                "Montana",
                "Nebraska",
                "Nevada",
                "New Hampshire",
                "New Jersey",
                "New Mexico",
                "New York",
                "North Carolina",
                "North Dakota",
                "Ohio",
                "Oklahoma",
                "Oregon",
                "Pennsylvania",
                "Puerto Rico",
                "Rhode Island",
                "South Carolina",
                "South Dakota",
                "Tennessee",
                "Texas",
                "Utah",
                "Vermont",
                "Virginia",
                "Washington",
                "West Virginia",
                "Wisconsin",
                "Wyoming"
              ]
            }
          },
          "specialties": {
            "title": "Specialties",
            "type": "array",
            "description": "Only practices in these specialty groups. Leave empty for every specialty.",
            "items": {
              "type": "string",
              "enum": [
                "residential",
                "aba",
                "substance_use",
                "psychiatry",
                "counseling",
                "social_work",
                "psychology",
                "mft",
                "mh_clinics",
                "peer_chw",
                "community_health",
                "urgent_care",
                "primary_care",
                "pediatrics",
                "womens_health",
                "cardiology",
                "dermatology",
                "orthopedics",
                "neurology",
                "surgery",
                "anesthesia",
                "imaging",
                "labs",
                "dialysis",
                "ophthalmology",
                "schools",
                "nursing",
                "physical_therapy",
                "occupational_therapy",
                "speech_hearing",
                "rehab_clinics",
                "chiropractic",
                "podiatry",
                "optometry",
                "dietitians",
                "acupuncture_massage",
                "general_dentistry",
                "dental_specialists",
                "dental_hygiene",
                "home_health",
                "hospice",
                "home_care",
                "residential_idd",
                "senior_living",
                "doulas",
                "case_management",
                "orthotics_prosthetics",
                "dme",
                "pharmacy",
                "transport"
              ],
              "enumTitles": [
                "Residential treatment (psychiatric, youth, mental health, substance use)",
                "ABA / behavior analysis",
                "Substance use treatment",
                "Psychiatry & psychiatric NPs and nurses",
                "Counselors (LPC / LMHC)",
                "Clinical social workers",
                "Psychologists",
                "Marriage & family therapists",
                "Mental health clinics & agencies",
                "Peer specialists & community health workers",
                "Community health centers, FQHCs & rural health clinics",
                "Urgent care",
                "Primary care (family, internal, NPs, PAs)",
                "Pediatrics",
                "OB/GYN, midwives & women's health",
                "Cardiology",
                "Dermatology",
                "Orthopedics & sports medicine",
                "Neurology",
                "Surgery & surgery centers",
                "Anesthesia & pain",
                "Radiology & imaging",
                "Labs",
                "Dialysis",
                "Ophthalmology",
                "School-based services (LEAs)",
                "Nurse-owned practices (wound care, infusion, lactation)",
                "Physical therapy",
                "Occupational therapy",
                "Speech & hearing",
                "Rehab clinics & practitioners",
                "Chiropractic",
                "Podiatry",
                "Optometry",
                "Dietitians & nutrition",
                "Acupuncture & massage",
                "General dentistry",
                "Dental specialists (ortho, pediatric, oral surgery...)",
                "Dental hygienists",
                "Home health agencies",
                "Hospice",
                "Home care & aides",
                "IDD & disability services (group homes, day habilitation)",
                "Nursing & assisted living facilities",
                "Doulas",
                "Case management & care coordination",
                "Orthotics & prosthetics (O&P)",
                "DME & medical supplies",
                "Pharmacies",
                "Medical transport"
              ]
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Wider than specialties: only practices in these categories. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "behavioral",
                "medical",
                "dental",
                "therapy",
                "home_senior",
                "dme_transport"
              ],
              "enumTitles": [
                "Behavioral Health",
                "Medical Practices & Clinics",
                "Dental",
                "Therapy & Rehab",
                "Home Care & Senior Living",
                "DME, Pharmacy & Transport"
              ]
            }
          },
          "kinds": {
            "title": "Kind of new",
            "type": "array",
            "description": "Brand-new practices, new solo providers, or new locations of existing organizations. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "brand_new",
                "solo",
                "new_location"
              ],
              "enumTitles": [
                "Brand-new practices",
                "New solo providers",
                "New locations of existing organizations"
              ]
            }
          },
          "entityType": {
            "title": "Organizations or individuals",
            "enum": [
              "any",
              "organizations",
              "individuals"
            ],
            "type": "string",
            "description": "Organizations (group practices, agencies, clinics) or individual providers registered as sole proprietors.",
            "default": "any"
          },
          "weeks": {
            "title": "Weeks",
            "minimum": 1,
            "maximum": 13,
            "type": "integer",
            "description": "How many recent weeks to include, newest first (1 = last week, up to 13).",
            "default": 1
          },
          "onlyWithWebsite": {
            "title": "Only practices with a website",
            "type": "boolean",
            "description": "Skip practices with no website found.",
            "default": false
          },
          "onlyWithOwnerPhone": {
            "title": "Only practices with the owner's direct phone",
            "type": "boolean",
            "description": "Skip practices whose registry record lists no separate phone for the owner or authorized official.",
            "default": false
          },
          "maxResults": {
            "title": "Maximum practices",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many practices ($0.10 each). 0 = no limit.",
            "default": 50
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}