{
  "openapi": "3.0.1",
  "info": {
    "title": "NY Business Registry Scraper",
    "description": "Search every active New York State business entity (LLCs, corporations, partnerships, not-for-profits) by name, DOS ID, county, entity type or filing date. Returns filing date, county, jurisdiction, process address, registered agent and chairman from the NY Department of State registry.",
    "version": "0.1",
    "x-build-id": "ijLdYRIPHBDJImJsp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jungle_synthesizer~ny-business-registry-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jungle_synthesizer-ny-business-registry-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~ny-business-registry-scraper/runs": {
      "post": {
        "operationId": "runs-sync-jungle_synthesizer-ny-business-registry-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~ny-business-registry-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-jungle_synthesizer-ny-business-registry-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",
        "required": [
          "maxItems"
        ],
        "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."
          },
          "searchTerms": {
            "title": "Entity name contains",
            "type": "array",
            "description": "Business names (or fragments) to look for. A record matches when its current entity name contains any of the terms, case-insensitive. Leave empty to browse by the other filters.",
            "items": {
              "type": "string"
            }
          },
          "dosIds": {
            "title": "DOS IDs",
            "type": "array",
            "description": "Exact New York Department of State ID numbers to look up (numbers only). A record matching either a name term or a DOS ID is returned.",
            "items": {
              "type": "string"
            }
          },
          "counties": {
            "title": "Counties",
            "type": "array",
            "description": "Only entities whose county of record is one of these. Leave empty for all counties.",
            "items": {
              "type": "string",
              "enum": [
                "Albany",
                "Allegany",
                "Bronx",
                "Broome",
                "Cattaraugus",
                "Cayuga",
                "Chautauqua",
                "Chemung",
                "Chenango",
                "Clinton",
                "Columbia",
                "Cortland",
                "Delaware",
                "Dutchess",
                "Erie",
                "Essex",
                "Franklin",
                "Fulton",
                "Genesee",
                "Greene",
                "Hamilton",
                "Herkimer",
                "Jefferson",
                "Kings",
                "Lewis",
                "Livingston",
                "Madison",
                "Monroe",
                "Montgomery",
                "Nassau",
                "New York",
                "Niagara",
                "Oneida",
                "Onondaga",
                "Ontario",
                "Orange",
                "Orleans",
                "Oswego",
                "Otsego",
                "Putnam",
                "Queens",
                "Rensselaer",
                "Richmond",
                "Rockland",
                "Saratoga",
                "Schenectady",
                "Schoharie",
                "Schuyler",
                "Seneca",
                "Steuben",
                "St. Lawrence",
                "Suffolk",
                "Sullivan",
                "Tioga",
                "Tompkins",
                "Ulster",
                "Unknown",
                "Warren",
                "Washington",
                "Wayne",
                "Westchester",
                "Wyoming",
                "Yates"
              ],
              "enumTitles": [
                "Albany",
                "Allegany",
                "Bronx",
                "Broome",
                "Cattaraugus",
                "Cayuga",
                "Chautauqua",
                "Chemung",
                "Chenango",
                "Clinton",
                "Columbia",
                "Cortland",
                "Delaware",
                "Dutchess",
                "Erie",
                "Essex",
                "Franklin",
                "Fulton",
                "Genesee",
                "Greene",
                "Hamilton",
                "Herkimer",
                "Jefferson",
                "Kings",
                "Lewis",
                "Livingston",
                "Madison",
                "Monroe",
                "Montgomery",
                "Nassau",
                "New York",
                "Niagara",
                "Oneida",
                "Onondaga",
                "Ontario",
                "Orange",
                "Orleans",
                "Oswego",
                "Otsego",
                "Putnam",
                "Queens",
                "Rensselaer",
                "Richmond",
                "Rockland",
                "Saratoga",
                "Schenectady",
                "Schoharie",
                "Schuyler",
                "Seneca",
                "Steuben",
                "St. Lawrence",
                "Suffolk",
                "Sullivan",
                "Tioga",
                "Tompkins",
                "Ulster",
                "Unknown",
                "Warren",
                "Washington",
                "Wayne",
                "Westchester",
                "Wyoming",
                "Yates"
              ]
            }
          },
          "entityTypes": {
            "title": "Entity types",
            "type": "array",
            "description": "Only entities of these types (LLC, business corporation, not-for-profit, and so on). Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "DOMESTIC LIMITED LIABILITY COMPANY",
                "DOMESTIC BUSINESS CORPORATION",
                "DOMESTIC NOT-FOR-PROFIT CORPORATION",
                "FOREIGN LIMITED LIABILITY COMPANY",
                "FOREIGN BUSINESS CORPORATION",
                "DOMESTIC PROFESSIONAL SERVICE CORPORATION",
                "DOMESTIC PROFESSIONAL SERVICE LIMITED LIABILITY COMPANY",
                "FOREIGN LIMITED PARTNERSHIP",
                "DOMESTIC LIMITED PARTNERSHIP",
                "FOREIGN NOT-FOR-PROFIT CORPORATION",
                "DOMESTIC REGISTERED LIMITED LIABILITY PARTNERSHIP",
                "DOMESTIC NOT-FOR-PROFIT CORPORATION (HOUSING DEVELOPMENT FUND COMPANY) (ARTICLE XI)",
                "FOREIGN PROFESSIONAL SERVICE CORPORATION",
                "DOMESTIC BENEVOLENT ORDER",
                "FOREIGN PROFESSIONAL SERVICE LIMITED LIABILITY COMPANY",
                "DOMESTIC BENEFIT CORPORATION",
                "DOMESTIC HOUSING DEVELOPMENT FUND COMPANY (ARTICLE XI)",
                "FOREIGN GENERAL ASSOCIATION",
                "DOMESTIC COOPERATIVE CORPORATION",
                "NEW YORK REGISTERED FOREIGN LIMITED LIABILITY PARTNERSHIP",
                "DOMESTIC CONDOMINIUM",
                "DOMESTIC GENERAL ASSOCIATION",
                "DOMESTIC RELIGIOUS CORPORATION",
                "DOMESTIC TRANSPORTATION CORPORATION",
                "DOMESTIC DESIGN PROFESSIONAL SERVICE CORPORATION",
                "DOMESTIC NOT-FOR-PROFIT CORPORATION (BOARD OF TRADE AND CHAMBER OF COMMERCE CORPORATION)",
                "DOMESTIC NOT-FOR-PROFIT CORPORATION (UNIVERSITY FACULTY PRACTICE CORPORATION)",
                "DOMESTIC PUBLIC BENEFIT CORPORATION",
                "DOMESTIC NOT-FOR-PROFIT CORPORATION (COMMUNITY MENTAL HEALTH SERVICES AND MENTAL RETARDATION SERVICES COMPANIES)",
                "DOMESTIC NOT-FOR-PROFIT CORPORATION (LOCAL DEVELOPMENT CORPORATION)",
                "DOMESTIC COOPERATIVE CORPORATION (WORKER COOPERATIVE)",
                "DOMESTIC LIMITED-PROFIT HOUSING COMPANY (ARTICLE 2 PHFL & NPCL)",
                "DOMESTIC REDEVELOPMENT COMPANY (ARTICLE V)",
                "DOMESTIC NOT-FOR-PROFIT CORPORATION (LAND BANK)",
                "DOMESTIC NOT-FOR-PROFIT CORPORATION (FIRE CORPORATION)",
                "DOMESTIC REDEVELOPMENT COMPANY (LIMITED LIABILITY COMPANY)",
                "DOMESTIC JOINT STOCK ASSOCIATION",
                "UNAUTHORIZED FOREIGN BUSINESS CORPORATION",
                "DOMESTIC LIMITED-PROFIT HOUSING COMPANY (ARTICLE 2 PHFL & BCL)",
                "DOMESTIC NOT-FOR-PROFIT CORPORATION (MILITIA ASSOCIATION)",
                "DOMESTIC NOT-FOR-PROFIT CORPORATION (PUBLIC CEMETERY CORPORATION)",
                "DOMESTIC RAILROAD CORPORATION",
                "FOREIGN COOPERATIVE CORPORATION",
                "FOREIGN RELIGIOUS CORPORATION",
                "UNAUTHORIZED FOREIGN LIMITED LIABILITY COMPANY",
                "DOMESTIC GOVERNMENTAL AGENCY",
                "DOMESTIC REDEVELOPMENT COMPANY (LIMITED PARTNERSHIP)",
                "GENERAL ASSOCIATION DESIGNATION",
                "DOMESTIC RELIGIOUS CORPORATION (GOVERNING OR ADVISORY BODY)",
                "UNAUTHORIZED BUSINESS CORPORATION",
                "RESERVATION OF DOMESTIC LIMITED LIABILITY COMPANY",
                "FOREIGN DESIGNATION OF THE SECRETARY OF STATE",
                "DOMESTIC CONDOMINIUM DECLARATION"
              ],
              "enumTitles": [
                "Domestic Limited Liability Company",
                "Domestic Business Corporation",
                "Domestic Not-For-Profit Corporation",
                "Foreign Limited Liability Company",
                "Foreign Business Corporation",
                "Domestic Professional Service Corporation",
                "Domestic Professional Service Limited Liability Company",
                "Foreign Limited Partnership",
                "Domestic Limited Partnership",
                "Foreign Not-For-Profit Corporation",
                "Domestic Registered Limited Liability Partnership",
                "Domestic Not-For-Profit Corporation (Housing Development Fund Company) (Article Xi)",
                "Foreign Professional Service Corporation",
                "Domestic Benevolent Order",
                "Foreign Professional Service Limited Liability Company",
                "Domestic Benefit Corporation",
                "Domestic Housing Development Fund Company (Article Xi)",
                "Foreign General Association",
                "Domestic Cooperative Corporation",
                "New York Registered Foreign Limited Liability Partnership",
                "Domestic Condominium",
                "Domestic General Association",
                "Domestic Religious Corporation",
                "Domestic Transportation Corporation",
                "Domestic Design Professional Service Corporation",
                "Domestic Not-For-Profit Corporation (Board Of Trade And Chamber Of Commerce Corporation)",
                "Domestic Not-For-Profit Corporation (University Faculty Practice Corporation)",
                "Domestic Public Benefit Corporation",
                "Domestic Not-For-Profit Corporation (Community Mental Health Services And Mental Retardation Services Companies)",
                "Domestic Not-For-Profit Corporation (Local Development Corporation)",
                "Domestic Cooperative Corporation (Worker Cooperative)",
                "Domestic Limited-Profit Housing Company (Article 2 Phfl & Npcl)",
                "Domestic Redevelopment Company (Article V)",
                "Domestic Not-For-Profit Corporation (Land Bank)",
                "Domestic Not-For-Profit Corporation (Fire Corporation)",
                "Domestic Redevelopment Company (Limited Liability Company)",
                "Domestic Joint Stock Association",
                "Unauthorized Foreign Business Corporation",
                "Domestic Limited-Profit Housing Company (Article 2 Phfl & Bcl)",
                "Domestic Not-For-Profit Corporation (Militia Association)",
                "Domestic Not-For-Profit Corporation (Public Cemetery Corporation)",
                "Domestic Railroad Corporation",
                "Foreign Cooperative Corporation",
                "Foreign Religious Corporation",
                "Unauthorized Foreign Limited Liability Company",
                "Domestic Governmental Agency",
                "Domestic Redevelopment Company (Limited Partnership)",
                "General Association Designation",
                "Domestic Religious Corporation (Governing Or Advisory Body)",
                "Unauthorized Business Corporation",
                "Reservation Of Domestic Limited Liability Company",
                "Foreign Designation Of The Secretary Of State",
                "Domestic Condominium Declaration"
              ]
            }
          },
          "filedFrom": {
            "title": "Initial filing from (YYYY-MM-DD)",
            "type": "string",
            "description": "Only entities first filed with the Department of State on or after this date."
          },
          "filedTo": {
            "title": "Initial filing to (YYYY-MM-DD)",
            "type": "string",
            "description": "Only entities first filed on or before this date."
          },
          "maxItems": {
            "title": "Max Items",
            "type": "integer",
            "description": "Maximum number of entities to return.",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}