{
  "openapi": "3.0.1",
  "info": {
    "title": "US New Business Filings - LLC & Corporation Registrations",
    "description": "Daily feed of newly registered LLCs and corporations from official state sources (FL, NY, TX, CO, PA, OR, CT, IA, DC). Returns only filings new since your last run, with addresses and registered agents.",
    "version": "0.1",
    "x-build-id": "b4njzj5ussI5gcSoe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bladedev~us-business-filings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bladedev-us-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/bladedev~us-business-filings/runs": {
      "post": {
        "operationId": "runs-sync-bladedev-us-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/bladedev~us-business-filings/run-sync": {
      "post": {
        "operationId": "run-sync-bladedev-us-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": "States to include. Each comes from the state's own official source: Florida daily filing file, open-data registries of New York, Colorado, Pennsylvania, Oregon, Connecticut, Iowa and the District of Columbia, and the Texas Comptroller franchise tax roll.",
            "items": {
              "type": "string",
              "enum": [
                "FL",
                "NY",
                "TX",
                "CO",
                "PA",
                "OR",
                "CT",
                "IA",
                "DC"
              ],
              "enumTitles": [
                "Florida",
                "New York",
                "Texas",
                "Colorado",
                "Pennsylvania",
                "Oregon",
                "Connecticut",
                "Iowa",
                "District of Columbia"
              ]
            },
            "default": [
              "FL",
              "NY",
              "TX",
              "CO",
              "PA",
              "OR",
              "CT",
              "IA",
              "DC"
            ]
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "newSinceLastRun",
              "dateRange"
            ],
            "type": "string",
            "description": "New since last run: returns only filings this monitor has not delivered before (schedule it daily). Date range: returns every filing in the dates below, without remembering anything.",
            "default": "newSinceLastRun"
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "Date range mode only. First filing date to include (YYYY-MM-DD). Defaults to 6 days before the run. A range can span at most 31 days; split longer periods into several runs."
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "Date range mode only. Last filing date to include (YYYY-MM-DD). Defaults to the day of the run."
          },
          "firstRunDays": {
            "title": "First run: days of history",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "New since last run mode only. On the very first run of a monitor, deliver filings from this many most recent days; older filings in the lookback window are remembered but not delivered or charged.",
            "default": 1
          },
          "entityClasses": {
            "title": "Entity types",
            "type": "array",
            "description": "Keep only these entity types. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "llc",
                "corporation",
                "nonprofit",
                "lp",
                "llp",
                "cooperative",
                "trust",
                "assumed_name",
                "other",
                "unknown"
              ],
              "enumTitles": [
                "LLC",
                "Corporation",
                "Nonprofit",
                "Limited partnership",
                "LLP",
                "Cooperative",
                "Trust",
                "Assumed / trade name (DBA)",
                "Other",
                "Unknown"
              ]
            }
          },
          "includeParties": {
            "title": "Include named people",
            "type": "boolean",
            "description": "Include officers, organizers, managers and other people the state lists for each business (public record). Turn off to output business-level data only.",
            "default": true
          },
          "maxItems": {
            "title": "Max filings",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after delivering this many filings in one run.",
            "default": 10000
          },
          "monitorName": {
            "title": "Monitor name",
            "pattern": "^[a-zA-Z0-9-]{1,40}$",
            "type": "string",
            "description": "Separate monitors keep separate memories of what was delivered. Use a different name for each saved task that should not share results.",
            "default": "default"
          },
          "socrataAppToken": {
            "title": "Socrata app token",
            "type": "string",
            "description": "Optional free app token from any Socrata open-data portal. Raises the request limits of the state open-data APIs."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}