{
  "openapi": "3.0.1",
  "info": {
    "title": "🏛️ SEC Form ADV Adviser Watch — RIA Change Feed",
    "description": "SEC Form ADV / IAPD watch — new and changed investment advisers (RIA/ERA): registrations, AUM bands, status changes. Delta feed.",
    "version": "0.1",
    "x-build-id": "VHoFchmcoc3tn3iff"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nexgenwatch~form-adv-watch/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nexgenwatch-form-adv-watch",
        "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/nexgenwatch~form-adv-watch/runs": {
      "post": {
        "operationId": "runs-sync-nexgenwatch-form-adv-watch",
        "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/nexgenwatch~form-adv-watch/run-sync": {
      "post": {
        "operationId": "run-sync-nexgenwatch-form-adv-watch",
        "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": {
          "watchMode": {
            "title": "Watch mode",
            "type": "boolean",
            "description": "Seed a private baseline and emit only confirmed later changes. First run emits zero deltas.",
            "default": true
          },
          "adviserClasses": {
            "title": "Adviser classes",
            "type": "array",
            "description": "Which SEC report classes to read: RIA (registered investment advisers) and/or ERA (exempt reporting advisers).",
            "items": {
              "type": "string",
              "enum": [
                "RIA",
                "ERA"
              ]
            },
            "default": [
              "RIA",
              "ERA"
            ]
          },
          "crdNumbers": {
            "title": "CRD numbers",
            "type": "array",
            "description": "Optional. Restrict tracking to these Organization CRD numbers (1-5000 unique positive integers).",
            "items": {
              "type": "integer"
            }
          },
          "firmNameContains": {
            "title": "Firm name contains",
            "type": "array",
            "description": "Optional. Keep only advisers whose legal or primary business name contains one of these substrings (case-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "nameMatchMode": {
            "title": "Name match mode",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Match any (default) or all of the firmNameContains substrings.",
            "default": "any"
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "Optional. Uppercase USPS state codes for the adviser's principal office.",
            "items": {
              "type": "string"
            }
          },
          "minRegulatoryAumUsd": {
            "title": "Minimum regulatory AUM (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional AUM band floor. Advisers with null AUM never match a band filter."
          },
          "maxRegulatoryAumUsd": {
            "title": "Maximum regulatory AUM (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional AUM band ceiling. Must be >= minimum."
          },
          "changeTypes": {
            "title": "Change types",
            "type": "array",
            "description": "Which change classes to emit.",
            "items": {
              "type": "string",
              "enum": [
                "added_to_scope",
                "removed_from_scope",
                "registration_class_changed",
                "profile_changed",
                "entered_filter",
                "exited_filter"
              ]
            },
            "default": [
              "added_to_scope",
              "removed_from_scope",
              "registration_class_changed",
              "profile_changed",
              "entered_filter",
              "exited_filter"
            ]
          },
          "materialFields": {
            "title": "Material fields",
            "type": "array",
            "description": "Which profile field groups count as a material profile change.",
            "items": {
              "type": "string",
              "enum": [
                "names",
                "registration",
                "principal_address",
                "regulatory_aum",
                "employees",
                "custody",
                "private_funds"
              ]
            },
            "default": [
              "names",
              "registration",
              "principal_address",
              "regulatory_aum",
              "custody",
              "private_funds"
            ]
          },
          "removalGraceEditions": {
            "title": "Removal grace editions",
            "minimum": 1,
            "maximum": 2,
            "type": "integer",
            "description": "Distinct complete editions an adviser must be absent before a removal is confirmed.",
            "default": 1
          },
          "includeBeforeAfter": {
            "title": "Include before/after",
            "type": "boolean",
            "description": "Attach the before and after adviser profiles on each delta.",
            "default": true
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 25000,
            "type": "integer",
            "description": "Maximum adviser deltas to emit this run. Overflow is reported as PARTIAL_MAX_ITEMS.",
            "default": 5000
          },
          "baselineKey": {
            "title": "Baseline key",
            "type": "string",
            "description": "Named watch baseline. Changing the canonical scope derives a new baseline."
          },
          "resetBaseline": {
            "title": "Reset baseline",
            "type": "boolean",
            "description": "Archive the old baseline, re-seed, and emit zero deltas this run.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}