# SEC Form ADV Investment Adviser Scraper - AUM & Firm Data (`groundplanes/sec-form-adv-investment-advisers`) Actor

Scrape SEC-registered investment adviser firms (RIAs) and exempt reporting advisers (ERAs) from the official SEC IAPD Form ADV compilation feed with regulatory AUM, account counts, employees, and filing dates.

- **URL**: https://apify.com/groundplanes/sec-form-adv-investment-advisers.md
- **Developed by:** [Groundplane Labs](https://apify.com/groundplanes) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 adviser firms

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SEC Form ADV Investment Adviser Scraper - AUM & Firm Data

Extract SEC-registered investment adviser firms (**RIAs**), exempt reporting advisers (**ERAs**), and optional state-registered advisers directly from the official U.S. Securities and Exchange Commission (SEC) Investment Adviser Public Disclosure (**IAPD**) daily Form ADV compilation feeds (`IA_FIRM_SEC_Feed` and `IA_FIRM_STATE_Feed`). Retrieve regulatory Assets Under Management (AUM), discretionary AUM, client account totals, employee counts, client categories, registration status, and latest Form ADV filing dates.

> **Disclaimer:** This Actor is an independent tool and is not affiliated with or endorsed by the U.S. Securities and Exchange Commission (SEC) or the Financial Industry Regulatory Authority (FINRA).

> **Not investment advice:** The output is public regulatory filing data provided for informational and research purposes only. It is not investment advice, and it is not a recommendation or solicitation to buy, sell, or hold any security, fund, or investment, or to engage any adviser.

***

### What it does

- **Streams Official SEC IAPD Compilation Feeds:** Automatically locates the latest published daily XML compilation feed (`https://reports.adviserinfo.sec.gov/reports/CompilationReports/IA_FIRM_SEC_Feed_MM_DD_YYYY.xml.gz`, stepping back up to 7 days if today's build is not yet posted) and streams `<Firm>` elements via `lxml.etree.iterparse`. Matched rows from both feeds are accumulated in memory for the combined sort, so the default run memory is 512 MB.
- **Optional State-Registered Adviser Feed:** When `includeStateRegistered` is set to `true`, also streams `https://reports.adviserinfo.sec.gov/reports/CompilationReports/IA_FIRM_STATE_Feed_MM_DD_YYYY.xml.gz`.
- **Regulatory AUM, Account & Employee Metrics:** Extracts Form ADV Part 1A Item 5 metrics including Total Regulatory AUM (`Item 5.F.2.c`), Discretionary AUM (`Item 5.F.2.a`), Total Accounts (`Item 5.F.2.f`), Total Employees (`Item 5.A`), and active client categories (`Item 5.D`).
- **Schema Validation & Newest-First Ordering:** Validates every record before output, deduplicates by `crdNumber`, and sorts newest first by `latestFilingDate` descending (with `regulatoryAumUsd` descending and `crdNumber` tiebreakers) before applying `maxItems`.

***

### Who it's for

- **Asset Management & Institutional Research Teams:** Benchmark SEC-registered investment advisers and exempt reporting advisers by regulatory AUM, discretionary AUM, account count, and state.
- **Compliance & Regulatory Analysts:** Monitor Form ADV Part 1A filing dates, SEC file numbers (`801-` / `802-`), registration statuses, and client category distributions across jurisdictions.
- **Financial Technology & Market Intelligence Analysts:** Track firm size, employee headcount, and AUM growth across the wealth management and private fund adviser ecosystem.

***

### Input

All parameters have working defaults/prefills that return results in under 2 minutes with no proxy and no API key.

| Field | Type | Default / Prefill | Description |
|---|---|---|---|
| `states` | `array<string>` | `["AZ"]` | Two-letter US state or territory codes for the firm's main office (e.g. `["AZ"]`, `["AZ", "CA", "NY"]`). Leave empty for all states. |
| `minAumUsd` | `integer` | `100000000` | Minimum Total Regulatory AUM (`Item 5.F.2.c`) in USD. Set to `0` to include all firms (including ERAs that do not report Item 5.F AUM). |
| `registrationTypes` | `array<string>` | `["SEC_REGISTERED", "ERA"]` | Filter by registration classification: `SEC_REGISTERED` and/or `ERA`. Applies to both feeds: state-registered firms (included via `includeStateRegistered`) count as the registered category, and state ERAs count as `ERA`, so an ERA-only selection returns ERAs from both feeds and never state-registered firms. The `registrationStatus` output always states each firm's true category, or null when the feed carries no registration element for the firm (such a firm is counted as drift in the status message and is returned only when both registration types are selected). |
| `includeStateRegistered` | `boolean` | `false` | Also stream and parse the SEC IAPD State Investment Adviser compilation feed (`IA_FIRM_STATE_Feed`). |
| `secUserAgent` | `string` | `GroundplaneLabs-Apify/1.0 admin@groundplanegroup.com` | Optional User-Agent sent to the SEC, which requires a contact email under its fair-access policy. Override it with your own product name and email. Requests stay rate limited (under 2 requests per second, one run-wide limiter) either way. |
| `maxItems` | `integer` | `200` | Maximum number of firm records to return. |

#### Example input JSON

```json
{
  "states": ["AZ"],
  "minAumUsd": 100000000,
  "registrationTypes": ["SEC_REGISTERED", "ERA"],
  "includeStateRegistered": false,
  "maxItems": 200
}
```

#### Canary input (smallest useful check, 5 rows)

```json
{
  "states": ["AZ"],
  "minAumUsd": 100000000,
  "registrationTypes": ["SEC_REGISTERED", "ERA"],
  "includeStateRegistered": false,
  "maxItems": 5
}
```

A healthy canary ends `Complete: 5 rows pushed` in a few seconds. Note the run still downloads and scans the full daily feed (about 24,000 firms) before trimming to 5 rows, and the default memory is 512 MB because the combined SEC and state feeds are parsed and accumulated in one run.

#### Example run options (with default $50 max charge protection)

When invoking via the Apify API or CLI, set a default maximum charge of **$50** (`"maxTotalChargeUsd": 50`):

```json
{
  "maxTotalChargeUsd": 50
}
```

The Actor checks `calculate_max_event_charge_count_within_limit("apify-default-dataset-item")` before every dataset push and stops cleanly when your spending limit is reached.

***

### Output

Results are saved to the default dataset, deduplicated by `crdNumber`, and sorted by `latestFilingDate` descending.

#### Output fields

| Field | Type | Description |
|---|---|---|
| `crdNumber` | `string` | Central Registration Depository (CRD) firm identifier. Natural deduplication key. |
| `secNumber` | `string \| null` | SEC file number (`801-XXXXXX` for RIAs, `802-XXXXXX` for ERAs). |
| `firmLegalName` | `string \| null` | Firm legal name (Form ADV Item 1.A). |
| `firmBusinessName` | `string \| null` | Primary business name (Form ADV Item 1.B). |
| `registrationStatus` | `string \| null` | Registration classification and status (e.g. `SEC_REGISTERED (APPROVED)`, `ERA (ACTIVE)`, `STATE_REGISTERED (APPROVED)`). |
| `registrationDate` | `string \| null` | Effective registration status date in `YYYY-MM-DD` format. |
| `mainOfficeCity` | `string \| null` | Main office city. |
| `mainOfficeState` | `string \| null` | Main office 2-letter state or territory code. |
| `mainOfficeZip` | `string \| null` | Main office postal ZIP code. |
| `website` | `string \| null` | Primary website URL from Form ADV Item 1.I. |
| `regulatoryAumUsd` | `number \| null` | Total Regulatory Assets Under Management in USD (Form ADV Item 5.F.2.c). |
| `discretionaryAumUsd` | `number \| null` | Discretionary Regulatory Assets Under Management in USD (Form ADV Item 5.F.2.a). |
| `totalAccounts` | `integer \| null` | Total number of client accounts (Form ADV Item 5.F.2.f). |
| `employeeCount` | `integer \| null` | Total employees performing advisory and non-advisory functions (Form ADV Item 5.A). |
| `clientTypes` | `array<string>` | Active client categories reported in Form ADV Item 5.D. |
| `latestFilingDate` | `string \| null` | Most recent Form ADV filing date in `YYYY-MM-DD` format. |
| `iapdUrl` | `string` | Direct URL to the firm summary on SEC IAPD (`https://adviserinfo.sec.gov/firm/summary/<crdNumber>`). |
| `feedDate` | `string` | Compilation report generation date in `YYYY-MM-DD` format. |

#### Sample output row (synthetic example)

```json
{
  "crdNumber": "999100",
  "secNumber": "801-999100",
  "firmLegalName": "SONORAN CAPITAL MANAGEMENT, LLC",
  "firmBusinessName": "SONORAN WEALTH PARTNERS",
  "registrationStatus": "SEC_REGISTERED (APPROVED)",
  "registrationDate": "2019-04-15",
  "mainOfficeCity": "SCOTTSDALE",
  "mainOfficeState": "AZ",
  "mainOfficeZip": "85254",
  "website": "HTTPS://WWW.EXAMPLE-ADVISERS.COM",
  "regulatoryAumUsd": 485250000.0,
  "discretionaryAumUsd": 462100000.0,
  "totalAccounts": 640,
  "employeeCount": 14,
  "clientTypes": [
    "Individuals (other than high net worth)",
    "High net worth individuals",
    "Pension and profit sharing plans",
    "Charitable organizations"
  ],
  "latestFilingDate": "2026-03-27",
  "iapdUrl": "https://adviserinfo.sec.gov/firm/summary/999100",
  "feedDate": "2026-10-31"
}
```

***

### How pricing works

Pay per result. You only pay for rows returned.

***

### Data source and terms

- **Official Source:** U.S. Securities and Exchange Commission (SEC): [Investment Adviser Public Disclosure (IAPD) Compilation Reports](https://adviserinfo.sec.gov/compilation) and [SEC Information About Registered Investment Advisers and Exempt Reporting Advisers](https://www.sec.gov/foia-services/frequently-requested-documents/information-about-registered-investment-advisers-exempt-reporting-advisers)
- **Endpoints:**
  - SEC Feed: `https://reports.adviserinfo.sec.gov/reports/CompilationReports/IA_FIRM_SEC_Feed_MM_DD_YYYY.xml.gz`
  - State Feed: `https://reports.adviserinfo.sec.gov/reports/CompilationReports/IA_FIRM_STATE_Feed_MM_DD_YYYY.xml.gz`
- **Update Cadence:** Updated daily by FINRA/SEC on `reports.adviserinfo.sec.gov`.
- **Terms of Use:** U.S. Government public disclosure data published by the SEC and FINRA under [IAPD Terms & Privacy Policy](https://www.adviserinfo.sec.gov/iapd-privacy-policy).

***

### Limits, Troubleshooting and FAQ

- **Why is `mainOfficeState` null for some firms, and why do they not match a state filter?**
  `mainOfficeState` comes only from the main office address in the feed. Some feed records carry no main office state (for example a phone-only main address, or a non-US main office). Those firms return `mainOfficeState: null` and do not match a `states` filter, because their main office state cannot be confirmed from the feed. The state of organization and states of registration are different fields and are never substituted for it.
- **What happens when no firm matches the filters?**
  The run succeeds with a `Complete: 0 rows matched your filters` status message that states how many firms were scanned and which filters to widen. Zero matches on a healthy feed is a valid result, not a failure.
- **Why do Exempt Reporting Advisers (`ERA`) only appear when `minAumUsd` is `0`?**
  Exempt Reporting Advisers file a truncated Form ADV Part 1A (Items 1, 2.B, 3, 6, 7, 10, and 11) and do not complete Item 5.F (`regulatoryAumUsd` is `null`). Setting `minAumUsd: 0` includes ERAs alongside RIAs.
- **What does a `PARTIAL:` status message mean?**
  If the upstream SEC feed exhibits schema drift or an optional sub-source (`STATE_FEED`) is temporarily unreachable, the Actor preserves all validated rows already collected and sets a `PARTIAL:` status message explaining why. A `PARTIAL:` can also report value-format drift: individual field values in the feed that could not be parsed (for example a malformed date or amount) ship as null and are counted in the status message. If this keeps happening, please open an issue on this actor's Issues tab and we'll fix it fast.
- **Support:** Found a problem or need a field? Open an issue on the Issues tab; we respond quickly.

***

### Changelog

#### v0.2 (2026-11-16)

- Deep-audit fix round (candidate on the audit build tag; findings F1 to F7 of the 2026-11-16 audit). F1: the core-field sentinel now covers every source attribute the parser reads (main-office city and ZIP, registration date and status code, the Item 1 website element, the Item 5.D client-type attributes, and the state-feed regulator date and status), so a rename of any of them fails the source loudly instead of shipping nulls or a fabricated "(UNKNOWN)" status. F2: value-format drift is counted and disclosed: an impossible or unparseable date, a non-numeric or negative AUM, account, or employee value, a fractional employee count, or a non-code state value now ships null and is named with its count in a source-caused `PARTIAL:` reason (drift on more than 20 percent of firms fails the source); decorated amounts like "$500,000,000" still parse. F3: fetch retries now share one 120 second total budget, with Retry-After honored inside the budget. F4: when at least one feed was scanned successfully, a zero-row outcome with a source reason ends as `PARTIAL:` with 0 rows instead of failing the run; a total source failure still fails loudly. F6: `includeStateRegistered` and `minAumUsd` are type-checked strictly. F7: a 403 on today's feed file (treated as not-yet-published on this host) is now logged as a possible fair-access block.

#### v0.1.3 (2026-10-31)

- Second Red Team review round (a duplicate independent review of 0.1.1 found two further Mediums). Medium M1: the core-column sentinel now also covers Item5F Q5F2A (discretionaryAumUsd), Q5F2F (totalAccounts), and, on the SEC feed, Info SECNb (secNumber); renaming any of them previously emitted a null column under Complete and now fails the source loudly. Medium M2: registrationTypes now applies to the state feed (state-registered firms count as the registered category, state ERAs as ERA) instead of being silently ignored there; the mapping is documented in the input table and schema. Lows: the listing description now starts with "Scrape"; the streaming memory wording in "What it does" now matches the 512 MB default; TEST_NOTES carries a currency banner marking its early sections as superseded 0.1 figures.

#### v0.1.2 (2026-10-31)

- Red Team fix round. Medium: a truncated or corrupt feed download now surfaces as a readable source-caused PARTIAL (EOFError, zlib, gzip, and XML syntax errors are caught at the parse site) instead of crashing with a raw traceback. Lows: staleness is now measured from the feed GenOn date (the same date emitted as feedDate), not the filename date; secUserAgent validation requires a plausible email token, not just an at sign; the charge-limit status branch now merges any accumulated source-caused reasons and keeps the Issues CTA; a labeled canary input block was added to this README, and the 512 MB default memory is justified there (both feeds are parsed and accumulated in one run).

#### v0.1.1 (2026-10-31)

- Fixed feed discovery: a not-yet-published daily feed returns HTTP 403 (AccessDenied) on this host, not 404, so the actor now steps back to earlier dates on 403 as well as 404 instead of failing.
- Fixed the SEC User-Agent to the fair-access form `GroundplaneLabs-Apify/1.0 admin@groundplanegroup.com` and added the optional `secUserAgent` override input.
- Fixed `mainOfficeState`: it now comes only from the main office address. The state of organization (Item 3C) and states of registration are no longer substituted for it, so state filtering no longer mislabels firms.
- Added a feed-level core-field check: if a field the filters, dedupe, sort, or AUM values depend on disappears from the feed, the run reports schema drift instead of silently returning nulls or zero rows. An empty feed now fails as a source problem.
- Fixed status messages: zero matches on a healthy feed now succeed as `Complete: 0 rows matched your filters`, the charge limit ends as a `PARTIAL:` message, and the Issues call to action appears only when a PARTIAL reason was caused by the source.
- Added `defaultRunOptions` (max charge $50) and a real `exampleRunInput` to the actor definition, plus the not-investment-advice note above.

#### v0.1 (2026-10-31)

- Initial release supporting SEC IAPD `IA_FIRM_SEC_Feed` and `IA_FIRM_STATE_Feed` daily XML compilation archives with streaming `lxml.etree.iterparse` parsing and schema validation.

# Actor input Schema

## `includeStateRegistered` (type: `boolean`):

When enabled, also streams and parses the SEC IAPD State Investment Adviser compilation feed (IA_FIRM_STATE_Feed).

## `maxItems` (type: `integer`):

Maximum number of adviser firm records to return, sorted newest first by latestFilingDate.

## `minAumUsd` (type: `integer`):

Minimum regulatory Assets Under Management (Item 5.F.2.c) in US dollars. Set to 0 to include all firms (including ERAs that do not report Item 5.F regulatory AUM).

## `secUserAgent` (type: `string`):

Optional User-Agent sent to the SEC, which requires a contact email under its fair-access policy. Override it with your own product name and email, for example "Acme Corp ops@acme.com". Requests stay rate limited either way.

## `registrationTypes` (type: `array`):

Filter by SEC registration classification: SEC_REGISTERED (Registered Investment Advisers) and/or ERA (Exempt Reporting Advisers). Applies to both feeds: state-registered firms (included via includeStateRegistered) count as the registered category, and state ERAs count as ERA, so an ERA-only selection returns ERAs from both feeds and never state-registered firms.

## `states` (type: `array`):

Two-letter US state or territory postal codes for the firm's main office (e.g. \["AZ"] or \["AZ", "CA", "NY"]). Leave empty for all states.

## Actor input object example

```json
{
  "includeStateRegistered": false,
  "maxItems": 200,
  "minAumUsd": 100000000,
  "secUserAgent": "GroundplaneLabs-Apify/1.0 admin@groundplanegroup.com",
  "registrationTypes": [
    "SEC_REGISTERED",
    "ERA"
  ],
  "states": [
    "AZ"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "includeStateRegistered": false,
    "maxItems": 200,
    "minAumUsd": 100000000,
    "secUserAgent": "GroundplaneLabs-Apify/1.0 admin@groundplanegroup.com",
    "registrationTypes": [
        "SEC_REGISTERED",
        "ERA"
    ],
    "states": [
        "AZ"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("groundplanes/sec-form-adv-investment-advisers").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "includeStateRegistered": False,
    "maxItems": 200,
    "minAumUsd": 100000000,
    "secUserAgent": "GroundplaneLabs-Apify/1.0 admin@groundplanegroup.com",
    "registrationTypes": [
        "SEC_REGISTERED",
        "ERA",
    ],
    "states": ["AZ"],
}

# Run the Actor and wait for it to finish
run = client.actor("groundplanes/sec-form-adv-investment-advisers").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "includeStateRegistered": false,
  "maxItems": 200,
  "minAumUsd": 100000000,
  "secUserAgent": "GroundplaneLabs-Apify/1.0 admin@groundplanegroup.com",
  "registrationTypes": [
    "SEC_REGISTERED",
    "ERA"
  ],
  "states": [
    "AZ"
  ]
}' |
apify call groundplanes/sec-form-adv-investment-advisers --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,groundplanes/sec-form-adv-investment-advisers"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/aXoYf6g9GK08JQ5U5/builds/YdJZMGX4YQIOgdVsu/openapi.json
