{
  "openapi": "3.0.1",
  "info": {
    "title": "New Business Filings USA - Newly Registered LLCs & Companies",
    "description": "Get newly registered US companies (LLCs, corporations, nonprofits) from state registries: New York, Colorado, Connecticut, Oregon. Input: states, filed-within days, entity types, name keywords, NAICS, ZIP. Returns per filing: name, entity type, filing date, city, ZIP, NAICS. Default: 20 filings.",
    "version": "1.0",
    "x-build-id": "H4KGOLW3hqbXx89tf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kadi_bence~us-new-business-filings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kadi_bence-us-new-business-filings",
        "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/kadi_bence~us-new-business-filings/runs": {
      "post": {
        "operationId": "runs-sync-kadi_bence-us-new-business-filings",
        "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/kadi_bence~us-new-business-filings/run-sync": {
      "post": {
        "operationId": "run-sync-kadi_bence-us-new-business-filings",
        "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": "State registries to read. Leave empty for all four. New York, Colorado and Connecticut update daily; Oregon weekly, so use a window of 10+ days to get Oregon rows. Other states (e.g. Texas) are not included.",
            "items": {
              "type": "string",
              "enum": [
                "NY",
                "CO",
                "CT",
                "OR"
              ],
              "enumTitles": [
                "New York",
                "Colorado",
                "Connecticut",
                "Oregon"
              ]
            }
          },
          "filedWithinDays": {
            "title": "Filed within the last N days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "e.g. 3 for the last three days plus today (good for a daily run), 7 for a week. Ignored when 'Filed from' is set. Leave empty to use the date range below (or the last 7 days when both are empty)."
          },
          "filedFrom": {
            "title": "Filed from",
            "type": "string",
            "description": "First filing / formation date (YYYY-MM-DD)."
          },
          "filedTo": {
            "title": "Filed to",
            "type": "string",
            "description": "Last filing / formation date (YYYY-MM-DD)."
          },
          "entityTypes": {
            "title": "Entity types",
            "type": "array",
            "description": "Leave empty for all types except assumed business names. Assumed names (DBAs, Oregon only) are mostly sole proprietors and are only returned when you select them; their street address is never output.",
            "items": {
              "type": "string",
              "enum": [
                "llc",
                "corporation",
                "nonprofit",
                "partnership",
                "cooperative",
                "other",
                "assumed_name"
              ],
              "enumTitles": [
                "LLC (incl. professional LLC)",
                "Corporation (for-profit, professional, benefit)",
                "Nonprofit corporation",
                "Partnership (LP, LLP, LLLP, general)",
                "Cooperative",
                "Other (trusts, corporations sole...)",
                "Assumed business name / DBA (Oregon)"
              ]
            }
          },
          "formation": {
            "title": "Formed in",
            "enum": [
              "any",
              "domestic",
              "foreign"
            ],
            "type": "string",
            "description": "Domestic = formed in that state (brand-new businesses). Foreign = companies from another state or country registering to do business there (expansion signal).",
            "default": "any"
          },
          "nameKeywords": {
            "title": "Keywords in the business name",
            "type": "array",
            "description": "Case-insensitive words in the business name, e.g. 'construction', 'dental', 'capital'. Several lines = any of them (up to 50). It is a substring match, so use full words.",
            "items": {
              "type": "string"
            }
          },
          "naicsCodes": {
            "title": "NAICS industry codes (Connecticut only)",
            "type": "array",
            "description": "Only Connecticut publishes the industry code of new businesses. Prefixes work: 54 = all professional services, 5415 = IT services. Setting this limits the run to Connecticut.",
            "items": {
              "type": "string"
            }
          },
          "zipCodes": {
            "title": "ZIP codes",
            "type": "array",
            "description": "ZIP codes or prefixes (1 to 5 digits) of the business address, e.g. 10001 or 100 (Manhattan) or 80 (most of Colorado). Digits only.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many filings (newest first, shared round-robin between the states, so small runs still show every state). 0 = no limit. The default without input (API, MCP and AI-agent calls) is 20.",
            "default": 20
          },
          "onlyNewFilings": {
            "title": "Only new filings (monitoring mode)",
            "type": "boolean",
            "description": "Remember returned filings and output only NEW ones on the next runs with the same filters (the date window can change). Ideal for a daily schedule: you only pay for new businesses.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Keeps separate 'already seen' lists for different schedules.",
            "default": "default"
          },
          "socrataAppToken": {
            "title": "Socrata app token (optional)",
            "type": "string",
            "description": "Not needed. The state portals throttle anonymous traffic shared by many users; your own free Socrata app token (create one in any portal's developer settings) gives this run its own quota. Stored encrypted, never logged or saved."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}