{
  "data": {
    "id": "I2btO9ZsOWwPnf6hq",
    "actId": "F25D6aK6xRbImxgIO",
    "userId": "zq8lKbpLzTjGDayPC",
    "startedAt": "2026-11-26T07:45:57.735Z",
    "finishedAt": "2026-11-26T07:46:00.771Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "inputSchema": "{\n  \"title\": \"FINRA BrokerCheck Broker & Firm Disclosure Lookup Input\",\n  \"description\": \"Search FINRA BrokerCheck brokers and firms, or fetch full profiles and disclosures by CRD.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to search or fetch on FINRA BrokerCheck.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"searchBrokers\",\n        \"firmSearch\",\n        \"searchByState\",\n        \"disclosureSearch\",\n        \"brokerProfiles\",\n        \"firmProfiles\"\n      ],\n      \"enumTitles\": [\n        \"Search brokers by name or CRD\",\n        \"Search firms by name or CRD\",\n        \"Browse brokers registered in a US state\",\n        \"Find brokers with disclosures on file\",\n        \"Broker profiles by CRD or profile URL\",\n        \"Firm profiles by CRD or profile URL\"\n      ],\n      \"default\": \"searchBrokers\",\n      \"prefill\": \"searchBrokers\"\n    },\n    \"name\": {\n      \"title\": \"Broker name or CRD\",\n      \"type\": \"string\",\n      \"description\": \"Broker name (full or partial), CRD number or BrokerCheck individual URL. Used by searchBrokers, searchByState and disclosureSearch; also accepted as a firmSearch fallback.\",\n      \"editor\": \"textfield\",\n      \"default\": \"John Smith\",\n      \"prefill\": \"John Smith\"\n    },\n    \"firmName\": {\n      \"title\": \"Firm name or CRD\",\n      \"type\": \"string\",\n      \"description\": \"Firm name (full or partial), CRD number or BrokerCheck firm URL (mode=firmSearch).\",\n      \"editor\": \"textfield\"\n    },\n    \"firmNameOrCrd\": {\n      \"title\": \"Employer firm filter\",\n      \"type\": \"string\",\n      \"description\": \"Optional firm name or CRD. Constrains broker searches to people currently employed at that firm; leave `name` empty to scan the firm's representatives (modes=searchBrokers, searchByState, disclosureSearch).\",\n      \"editor\": \"textfield\"\n    },\n    \"crdNumbers\": {\n      \"title\": \"CRDs or profile URLs\",\n      \"type\": \"array\",\n      \"description\": \"CRD numbers or BrokerCheck profile URLs to fetch (modes=brokerProfiles, firmProfiles). Up to 1,000 entries; duplicates are removed.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"state\": {\n      \"title\": \"Registered state\",\n      \"type\": \"string\",\n      \"description\": \"US state filter. Required for searchByState; optional for broker and firm searches. FINRA matches records with a registration or employment location in this state, so it can be broader than the current office state.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"AL\",\n        \"AK\",\n        \"AZ\",\n        \"AR\",\n        \"CA\",\n        \"CO\",\n        \"CT\",\n        \"DE\",\n        \"FL\",\n        \"GA\",\n        \"HI\",\n        \"ID\",\n        \"IL\",\n        \"IN\",\n        \"IA\",\n        \"KS\",\n        \"KY\",\n        \"LA\",\n        \"ME\",\n        \"MD\",\n        \"MA\",\n        \"MI\",\n        \"MN\",\n        \"MS\",\n        \"MO\",\n        \"MT\",\n        \"NE\",\n        \"NV\",\n        \"NH\",\n        \"NJ\",\n        \"NM\",\n        \"NY\",\n        \"NC\",\n        \"ND\",\n        \"OH\",\n        \"OK\",\n        \"OR\",\n        \"PA\",\n        \"RI\",\n        \"SC\",\n        \"SD\",\n        \"TN\",\n        \"TX\",\n        \"UT\",\n        \"VT\",\n        \"VA\",\n        \"WA\",\n        \"WV\",\n        \"WI\",\n        \"WY\",\n        \"DC\"\n      ],\n      \"enumTitles\": [\n        \"Any state\",\n        \"Alabama\",\n        \"Alaska\",\n        \"Arizona\",\n        \"Arkansas\",\n        \"California\",\n        \"Colorado\",\n        \"Connecticut\",\n        \"Delaware\",\n        \"Florida\",\n        \"Georgia\",\n        \"Hawaii\",\n        \"Idaho\",\n        \"Illinois\",\n        \"Indiana\",\n        \"Iowa\",\n        \"Kansas\",\n        \"Kentucky\",\n        \"Louisiana\",\n        \"Maine\",\n        \"Maryland\",\n        \"Massachusetts\",\n        \"Michigan\",\n        \"Minnesota\",\n        \"Mississippi\",\n        \"Missouri\",\n        \"Montana\",\n        \"Nebraska\",\n        \"Nevada\",\n        \"New Hampshire\",\n        \"New Jersey\",\n        \"New Mexico\",\n        \"New York\",\n        \"North Carolina\",\n        \"North Dakota\",\n        \"Ohio\",\n        \"Oklahoma\",\n        \"Oregon\",\n        \"Pennsylvania\",\n        \"Rhode Island\",\n        \"South Carolina\",\n        \"South Dakota\",\n        \"Tennessee\",\n        \"Texas\",\n        \"Utah\",\n        \"Vermont\",\n        \"Virginia\",\n        \"Washington\",\n        \"West Virginia\",\n        \"Wisconsin\",\n        \"Wyoming\",\n        \"District of Columbia\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\",\n      \"sectionCaption\": \"Filters\",\n      \"sectionDescription\": \"Optional filters for broker and firm searches.\"\n    },\n    \"status\": {\n      \"title\": \"Registration status\",\n      \"type\": \"string\",\n      \"description\": \"Actively registered, previously registered, barred (brokers) or expelled (firms).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"active\",\n        \"previouslyRegistered\",\n        \"barred\",\n        \"expelled\"\n      ],\n      \"enumTitles\": [\n        \"Any status\",\n        \"Actively registered\",\n        \"Previously registered\",\n        \"Barred (brokers)\",\n        \"Expelled (firms)\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"disclosuresOnly\": {\n      \"title\": \"Disclosures only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only emit brokers or firms with at least one broker-dealer or investment-adviser disclosure flag on file.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"includePrevious\": {\n      \"title\": \"Include previous employers\",\n      \"type\": \"boolean\",\n      \"description\": \"Include previous employment history in broker search results and profile records.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"enrichDetails\": {\n      \"title\": \"Fetch full profile details\",\n      \"type\": \"boolean\",\n      \"description\": \"Fetch each record's full BrokerCheck profile (disclosures, exams, registrations, employment history). Adds one request per record.\",\n      \"default\": true,\n      \"prefill\": false,\n      \"sectionCaption\": \"Enrichment\",\n      \"sectionDescription\": \"Controls how much detail is added to every record.\"\n    },\n    \"includeDisclosures\": {\n      \"title\": \"Include disclosure events\",\n      \"type\": \"boolean\",\n      \"description\": \"Include individual disclosure events with dates, allegations and sanctions when full profile details are fetched.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of records to emit.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 20,\n      \"prefill\": 3,\n      \"sectionCaption\": \"Output\",\n      \"sectionDescription\": \"Run size limit.\"\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# FINRA BrokerCheck Broker & Firm Disclosure Lookup\n\nFINRA BrokerCheck is the public registry of US securities brokers and broker-dealer / investment-adviser firms. This actor searches that registry, resolves exact CRDs, and returns regulatory profiles: registration scope, current and previous employers, exams, state and SRO registrations, firm owners, and disclosure events.\n\nEvery request is cookieless and credential-free. FINRA's public BrokerCheck API is queried directly, so there is no browser, proxy or login step.\n\n## Modes\n\n| Mode | What it does |\n|---|---|\n| `searchBrokers` | Search individuals by name, CRD or BrokerCheck URL; optional state and status filters |\n| `firmSearch` | Search firms by name, CRD or BrokerCheck URL; optional state and status filters |\n| `searchByState` | Browse brokers registered in a US state; a name narrows the search, otherwise A-Z/0-9 scanning is used |\n| `disclosureSearch` | Return only brokers with a disclosure flag on file; a name narrows the search |\n| `brokerProfiles` | Fetch exact broker profiles from a list of CRDs or profile URLs |\n| `firmProfiles` | Fetch exact firm profiles from a list of CRDs or profile URLs |\n\nSearch results are paginated 100 at a time until `maxItems` or the source total is reached. Duplicate CRDs are removed across pages and scan queries. Scans stop after 50 pages (5,000 records) per query. `enrichDetails` adds one profile request per record for the full dataset; leave it off for fast list building.\n\n## Input\n\n| Field | Default | Description |\n|---|---|---|\n| `mode` | `searchBrokers` | One of the six modes above |\n| `name` | `John Smith` | Broker name, CRD or individual profile URL |\n| `firmName` | – | Firm name, CRD or firm profile URL (firmSearch) |\n| `firmNameOrCrd` | – | Constrain broker searches to one employer; leave `name` empty to scan that firm's reps |\n| `crdNumbers` | `[]` | CRDs or profile URLs for the profile modes |\n| `state` | any | US state filter (required for searchByState) |\n| `status` | `all` | `active`, `previouslyRegistered`, `barred` (brokers) or `expelled` (firms) |\n| `disclosuresOnly` | `false` | Keep only records with a disclosure flag |\n| `includePrevious` | `true` | Include previous employment history |\n| `enrichDetails` | `true` | Fetch each record's full BrokerCheck profile |\n| `includeDisclosures` | `true` | Emit disclosure events when details are fetched |\n| `maxItems` | `20` | Hard cap on emitted records (1–1000) |\n\nLegacy saved-task keys (`query`, `searchQuery`, `searchType`, `maxResults`, `stateCode`, `disclosureOnly`, `crd`, `profileUrls`, `fetchDetails` and similar) are still accepted: they are mapped onto the fields above inside the actor and are not shown in the input form.\n\n### Examples\n\nSearch brokers by name:\n\n```json\n{ \"mode\": \"searchBrokers\", \"name\": \"John Smith\", \"maxItems\": 20 }\n```\n\nFind brokers with disclosures in California:\n\n```json\n{\n  \"mode\": \"disclosureSearch\",\n  \"name\": \"Smith\",\n  \"state\": \"CA\",\n  \"disclosuresOnly\": true,\n  \"maxItems\": 50\n}\n```\n\nFetch exact profiles by CRD or URL:\n\n```json\n{\n  \"mode\": \"brokerProfiles\",\n  \"crdNumbers\": [\"6808119\", \"https://brokercheck.finra.org/individual/summary/810315\"],\n  \"maxItems\": 2\n}\n```\n\nSearch firms:\n\n```json\n{ \"mode\": \"firmSearch\", \"firmName\": \"Vanguard\", \"state\": \"CA\", \"maxItems\": 10 }\n```\n\n## Output\n\nBroker records include:\n\n- `individualId` (CRD), `firstName`, `middleName`, `lastName`, `nameSuffix`, `fullName`, `otherNames`\n- `scope` and `iaScope` — broker-dealer and investment-adviser registration scope\n- `hasDisclosures`, `hasIADisclosures`, `hasAnyDisclosures`, `permanentBar`\n- `disclosures` — dated events with type, resolution, allegations, sanctions, broker comment and extra detail fields\n- `disclosureCount`, `approvedRegistrationCount`, `employmentsCount`, `examCount`\n- `currentEmployments`, `currentIAEmployments`, `previousEmployments`, `previousIAEmployments` — firm IDs, names, dates, locations and branch offices\n- `exams` — category, name, date and scope (Series 7, 63, 65, 66, SIE and others)\n- `registeredStates`, `registeredSROs`, `registrationCounts`\n- `industryStartDate`, `industryDays`, `brokerDetails`\n- `profileUrl`, `sourceUrl` and, where FINRA publishes one, `detailedReportUrl` (PDF)\n- `recordType` = `broker`, `scrapedAt`\n\nFirm records include:\n\n- `firmId` (CRD), `firmName`, `iaFirmName`, `otherNames`, `bdSecNumber`, `bdFullSecNumber`, `iaSecNumber`, `iaFullSecNumber`\n- `scope`, `iaScope`, `firmStatus`, `firmStatusDate`, `firmType`, `regulator`, `formedDate`, `formedState`, `districtName`\n- `hasDisclosures`, `iaHasDisclosures`, `hasAnyDisclosures`\n- `disclosures` — disclosure types with counts, plus `disclosureCount`\n- `address`, `iaAddress`, `firmState`, `firmCity`, `iaFirmState`, `iaFirmCity`\n- `approvedRegistrationCount`, `branchesCount`, `registrationCounts`, `businessTypeCount`, `registeredStates`\n- `directOwners` — legal name, position, scope and CRD\n- `profileUrl`, `sourceUrl`, `detailedReportUrl` (PDF) where available\n- `recordType` = `firm`, `scrapedAt`\n\nFields with no data on file are omitted at every depth. Empty strings, empty lists, empty objects and nulls are never emitted.\n\n## Use cases\n\n- **Hiring and onboarding diligence** — confirm a broker's CRD, registration scope and current employer before an offer\n- **Investor checks** — review a financial professional's disclosure events, allegations and sanctions\n- **Compliance monitoring** — track registration status, barred or expelled flags and employer changes\n- **Firm research** — look up SEC numbers, status dates, branch counts, direct owners and disclosure totals\n- **List building** — pull brokers registered in a state or brokers with disclosures, then enrich only the records you need\n\n## Data source and limitations\n\n- Source: FINRA BrokerCheck public API (`api.brokercheck.finra.org`) and public PDF reports (`files.brokercheck.finra.org`). No affiliation with FINRA.\n- The search endpoint caps a page at 100 records. Deep pagination and letter-based scans stop after 50 pages (5,000 records) per query; narrow the name, state, firm or status to reach more.\n- FINRA's search API has no server-side disclosure filter. `disclosuresOnly` and `disclosureSearch` scan result pages client-side, so rare names take longer.\n- Firm disclosure output lists event types and counts; FINRA exposes individual narrative disclosures for people, while firm narratives are only in the linked PDF report.\n- FINRA's state filter matches records with a registration or employment location in that state. It can include people whose current office is elsewhere, so treat it as \"has a connection to this state\" rather than \"currently works here\".\n- `detailedReportUrl` is only emitted for records that have a BrokerCheck report published; some investment-adviser-only records do not.\n\n## FAQ\n\n**Do I need a FINRA account, API key or cookies?** No. All modes work anonymously.\n\n**Why are some profile fields missing?** FINRA does not publish every field for every record. Omitted fields mean no value is on file, never an empty placeholder.\n\n**How current is the data?** BrokerCheck is refreshed by FINRA as firms file registration updates; each record carries a `scrapedAt` timestamp.\n\n**Can I fetch a firm's entire representative roster?** Set `firmNameOrCrd` to the firm name or CRD and leave `name` empty: the actor scans its current representatives. Add a state or status filter for large firms; very large rosters are bounded by the 5,000-record scan cap per query.\n\n**What is the difference between `hasDisclosures` and `iaHasDisclosures`?** The first reflects broker-dealer disclosure flags, the second investment-adviser flags. `hasAnyDisclosures` combines them.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "finra-brokercheck-broker-and-firm-disclosure",
      "title": "FINRA BrokerCheck Broker & Firm Disclosure Lookup",
      "description": "Search FINRA BrokerCheck by broker or firm name, CRD or state, or fetch full profiles with employment history, exams, registrations and disclosure events.",
      "version": "1.1",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "readme": "# FINRA BrokerCheck Broker & Firm Disclosure Lookup\n\nFINRA BrokerCheck is the public registry of US securities brokers and broker-dealer / investment-adviser firms. This actor searches that registry, resolves exact CRDs, and returns regulatory profiles: registration scope, current and previous employers, exams, state and SRO registrations, firm owners, and disclosure events.\n\nEvery request is cookieless and credential-free. FINRA's public BrokerCheck API is queried directly, so there is no browser, proxy or login step.\n\n## Modes\n\n| Mode | What it does |\n|---|---|\n| `searchBrokers` | Search individuals by name, CRD or BrokerCheck URL; optional state and status filters |\n| `firmSearch` | Search firms by name, CRD or BrokerCheck URL; optional state and status filters |\n| `searchByState` | Browse brokers registered in a US state; a name narrows the search, otherwise A-Z/0-9 scanning is used |\n| `disclosureSearch` | Return only brokers with a disclosure flag on file; a name narrows the search |\n| `brokerProfiles` | Fetch exact broker profiles from a list of CRDs or profile URLs |\n| `firmProfiles` | Fetch exact firm profiles from a list of CRDs or profile URLs |\n\nSearch results are paginated 100 at a time until `maxItems` or the source total is reached. Duplicate CRDs are removed across pages and scan queries. Scans stop after 50 pages (5,000 records) per query. `enrichDetails` adds one profile request per record for the full dataset; leave it off for fast list building.\n\n## Input\n\n| Field | Default | Description |\n|---|---|---|\n| `mode` | `searchBrokers` | One of the six modes above |\n| `name` | `John Smith` | Broker name, CRD or individual profile URL |\n| `firmName` | – | Firm name, CRD or firm profile URL (firmSearch) |\n| `firmNameOrCrd` | – | Constrain broker searches to one employer; leave `name` empty to scan that firm's reps |\n| `crdNumbers` | `[]` | CRDs or profile URLs for the profile modes |\n| `state` | any | US state filter (required for searchByState) |\n| `status` | `all` | `active`, `previouslyRegistered`, `barred` (brokers) or `expelled` (firms) |\n| `disclosuresOnly` | `false` | Keep only records with a disclosure flag |\n| `includePrevious` | `true` | Include previous employment history |\n| `enrichDetails` | `true` | Fetch each record's full BrokerCheck profile |\n| `includeDisclosures` | `true` | Emit disclosure events when details are fetched |\n| `maxItems` | `20` | Hard cap on emitted records (1–1000) |\n\nLegacy saved-task keys (`query`, `searchQuery`, `searchType`, `maxResults`, `stateCode`, `disclosureOnly`, `crd`, `profileUrls`, `fetchDetails` and similar) are still accepted: they are mapped onto the fields above inside the actor and are not shown in the input form.\n\n### Examples\n\nSearch brokers by name:\n\n```json\n{ \"mode\": \"searchBrokers\", \"name\": \"John Smith\", \"maxItems\": 20 }\n```\n\nFind brokers with disclosures in California:\n\n```json\n{\n  \"mode\": \"disclosureSearch\",\n  \"name\": \"Smith\",\n  \"state\": \"CA\",\n  \"disclosuresOnly\": true,\n  \"maxItems\": 50\n}\n```\n\nFetch exact profiles by CRD or URL:\n\n```json\n{\n  \"mode\": \"brokerProfiles\",\n  \"crdNumbers\": [\"6808119\", \"https://brokercheck.finra.org/individual/summary/810315\"],\n  \"maxItems\": 2\n}\n```\n\nSearch firms:\n\n```json\n{ \"mode\": \"firmSearch\", \"firmName\": \"Vanguard\", \"state\": \"CA\", \"maxItems\": 10 }\n```\n\n## Output\n\nBroker records include:\n\n- `individualId` (CRD), `firstName`, `middleName`, `lastName`, `nameSuffix`, `fullName`, `otherNames`\n- `scope` and `iaScope` — broker-dealer and investment-adviser registration scope\n- `hasDisclosures`, `hasIADisclosures`, `hasAnyDisclosures`, `permanentBar`\n- `disclosures` — dated events with type, resolution, allegations, sanctions, broker comment and extra detail fields\n- `disclosureCount`, `approvedRegistrationCount`, `employmentsCount`, `examCount`\n- `currentEmployments`, `currentIAEmployments`, `previousEmployments`, `previousIAEmployments` — firm IDs, names, dates, locations and branch offices\n- `exams` — category, name, date and scope (Series 7, 63, 65, 66, SIE and others)\n- `registeredStates`, `registeredSROs`, `registrationCounts`\n- `industryStartDate`, `industryDays`, `brokerDetails`\n- `profileUrl`, `sourceUrl` and, where FINRA publishes one, `detailedReportUrl` (PDF)\n- `recordType` = `broker`, `scrapedAt`\n\nFirm records include:\n\n- `firmId` (CRD), `firmName`, `iaFirmName`, `otherNames`, `bdSecNumber`, `bdFullSecNumber`, `iaSecNumber`, `iaFullSecNumber`\n- `scope`, `iaScope`, `firmStatus`, `firmStatusDate`, `firmType`, `regulator`, `formedDate`, `formedState`, `districtName`\n- `hasDisclosures`, `iaHasDisclosures`, `hasAnyDisclosures`\n- `disclosures` — disclosure types with counts, plus `disclosureCount`\n- `address`, `iaAddress`, `firmState`, `firmCity`, `iaFirmState`, `iaFirmCity`\n- `approvedRegistrationCount`, `branchesCount`, `registrationCounts`, `businessTypeCount`, `registeredStates`\n- `directOwners` — legal name, position, scope and CRD\n- `profileUrl`, `sourceUrl`, `detailedReportUrl` (PDF) where available\n- `recordType` = `firm`, `scrapedAt`\n\nFields with no data on file are omitted at every depth. Empty strings, empty lists, empty objects and nulls are never emitted.\n\n## Use cases\n\n- **Hiring and onboarding diligence** — confirm a broker's CRD, registration scope and current employer before an offer\n- **Investor checks** — review a financial professional's disclosure events, allegations and sanctions\n- **Compliance monitoring** — track registration status, barred or expelled flags and employer changes\n- **Firm research** — look up SEC numbers, status dates, branch counts, direct owners and disclosure totals\n- **List building** — pull brokers registered in a state or brokers with disclosures, then enrich only the records you need\n\n## Data source and limitations\n\n- Source: FINRA BrokerCheck public API (`api.brokercheck.finra.org`) and public PDF reports (`files.brokercheck.finra.org`). No affiliation with FINRA.\n- The search endpoint caps a page at 100 records. Deep pagination and letter-based scans stop after 50 pages (5,000 records) per query; narrow the name, state, firm or status to reach more.\n- FINRA's search API has no server-side disclosure filter. `disclosuresOnly` and `disclosureSearch` scan result pages client-side, so rare names take longer.\n- Firm disclosure output lists event types and counts; FINRA exposes individual narrative disclosures for people, while firm narratives are only in the linked PDF report.\n- FINRA's state filter matches records with a registration or employment location in that state. It can include people whose current office is elsewhere, so treat it as \"has a connection to this state\" rather than \"currently works here\".\n- `detailedReportUrl` is only emitted for records that have a BrokerCheck report published; some investment-adviser-only records do not.\n\n## FAQ\n\n**Do I need a FINRA account, API key or cookies?** No. All modes work anonymously.\n\n**Why are some profile fields missing?** FINRA does not publish every field for every record. Omitted fields mean no value is on file, never an empty placeholder.\n\n**How current is the data?** BrokerCheck is refreshed by FINRA as firms file registration updates; each record carries a `scrapedAt` timestamp.\n\n**Can I fetch a firm's entire representative roster?** Set `firmNameOrCrd` to the firm name or CRD and leave `name` empty: the actor scans its current representatives. Add a state or status filter for large firms; very large rosters are bounded by the 5,000-record scan cap per query.\n\n**What is the difference between `hasDisclosures` and `iaHasDisclosures`?** The first reflects broker-dealer disclosure flags, the second investment-adviser flags. `hasAnyDisclosures` combines them.\n",
      "input": {
        "title": "FINRA BrokerCheck Broker & Firm Disclosure Lookup Input",
        "description": "Search FINRA BrokerCheck brokers and firms, or fetch full profiles and disclosures by CRD.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to search or fetch on FINRA BrokerCheck.",
            "editor": "select",
            "enum": [
              "searchBrokers",
              "firmSearch",
              "searchByState",
              "disclosureSearch",
              "brokerProfiles",
              "firmProfiles"
            ],
            "enumTitles": [
              "Search brokers by name or CRD",
              "Search firms by name or CRD",
              "Browse brokers registered in a US state",
              "Find brokers with disclosures on file",
              "Broker profiles by CRD or profile URL",
              "Firm profiles by CRD or profile URL"
            ],
            "default": "searchBrokers",
            "prefill": "searchBrokers"
          },
          "name": {
            "title": "Broker name or CRD",
            "type": "string",
            "description": "Broker name (full or partial), CRD number or BrokerCheck individual URL. Used by searchBrokers, searchByState and disclosureSearch; also accepted as a firmSearch fallback.",
            "editor": "textfield",
            "default": "John Smith",
            "prefill": "John Smith"
          },
          "firmName": {
            "title": "Firm name or CRD",
            "type": "string",
            "description": "Firm name (full or partial), CRD number or BrokerCheck firm URL (mode=firmSearch).",
            "editor": "textfield"
          },
          "firmNameOrCrd": {
            "title": "Employer firm filter",
            "type": "string",
            "description": "Optional firm name or CRD. Constrains broker searches to people currently employed at that firm; leave `name` empty to scan the firm's representatives (modes=searchBrokers, searchByState, disclosureSearch).",
            "editor": "textfield"
          },
          "crdNumbers": {
            "title": "CRDs or profile URLs",
            "type": "array",
            "description": "CRD numbers or BrokerCheck profile URLs to fetch (modes=brokerProfiles, firmProfiles). Up to 1,000 entries; duplicates are removed.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "state": {
            "title": "Registered state",
            "type": "string",
            "description": "US state filter. Required for searchByState; optional for broker and firm searches. FINRA matches records with a registration or employment location in this state, so it can be broader than the current office state.",
            "editor": "select",
            "enum": [
              "",
              "AL",
              "AK",
              "AZ",
              "AR",
              "CA",
              "CO",
              "CT",
              "DE",
              "FL",
              "GA",
              "HI",
              "ID",
              "IL",
              "IN",
              "IA",
              "KS",
              "KY",
              "LA",
              "ME",
              "MD",
              "MA",
              "MI",
              "MN",
              "MS",
              "MO",
              "MT",
              "NE",
              "NV",
              "NH",
              "NJ",
              "NM",
              "NY",
              "NC",
              "ND",
              "OH",
              "OK",
              "OR",
              "PA",
              "RI",
              "SC",
              "SD",
              "TN",
              "TX",
              "UT",
              "VT",
              "VA",
              "WA",
              "WV",
              "WI",
              "WY",
              "DC"
            ],
            "enumTitles": [
              "Any state",
              "Alabama",
              "Alaska",
              "Arizona",
              "Arkansas",
              "California",
              "Colorado",
              "Connecticut",
              "Delaware",
              "Florida",
              "Georgia",
              "Hawaii",
              "Idaho",
              "Illinois",
              "Indiana",
              "Iowa",
              "Kansas",
              "Kentucky",
              "Louisiana",
              "Maine",
              "Maryland",
              "Massachusetts",
              "Michigan",
              "Minnesota",
              "Mississippi",
              "Missouri",
              "Montana",
              "Nebraska",
              "Nevada",
              "New Hampshire",
              "New Jersey",
              "New Mexico",
              "New York",
              "North Carolina",
              "North Dakota",
              "Ohio",
              "Oklahoma",
              "Oregon",
              "Pennsylvania",
              "Rhode Island",
              "South Carolina",
              "South Dakota",
              "Tennessee",
              "Texas",
              "Utah",
              "Vermont",
              "Virginia",
              "Washington",
              "West Virginia",
              "Wisconsin",
              "Wyoming",
              "District of Columbia"
            ],
            "default": "",
            "prefill": "",
            "sectionCaption": "Filters",
            "sectionDescription": "Optional filters for broker and firm searches."
          },
          "status": {
            "title": "Registration status",
            "type": "string",
            "description": "Actively registered, previously registered, barred (brokers) or expelled (firms).",
            "editor": "select",
            "enum": [
              "all",
              "active",
              "previouslyRegistered",
              "barred",
              "expelled"
            ],
            "enumTitles": [
              "Any status",
              "Actively registered",
              "Previously registered",
              "Barred (brokers)",
              "Expelled (firms)"
            ],
            "default": "all",
            "prefill": "all"
          },
          "disclosuresOnly": {
            "title": "Disclosures only",
            "type": "boolean",
            "description": "Only emit brokers or firms with at least one broker-dealer or investment-adviser disclosure flag on file.",
            "default": false,
            "prefill": false
          },
          "includePrevious": {
            "title": "Include previous employers",
            "type": "boolean",
            "description": "Include previous employment history in broker search results and profile records.",
            "default": true,
            "prefill": true
          },
          "enrichDetails": {
            "title": "Fetch full profile details",
            "type": "boolean",
            "description": "Fetch each record's full BrokerCheck profile (disclosures, exams, registrations, employment history). Adds one request per record.",
            "default": true,
            "prefill": false,
            "sectionCaption": "Enrichment",
            "sectionDescription": "Controls how much detail is added to every record."
          },
          "includeDisclosures": {
            "title": "Include disclosure events",
            "type": "boolean",
            "description": "Include individual disclosure events with dates, allegations and sanctions when full profile details are fetched.",
            "default": true,
            "prefill": true
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum number of records to emit.",
            "minimum": 1,
            "maximum": 1000,
            "default": 20,
            "prefill": 3,
            "sectionCaption": "Output",
            "sectionDescription": "Run size limit."
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "FINRA BrokerCheck Broker & Firm Disclosure Lookup Output",
        "description": "FINRA BrokerCheck broker and firm records with registration status, employment history, exams, registered states and disclosure events.",
        "type": "object",
        "properties": {
          "records": {
            "type": "string",
            "title": "BrokerCheck records",
            "description": "Dataset containing all scraped FINRA BrokerCheck broker and firm records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          },
          "brokers": {
            "type": "string",
            "title": "Broker view",
            "description": "Broker view: name, CRD, registration scope, disclosures, exams and current employer.",
            "template": "{{links.apiDefaultDatasetUrl}}/items?view=brokers"
          },
          "firms": {
            "type": "string",
            "title": "Firm view",
            "description": "Firm view: name, CRD, SEC numbers, status, disclosures and branch count.",
            "template": "{{links.apiDefaultDatasetUrl}}/items?view=firms"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Broker & firm records",
              "transformation": {
                "fields": [
                  "fullName",
                  "firmName",
                  "recordType",
                  "scope",
                  "disclosureCount",
                  "currentEmploymentCount",
                  "profileUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "brokers": {
              "title": "Brokers",
              "transformation": {
                "fields": [
                  "fullName",
                  "individualId",
                  "firmName",
                  "firmState",
                  "scope",
                  "iaScope",
                  "hasDisclosures",
                  "disclosureCount",
                  "examCount",
                  "industryStartDate",
                  "profileUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "firms": {
              "title": "Firms",
              "transformation": {
                "fields": [
                  "firmName",
                  "firmId",
                  "bdSecNumber",
                  "firmStatus",
                  "firmState",
                  "scope",
                  "iaScope",
                  "hasDisclosures",
                  "disclosureCount",
                  "branchesCount",
                  "profileUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.1.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.1"
    }
  }
}