{
  "openapi": "3.0.1",
  "info": {
    "title": "New NPI Providers Feed: weekly new US healthcare providers",
    "description": "Doctors, nurse practitioners, dentists, clinics, agencies and suppliers that just got a new NPI, from the official CMS NPPES weekly files. Filter by state, ZIP, category or taxonomy code; get only NPIs you have not seen. A new NPI is an ID, not a licence, credential or proof a practice opened.",
    "version": "0.0",
    "x-build-id": "hgQYs7WNIwqh39jf0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/asunoki~nppes-new-providers-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-asunoki-nppes-new-providers-feed",
        "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/asunoki~nppes-new-providers-feed/runs": {
      "post": {
        "operationId": "runs-sync-asunoki-nppes-new-providers-feed",
        "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/asunoki~nppes-new-providers-feed/run-sync": {
      "post": {
        "operationId": "run-sync-asunoki-nppes-new-providers-feed",
        "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 (practice location)",
            "type": "array",
            "description": "Two-letter codes such as CA, TX, NY. Leave empty for all states and territories.",
            "items": {
              "type": "string"
            }
          },
          "entityTypes": {
            "title": "Provider types",
            "type": "array",
            "description": "Leave empty for both.",
            "items": {
              "type": "string",
              "enum": [
                "individual",
                "organization"
              ],
              "enumTitles": [
                "Individuals (doctors, nurses, therapists, ...)",
                "Organizations (clinics, agencies, pharmacies, suppliers, ...)"
              ]
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Broad groups (our own labels) based on the provider's self-selected primary taxonomy code: not a licence, board certification or verified specialty. Leave empty for all. For an exact specialty use taxonomy codes below.",
            "items": {
              "type": "string",
              "enum": [
                "physician",
                "nurse-practitioner",
                "physician-assistant",
                "other-advanced-practice",
                "nurse",
                "behavioral-health",
                "dental",
                "chiropractor",
                "podiatrist",
                "eye-vision",
                "pharmacist",
                "therapy-rehab",
                "dietitian-nutrition",
                "emergency-medical-services",
                "technologist-technician",
                "other-individual-service",
                "personal-care-support",
                "student-in-training",
                "group-practice",
                "clinic-center",
                "hospital",
                "agency",
                "laboratory",
                "managed-care",
                "nursing-residential-facility",
                "pharmacy",
                "supplier",
                "transportation",
                "respite-care",
                "other"
              ],
              "enumTitles": [
                "Physician (MD/DO)",
                "Nurse practitioner",
                "Physician assistant",
                "Other advanced practice (CRNA, midwife, CNS)",
                "Nurse (RN, LPN)",
                "Behavioral / mental health",
                "Dental",
                "Chiropractor",
                "Podiatrist",
                "Eye and vision",
                "Pharmacist",
                "Rehab and therapy (PT, OT, speech, ...)",
                "Dietitian / nutrition",
                "EMT / paramedic",
                "Technologist / technician",
                "Other individual services",
                "Personal care and support",
                "Student or trainee",
                "Group practice",
                "Clinic or center",
                "Hospital",
                "Agency (home health, hospice, ...)",
                "Laboratory",
                "Managed care",
                "Nursing home / residential care",
                "Pharmacy (organization)",
                "Supplier (DME, prosthetics, ...)",
                "Transportation",
                "Respite care",
                "Other / not mapped"
              ]
            }
          },
          "taxonomyPrefixes": {
            "title": "Taxonomy codes (or their start)",
            "type": "array",
            "description": "Matches the primary taxonomy code, e.g. 207Q00000X (family medicine), 261QU0200X (urgent care), or a prefix such as 261Q (all clinics). Code list: nucc.org.",
            "items": {
              "type": "string"
            }
          },
          "zipPrefixes": {
            "title": "ZIP codes or prefixes",
            "type": "array",
            "description": "3 to 5 digits, e.g. 100 or 94110.",
            "items": {
              "type": "string"
            }
          },
          "organizationNameContains": {
            "title": "Organization name contains",
            "type": "array",
            "description": "Only organizations whose legal name, DBA or parent organization contains one of these words, e.g. DENTAL, URGENT, HOME HEALTH.",
            "items": {
              "type": "string"
            }
          },
          "excludeSubparts": {
            "title": "Exclude organization subparts",
            "type": "boolean",
            "description": "Subparts are new locations or units of an existing organization (e.g. a hospital system's new clinic). Turn on to get only standalone new organizations.",
            "default": false
          },
          "weeks": {
            "title": "Weekly files to read",
            "minimum": 1,
            "maximum": 2,
            "type": "integer",
            "description": "CMS publishes only the two latest weekly files. With \"only new\" on, 2 means a weekly or bi-weekly schedule misses nothing.",
            "default": 2
          },
          "onlyNew": {
            "title": "Only NPIs not output before (for schedules)",
            "type": "boolean",
            "description": "Remembered per filter set in a named key-value store. Turn off to get the whole window every time.",
            "default": true
          },
          "includeIndividualStreetAndPhone": {
            "title": "Include street address and phone of individual providers",
            "type": "boolean",
            "description": "Off by default: CMS notes that some individual providers (e.g. telehealth) list their home as practice location. When off, individuals get city, state and 5-digit ZIP only. Organizations always include practice address and phone.",
            "default": false
          },
          "includeAuthorizedOfficial": {
            "title": "Include authorized official name and title (organizations)",
            "type": "boolean",
            "description": "The person who registered the organization's NPI and their title. Their phone number is never output.",
            "default": false
          },
          "maxItems": {
            "title": "Max providers per run",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "You are charged per provider stored, so this caps the cost of a run. About 10,000 NPIs are created nationally each week. Providers cut by the limit stay new for the next run.",
            "default": 500
          },
          "stateStoreName": {
            "title": "State store name (advanced)",
            "type": "string",
            "description": "Leave empty to use the default."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}