{
  "openapi": "3.0.1",
  "info": {
    "title": "US Company Verification (KYB) & New LLC Filings by State",
    "description": "Verify US companies against the official business registers of New York, Colorado, Connecticut, Oregon, Texas and Pennsylvania: status, formation date, entity type, address, registered agent. Not found costs nothing. Or list the companies formed between two dates, with email in Connecticut",
    "version": "1.0",
    "x-build-id": "UFY9zYsnSo5YBeWcL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wellbuilt_zythem~us-company-check/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wellbuilt_zythem-us-company-check",
        "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/wellbuilt_zythem~us-company-check/runs": {
      "post": {
        "operationId": "runs-sync-wellbuilt_zythem-us-company-check",
        "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/wellbuilt_zythem~us-company-check/run-sync": {
      "post": {
        "operationId": "run-sync-wellbuilt_zythem-us-company-check",
        "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",
            "enum": [
              "verify",
              "new_filings"
            ],
            "type": "string",
            "description": "Verify a list of company names, or list the companies formed between two dates.",
            "default": "verify"
          },
          "companies": {
            "title": "Companies to verify",
            "type": "array",
            "description": "One name per line, as written on an invoice or a contract: \"Acme Holdings LLC\". Add \"| CO, TX\" to search only those states for that name. Punctuation and legal-form spelling do not matter (Inc / Inc. / Incorporated).",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "Two-letter codes: NY, CO, CT, OR, TX, PA. Empty for all six.",
            "items": {
              "type": "string"
            }
          },
          "includePartialMatches": {
            "title": "Also return names that start with yours",
            "type": "boolean",
            "description": "\"Acme\" also returns \"ACME WIDGETS LLC\". Off by default: only the same name (exact, or with another legal form) is returned and charged.",
            "default": false
          },
          "checkNewYorkInactive": {
            "title": "Check New York's full history",
            "type": "boolean",
            "description": "New York publishes active companies apart. When a name is not among them, look it up in the full filing history and read its last status (Active, Inactive, Suspended). Adds 3-4 seconds per name.",
            "default": true
          },
          "formedWithinDays": {
            "title": "Formed in the last N days",
            "minimum": 1,
            "type": "integer",
            "description": "New company filings mode. Default 7. Texas and Pennsylvania publish 2-3 weeks late: use From/To dates further back for them.",
            "default": 7
          },
          "formedFrom": {
            "title": "Formed from",
            "type": "string",
            "description": "Date like 2026-10-01. Overrides the N days."
          },
          "formedTo": {
            "title": "Formed to",
            "type": "string",
            "description": "Date like 2026-10-07. Empty: today."
          },
          "maxPerState": {
            "title": "Max new companies per state",
            "minimum": 1,
            "type": "integer",
            "description": "New company filings mode: companies to deliver per state, newest first.",
            "default": 1000
          },
          "entityTypes": {
            "title": "Entity types",
            "type": "array",
            "description": "New company filings mode: llc, corporation, nonprofit, partnership, other. Empty for all.",
            "items": {
              "type": "string"
            }
          },
          "onlyNewCompanies": {
            "title": "Only companies not delivered before",
            "type": "boolean",
            "description": "New company filings mode: remember delivered companies and skip them next time. Schedule it daily for a feed.",
            "default": false
          },
          "stateStoreName": {
            "title": "Feed memory name",
            "type": "string",
            "description": "Key-value store that remembers delivered companies. One name per feed.",
            "default": "us-company-check-seen"
          },
          "resetState": {
            "title": "Forget delivered companies",
            "type": "boolean",
            "description": "Start the feed memory from scratch in this run.",
            "default": false
          },
          "socrataAppToken": {
            "title": "Socrata app token",
            "type": "string",
            "description": "Optional. Gives the run its own quota on the state open-data portals, useful for lists of thousands of names."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}