{
  "openapi": "3.0.1",
  "info": {
    "title": "Business Registry & Ownership Intel - KYB, Officers",
    "description": "Unifies US Secretary-of-State business registries into one normalized entity schema: status, type, formation date, registered agent, officers, addresses. KYB value layer: cross-state entity resolution, officer linking, and an ownership graph. Logged-out public records. For KYB/AML and PE/M&A.",
    "version": "0.7",
    "x-build-id": "YoIQetYX5R3paoD2u"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/seibs.co~business-registry-intel/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-seibs.co-business-registry-intel",
        "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/seibs.co~business-registry-intel/runs": {
      "post": {
        "operationId": "runs-sync-seibs.co-business-registry-intel",
        "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/seibs.co~business-registry-intel/run-sync": {
      "post": {
        "operationId": "run-sync-seibs.co-business-registry-intel",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "entity_search",
              "entity_profile",
              "officer_lookup",
              "ownership_graph"
            ],
            "type": "string",
            "description": "entity_search = search each registry by company name and resolve duplicates across states. entity_profile = deep profile (officers, agent, addresses, filing history) for specific entities. officer_lookup = group officers/agents by person and surface multi-entity individuals. ownership_graph = build the parent/subsidiary/sister-entity association graph.",
            "default": "entity_search"
          },
          "companies": {
            "title": "Company name queries",
            "maxItems": 50,
            "type": "array",
            "description": "Company names (or name fragments) to search each selected registry for, e.g. ['Acme Holdings', 'Blue Ridge Capital']. Hard cap of 50.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "company_numbers": {
            "title": "Direct entity references (state + file number)",
            "maxItems": 50,
            "type": "array",
            "description": "Profile specific entities directly without searching. Each item: {\"state\": \"FL\", \"file_number\": \"L21000123456\"}. Use for entity_profile / ownership_graph when you already have the registry id. Hard cap of 50.",
            "default": []
          },
          "officer_names": {
            "title": "Officer / person names (officer_lookup)",
            "maxItems": 25,
            "type": "array",
            "description": "Person names to resolve to their company footprint in officer_lookup mode, e.g. ['Jane A Doe']. Officer names are public record on these filings; we keep name + title + business address only. Hard cap of 25.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "States to query",
            "maxItems": 51,
            "type": "array",
            "description": "Two-letter state codes. All 50 states + DC are recognized. 13 fully-parsed registries return real data: CA, NY, FL, TX, CO, CT, OR, WI, NJ, ID, ND, plus PA + MI via the browser tier (CA/NY/FL/TX/CO are the default set). The other 43 states are catalog-registered with the correct access method and the anti-bot escalation pipeline wired (a per-state parser is pending; they return a documented state_pending note). Delaware (DE) is opt-in. Pass ['ALL'] to query every jurisdiction. Leave empty for the default five.",
            "default": [
              "CA",
              "NY",
              "FL",
              "TX",
              "CO"
            ],
            "items": {
              "type": "string"
            }
          },
          "all_states": {
            "title": "Query all 50 states + DC",
            "type": "boolean",
            "description": "Shortcut to query every US jurisdiction (overrides the states list). Fully-parsed states return entities; catalog states return a documented state_pending note. Delaware still needs enable_delaware=true.",
            "default": false
          },
          "enable_delaware": {
            "title": "Enable Delaware (per-search fee)",
            "type": "boolean",
            "description": "Delaware is OFF by default: its entity search is CAPTCHA-gated and the detailed report carries a per-search fee (~$10). Turn this on to attempt DE. Even when on, the actor never silently spends the DE fee - it fails soft with a documented note if the portal blocks a logged-out request.",
            "default": false
          },
          "include_officers": {
            "title": "Fetch officers / agent / addresses (detail page)",
            "type": "boolean",
            "description": "Fetch each entity's detail page to add registered agent, officers/directors, and addresses. Charges officer_director_enrichment per entity that yields officer/director data. Defaults on for entity_profile / ownership_graph, off for a fast name-only entity_search.",
            "default": false
          },
          "include_filing_history": {
            "title": "Include filing history",
            "type": "boolean",
            "description": "Include the entity's filing-history list where the portal exposes it. Records grow larger; no extra charge.",
            "default": false
          },
          "max_results_per_state": {
            "title": "Max entities per state per query",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Hard cap on entities returned per state per name query. Default 25.",
            "default": 25
          },
          "contact_email": {
            "title": "Contact email (optional)",
            "type": "string",
            "description": "Optional operator contact added to request headers. Good-citizen practice; not required.",
            "default": ""
          },
          "monitor_webhook_url": {
            "title": "Monitor webhook URL (Slack / email, optional)",
            "type": "string",
            "description": "When this actor runs under an Apify Schedule (monitor mode), post the change digest (new filings, status changes, dissolved entities) to this Slack-compatible webhook URL.",
            "default": ""
          },
          "use_apify_proxy": {
            "title": "Use Apify Proxy",
            "type": "boolean",
            "description": "Route registry requests through Apify Proxy. The DATACENTER tier handles the first (httpx) pass; a RESIDENTIAL tier is provisioned for the anti-bot escalation legs.",
            "default": true
          },
          "use_browser_fallback": {
            "title": "Anti-bot escalation (curl_cffi + browser)",
            "type": "boolean",
            "description": "When a portal serves a Cloudflare/CAPTCHA/403 challenge (e.g. FL Sunbiz from a datacenter IP), automatically escalate: switch to the RESIDENTIAL proxy and retry with curl_cffi Chrome TLS impersonation, then (if available) a headless browser. Turn off to use plain httpx only.",
            "default": true
          },
          "browser_cdp_url": {
            "title": "Warm browser CDP endpoint (for browser-required states)",
            "type": "string",
            "description": "Optional. CDP/WebSocket endpoint of an already-running, anti-detect (UC-mode / real Chrome) browser. When set, the browser tier connects to it (inheriting its session + fingerprint) so it passes the Cloudflare/Imperva states (PA, OH, NC, MI, NV, ...). Without it a plain headless Chromium is launched (blocked by Cloudflare managed challenges). Can also be set as the BROWSER_CDP_URL env var. The per-search CAPTCHA states (AZ, GA, ...) additionally need an opt-in solver: set CAPTCHA_SOLVER_PROVIDER (2captcha|capsolver) + CAPTCHA_SOLVER_KEY as actor env secrets - off by default.",
            "default": ""
          },
          "apify_proxy_groups": {
            "title": "Proxy groups (optional override)",
            "type": "array",
            "description": "Override the auto-selected proxy group. Leave empty to let the actor pick DATACENTER (or RESIDENTIAL when Delaware is active).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "concurrency": {
            "title": "Max concurrent requests",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Parallel registry fetches. Gov portals are rate-sensitive; default 4.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}