{
  "openapi": "3.0.1",
  "info": {
    "title": "US Healthcare NPI, OIG & Opt-Out Verifier (CMS Data)",
    "description": "Verify US healthcare NPI numbers or discover providers by specialty and state across CMS NPPES, HHS OIG LEIE exclusions, and Medicare Opt-Out records. Built for MCP AI agents and scheduled Make, n8n, and Zapier compliance workflows with SHA-256 audit reports.",
    "version": "0.0",
    "x-build-id": "f58BiQ7y9jgaipRt8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nathel-enterprise~us-healthcare-npi-oig-verifier/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nathel-enterprise-us-healthcare-npi-oig-verifier",
        "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/nathel-enterprise~us-healthcare-npi-oig-verifier/runs": {
      "post": {
        "operationId": "runs-sync-nathel-enterprise-us-healthcare-npi-oig-verifier",
        "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/nathel-enterprise~us-healthcare-npi-oig-verifier/run-sync": {
      "post": {
        "operationId": "run-sync-nathel-enterprise-us-healthcare-npi-oig-verifier",
        "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": {
          "npiNumbers": {
            "title": "NPI Numbers (Batch Verification Mode)",
            "maxItems": 500,
            "type": "array",
            "description": "Optional list of 10-digit US National Provider Identifier (NPI) strings to verify (up to 500 per run on paid plans; 25-record preview on Free plans). Accepts JSON arrays or comma/semicolon/newline-separated text from Make, n8n, or Zapier. Leave empty when using Specialty/State Lead Discovery filters below.",
            "items": {
              "type": "string"
            }
          },
          "taxonomyDescription": {
            "title": "Specialty / Taxonomy Filter (Discovery Mode)",
            "type": "string",
            "description": "Optional healthcare specialty or NUCC taxonomy keyword to discover and screen providers (for example: 'Family Medicine', 'Cardiology', 'Dentist', 'Physical Therapist', 'Psychiatry'). Used when npiNumbers is empty."
          },
          "enumerationType": {
            "title": "Provider Entity Type (Discovery Mode)",
            "enum": [
              "ALL",
              "NPI-1",
              "NPI-2"
            ],
            "type": "string",
            "description": "Filter provider discovery by Individual Clinicians (NPI-1), Organizations/Clinics (NPI-2), or All.",
            "default": "ALL"
          },
          "state": {
            "title": "2-Letter US State (Discovery Mode)",
            "type": "string",
            "description": "Optional 2-letter US state abbreviation for provider lead discovery (for example: 'TX', 'CA', 'FL', 'VA')."
          },
          "city": {
            "title": "City (Discovery Mode)",
            "type": "string",
            "description": "Optional city filter for provider lead discovery (for example: 'Houston', 'Virginia Beach')."
          },
          "postalCode": {
            "title": "ZIP / Postal Code (Discovery Mode)",
            "type": "string",
            "description": "Optional 5-digit ZIP code or 3-digit prefix (with trailing *) for geographic provider discovery."
          },
          "organizationName": {
            "title": "Organization / Clinic Name (Discovery Mode)",
            "type": "string",
            "description": "Optional clinic, hospital, or medical group name filter (supports trailing * after 2+ characters)."
          },
          "maxResults": {
            "title": "Maximum Verified Records",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum verified provider records to return per run (1 to 500 on paid plans; capped at 25 on Free plans).",
            "default": 25
          },
          "includeDeepEnrichment": {
            "title": "Include Deep Compliance Enrichment (Add-On Event)",
            "type": "boolean",
            "description": "When true, appends full practice street address, authorized official details, enumeration/certification dates, secondary licenses/taxonomies, and OIG name+state fuzzy watchlist cross-checks per verified record (triggers deep-enrichment event).",
            "default": false
          },
          "alertWebhookUrl": {
            "title": "Compliance Alert Webhook URL (Optional)",
            "type": "string",
            "description": "Optional HTTPS webhook URL (Slack, Microsoft Teams, Make, n8n, or Zapier) notified automatically on scheduled monitoring runs."
          },
          "alertOnChangesOnly": {
            "title": "Webhook Alert on Flags or Changes Only",
            "type": "boolean",
            "description": "When true (default), dispatches webhook alerts only when a provider is FLAGGED, REVIEW_REQUIRED, or newly changed since the last scheduled run.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}