{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Form ADV RIA Leads - AUM & Investment Adviser API",
    "description": "Search the official monthly SEC registered-investment-adviser Form ADV roster. Filter RIA firms by name, CRD, state, regulatory AUM, employees, accounts, services, private funds, custody, and disclosures. Returns source-linked compliance and wealth-tech lead evidence.",
    "version": "0.1",
    "x-build-id": "7yCl4AjKJDOodZj6a"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pink_comic~sec-form-adv-ria-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pink_comic-sec-form-adv-ria-leads",
        "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/pink_comic~sec-form-adv-ria-leads/runs": {
      "post": {
        "operationId": "runs-sync-pink_comic-sec-form-adv-ria-leads",
        "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/pink_comic~sec-form-adv-ria-leads/run-sync": {
      "post": {
        "operationId": "run-sync-pink_comic-sec-form-adv-ria-leads",
        "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": {
          "query": {
            "title": "Firm / Website / Identifier Search",
            "type": "string",
            "description": "Case-insensitive firm name, legal name, website, CRD, SEC number, or CIK search.",
            "default": "BlackRock"
          },
          "crdNumber": {
            "title": "Exact Organization CRD Number",
            "type": "string",
            "description": "Exact firm CRD number. Takes precedence over broad name matching."
          },
          "secNumber": {
            "title": "Exact SEC File Number",
            "type": "string",
            "description": "Exact SEC adviser file number, such as 801-47710."
          },
          "states": {
            "title": "Main Office States",
            "type": "array",
            "description": "Optional two-letter main-office state codes. Empty means all states and countries.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z]{2}$"
            },
            "default": []
          },
          "statuses": {
            "title": "SEC Statuses",
            "type": "array",
            "description": "Exact SEC status values. Approved is the useful default for current-firm screening.",
            "items": {
              "type": "string"
            },
            "default": [
              "Approved"
            ]
          },
          "services": {
            "title": "Required Advisory Services",
            "type": "array",
            "description": "Every selected Form ADV service must be reported by the firm.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "minRegulatoryAum": {
            "title": "Minimum Regulatory AUM (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum Form ADV Item 5.F regulatory assets under management.",
            "default": 0
          },
          "maxRegulatoryAum": {
            "title": "Maximum Regulatory AUM (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum regulatory AUM. Zero means no maximum.",
            "default": 0
          },
          "minEmployees": {
            "title": "Minimum Employees",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum total employees reported in Form ADV Item 5.A.",
            "default": 0
          },
          "minAccounts": {
            "title": "Minimum Regulatory Accounts",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum total discretionary plus non-discretionary accounts reported in Item 5.F.",
            "default": 0
          },
          "disclosureFilter": {
            "title": "Firm Disclosures",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Filter on Form ADV Item 11 disciplinary disclosure answers.",
            "default": "any"
          },
          "privateFundFilter": {
            "title": "Private Fund Adviser",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Filter firms that report advising private funds in Form ADV Item 7.B.",
            "default": "any"
          },
          "custodyFilter": {
            "title": "Custody",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Filter firms reporting custody or a positive custody amount in Form ADV Item 9.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort Results",
            "enum": [
              "aum_desc",
              "aum_asc",
              "name_asc",
              "filing_date_desc",
              "employees_desc",
              "accounts_desc",
              "disclosures_desc"
            ],
            "type": "string",
            "description": "Order matched firms after all filters are applied.",
            "default": "aum_desc"
          },
          "maxResults": {
            "title": "Maximum Results",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Total response cap after all filters and sorting.",
            "default": 25
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}