{
  "openapi": "3.0.1",
  "info": {
    "title": "Connecticut New Business Filings Feed",
    "description": "New LLCs and corporations registered in Connecticut, from the official CT Business Registry open data. Business facts only, no person names. Bilingual EN/ES.",
    "version": "0.1",
    "x-build-id": "YukCRuI702c4seDTa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tasavera~ct-new-business-filings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tasavera-ct-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/tasavera~ct-new-business-filings/runs": {
      "post": {
        "operationId": "runs-sync-tasavera-ct-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/tasavera~ct-new-business-filings/run-sync": {
      "post": {
        "operationId": "run-sync-tasavera-ct-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": {
          "mode": {
            "title": "Mode / Modo",
            "enum": [
              "dateRange",
              "newSinceLastRun"
            ],
            "type": "string",
            "description": "EN: Pick a date range, or only get filings that are new since your last run (the actor remembers what it already sent you). ES: Elija un rango de fechas, o reciba solo los registros nuevos desde su ultima ejecucion (el actor recuerda lo que ya le envio).",
            "default": "dateRange"
          },
          "dateFrom": {
            "title": "Registered from / Registrada desde",
            "type": "string",
            "description": "EN: First registration date (YYYY-MM-DD). Default: 30 days ago. ES: Primera fecha de registro (AAAA-MM-DD). Por defecto: hace 30 dias."
          },
          "dateTo": {
            "title": "Registered to / Registrada hasta",
            "type": "string",
            "description": "EN: Last registration date (YYYY-MM-DD). Default: today. ES: Ultima fecha de registro (AAAA-MM-DD). Por defecto: hoy."
          },
          "towns": {
            "title": "Towns / Municipios",
            "type": "array",
            "description": "EN: Connecticut towns or cities, for example Hartford, Stamford. Leave empty for all. ES: Municipios o ciudades de Connecticut, por ejemplo Hartford, Stamford. Deje vacio para todos.",
            "items": {
              "type": "string"
            }
          },
          "naicsPrefixes": {
            "title": "NAICS codes / Codigos NAICS",
            "type": "array",
            "description": "EN: NAICS industry code prefixes, for example 23 (construction) or 722 (restaurants). Leave empty for all. ES: Prefijos de codigo de industria NAICS, por ejemplo 23 (construccion) o 722 (restaurantes). Deje vacio para todos.",
            "items": {
              "type": "string"
            }
          },
          "industryKeyword": {
            "title": "Industry keyword / Palabra clave de industria",
            "type": "string",
            "description": "EN: Optional word to match in the official NAICS title, for example 'landscaping'. ES: Palabra opcional que debe aparecer en el titulo oficial NAICS (en ingles), por ejemplo 'landscaping'."
          },
          "entityTypes": {
            "title": "Entity types / Tipos de entidad",
            "type": "array",
            "description": "EN: Leave empty for all. Stock = corporation, Non-Stock = nonprofit corporation. ES: Deje vacio para todos. Stock = corporacion, Non-Stock = corporacion sin fines de lucro.",
            "items": {
              "type": "string",
              "enum": [
                "LLC",
                "Stock",
                "Non-Stock",
                "LLP",
                "Limited Partnership",
                "Statutory Trust",
                "B Corp",
                "Religious",
                "General Partnerships",
                "Bank Stock"
              ]
            }
          },
          "statuses": {
            "title": "Status / Estado",
            "type": "array",
            "description": "EN: Registry status, for example Active, Dissolved, Forfeited. Leave empty for all. ES: Estado en el registro, por ejemplo Active, Dissolved, Forfeited. Deje vacio para todos.",
            "default": [
              "Active"
            ],
            "items": {
              "type": "string"
            }
          },
          "includeStreetAddress": {
            "title": "Include street address / Incluir direccion",
            "type": "boolean",
            "description": "EN: Off by default. Turn on to add the business street address as listed in the registry. Small businesses often list a home address, so use it responsibly. ES: Apagado por defecto. Activelo para agregar la direccion de la empresa tal como aparece en el registro. Muchas empresas pequenas usan una direccion de casa, uselo con responsabilidad.",
            "default": false
          },
          "maxItems": {
            "title": "Max results / Maximo de resultados",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "EN: Hard cap on records returned (and charged). ES: Limite de registros entregados (y cobrados).",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}