{
  "openapi": "3.0.1",
  "info": {
    "title": "Business Entity Search: New LLC Filings & Secretary of State",
    "description": "US business entity search and new business filings from state open data (NY, CO, TX, CT, OR): LLC search by name or id, and new LLCs and corporations filed this week, with registered agent, address and officers. For leads and KYB. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "0pcH7rXeVy1jvFUiH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~business-entity-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-business-entity-search",
        "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/steadyscrape~business-entity-search/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-business-entity-search",
        "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/steadyscrape~business-entity-search/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-business-entity-search",
        "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": "What to get",
            "enum": [
              "newFilings",
              "search"
            ],
            "type": "string",
            "description": "<b>New filings</b>: new LLCs, corporations and other entities filed in the last days, for lead lists and monitoring. <b>Search</b>: entities by name, by entity id, or by the filters below alone.",
            "default": "search"
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "The states to read, each from its official open-data portal. Empty reads all five. Texas publishes weekly and its newest charters are about two weeks old (see the README).",
            "items": {
              "type": "string",
              "enum": [
                "NY",
                "CO",
                "TX",
                "CT",
                "OR"
              ],
              "enumTitles": [
                "New York",
                "Colorado",
                "Texas",
                "Connecticut",
                "Oregon"
              ]
            },
            "default": [
              "NY",
              "CO",
              "TX",
              "CT",
              "OR"
            ]
          },
          "filedInLastDays": {
            "title": "Filed in the last days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "New filings mode: entities formed or registered in the last N days, today included. 7 is a week; for Texas use 30, because its file runs about two weeks behind. For a daily schedule, turn on \"Only new entities\" so nothing is delivered twice.",
            "default": 7
          },
          "nyFilingTypes": {
            "title": "New York filing types",
            "type": "array",
            "description": "New filings mode, New York only: which filings of its daily table to read. Empty reads the formations: Articles of Organization (LLCs), Certificates of Incorporation, Applications of Authority (foreign entities), Certificates of Limited Partnership and LLP registrations.",
            "items": {
              "type": "string",
              "enum": [
                "ARTICLES OF ORGANIZATION",
                "CERTIFICATE OF INCORPORATION",
                "APPLICATION OF AUTHORITY",
                "CERTIFICATE OF LIMITED PARTNERSHIP",
                "NOTICE OF REGISTRATION",
                "CERTIFICATE OF REGISTRATION",
                "CERTIFICATE OF PUBLICATION",
                "BIENNIAL STATEMENT",
                "CERTIFICATE OF ASSUMED NAME",
                "CERTIFICATE OF CHANGE BY ENTITY",
                "CERTIFICATE OF AMENDMENT",
                "CERTIFICATE OF MERGER",
                "CERTIFICATE OF DISSOLUTION-CANCELLATION",
                "DISSOLUTION BY PROCLAMATION",
                "SURRENDER OF AUTHORITY",
                "CERTIFICATE OF TERMINATION"
              ],
              "enumTitles": [
                "Articles of Organization",
                "Certificate of Incorporation",
                "Application of Authority",
                "Certificate of Limited Partnership",
                "Notice of Registration",
                "Certificate of Registration",
                "Certificate of Publication",
                "Biennial Statement",
                "Certificate of Assumed Name",
                "Certificate of Change by Entity",
                "Certificate of Amendment",
                "Certificate of Merger",
                "Certificate of Dissolution-Cancellation",
                "Dissolution by Proclamation",
                "Surrender of Authority",
                "Certificate of Termination"
              ]
            },
            "default": []
          },
          "names": {
            "title": "Entity names",
            "type": "array",
            "description": "Names to search, e.g. <code>Blue Ocean</code> or <code>roofing</code>. Each name is searched in every chosen state. In new filings mode a name narrows the new filings to it.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "nameMatch": {
            "title": "Name match",
            "enum": [
              "contains",
              "startsWith",
              "exact"
            ],
            "type": "string",
            "description": "How a name is compared, case aside.",
            "default": "contains"
          },
          "entityIds": {
            "title": "Entity ids",
            "type": "array",
            "description": "The state's own numbers, each with its state: <code>NY:4424185</code> (DOS ID), <code>CO:20268377432</code>, <code>TX:32107718275</code> (taxpayer number) or a Texas SOS file number, <code>CT:3549226</code>, <code>OR:265111592</code>. A run with ids reads only the ids.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "entityTypes": {
            "title": "Entity types",
            "type": "array",
            "description": "Keep entities of any of these kinds; each state's own type stays in the output. Empty keeps every kind.",
            "items": {
              "type": "string",
              "enum": [
                "llc",
                "corporation",
                "nonprofit",
                "partnership",
                "other"
              ],
              "enumTitles": [
                "LLC",
                "Corporation",
                "Nonprofit",
                "Partnership (LP, LLP, general)",
                "Other (trusts, cooperatives, assumed names…)"
              ]
            },
            "default": []
          },
          "origin": {
            "title": "Domestic or foreign",
            "enum": [
              "any",
              "domestic",
              "foreign"
            ],
            "type": "string",
            "description": "Domestic entities were formed in the state; foreign ones were formed elsewhere and registered to do business there.",
            "default": "any"
          },
          "onlyActive": {
            "title": "Only active entities",
            "type": "boolean",
            "description": "Leave out dissolved, withdrawn, forfeited and merged entities (Colorado, Texas and Connecticut list them; New York and Oregon publish active entities only).",
            "default": false
          },
          "zipCodes": {
            "title": "ZIP codes",
            "type": "array",
            "description": "Keep entities whose principal address (New York: its address for process) starts with any of these: <code>10001</code>, or <code>100</code> for the area.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Keep entities whose principal address is in any of these cities, e.g. <code>Denver</code>.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "nyCounties": {
            "title": "New York counties",
            "type": "array",
            "description": "New York only: the county of the principal office, e.g. <code>Kings</code> (Brooklyn), <code>New York</code> (Manhattan), <code>Queens</code>. The other states publish no county.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Include officers, agents and filing history",
            "type": "boolean",
            "description": "Join each entity with the state's other tables: Connecticut's principals, registered agent (with phone and email) and filings; New York's filing history, and for new filings its registered agent and chairman; Colorado's transaction history. A row the join adds something to is charged as an entity with officers. Texas and Oregon have no table to join.",
            "default": false
          },
          "onlyNewEntities": {
            "title": "Only new entities",
            "type": "boolean",
            "description": "For a schedule: skip entities an earlier run of this same input already delivered, so each run delivers only new ones.",
            "default": false
          },
          "maxResultsPerState": {
            "title": "Maximum entities per state",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The most entities each state delivers in one run, newest first.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}