{
  "openapi": "3.0.1",
  "info": {
    "title": "💼 DOL Form 5500 ERISA Retirement Plan Filing Tracker",
    "description": "Pull DOL Form 5500 + Schedule H ERISA filings — plan name, sponsor, EIN, state, total assets, participants, recordkeeper, trustee, auditor. $11T retirement-plan disclosure for RIA prospecting, 401(k) auditor lead-gen, ERISA class-action discovery. Larkspur 401(k) Data alternative.",
    "version": "0.0",
    "x-build-id": "qbBKrbUzwspfYiIt1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nexgendata~dol-form-5500-erisa-plan-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nexgendata-dol-form-5500-erisa-plan-tracker",
        "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/nexgendata~dol-form-5500-erisa-plan-tracker/runs": {
      "post": {
        "operationId": "runs-sync-nexgendata-dol-form-5500-erisa-plan-tracker",
        "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/nexgendata~dol-form-5500-erisa-plan-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-nexgendata-dol-form-5500-erisa-plan-tracker",
        "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": [
              "search",
              "bulk"
            ],
            "type": "string",
            "description": "How aggressively to scan the DOL Form 5500 bulk dataset. `search` runs a fast targeted slice (intended for ad-hoc lookups like 'CA plans with $10M+ assets, top 100'), capping at 2,000 rows and exiting early when max_plans is hit. `bulk` runs a full annual sweep allowing up to 5,000 rows for backfills / nightly RIA-prospecting jobs. Both modes consume the same DOL bulk CSV files (Form 5500 + Schedule H); the EFAST search UI at efast.dol.gov is JS-rendered with a WAF-blocked backend, so the bulk file is the only reliable programmatic path.",
            "default": "search"
          },
          "state_filter": {
            "title": "State filter (2-letter US state)",
            "pattern": "^[A-Za-z]{0,2}$",
            "type": "string",
            "description": "Filter to plans whose sponsor mailing address is in this state. Two-letter USPS state code (e.g. CA, NY, TX, FL). Leave blank to include all US states + territories. Foreign-sponsor plans are always excluded by this filter regardless of value."
          },
          "min_assets": {
            "title": "Minimum total assets (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop plans whose end-of-year total assets are below this floor (USD). The most common filter — RIA wholesalers target $10M+ for prospecting, $100M+ for institutional outreach, $1B+ for true mega-plan wholesale. Asset data comes from Schedule H (TOT_ASSETS_EOY_AMT); plans that file Schedule I instead (small plans, typically <$250K) will be excluded when this is >0 since their bulk dataset doesn't include total-asset detail. Set to 0 to include all plans regardless of asset size.",
            "default": 1000000
          },
          "max_assets": {
            "title": "Maximum total assets (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Cap plans whose end-of-year total assets exceed this ceiling. Useful when targeting the mid-market band (e.g. $10M-$1B = serviceable RIA TAM, excludes the mega-plans that Vanguard / Fidelity already won). Leave blank for no upper bound."
          },
          "plan_type": {
            "title": "Plan type",
            "enum": [
              "401(k)",
              "defined-benefit",
              "any"
            ],
            "type": "string",
            "description": "Filter to a specific plan structure. `401(k)` targets plans with the DOL pension-feature code 2J (defined contribution plans with employee 401(k) arrangement) — the dominant retirement-plan-wholesaler segment. `defined-benefit` targets plans with Schedule SB (single-employer DB) or Schedule MB (multiemployer DB) attached — the actuarial / pension-risk-transfer segment. `any` includes all pension and welfare plans.",
            "default": "any"
          },
          "year": {
            "title": "Form year",
            "minimum": 2009,
            "maximum": 2030,
            "type": "integer",
            "description": "Form year to pull. DOL publishes harmonized datasets for plan years 2009 onward; recent years are updated monthly with newly received filings. 2024 is the most complete recent year as of mid-2026. Older years (2009-2023) are stable archives. Use 2025 only after July of the filing year — most plans file in the second half of the year following their plan-year end.",
            "default": 2024
          },
          "max_plans": {
            "title": "Max plans to return",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on plans pushed to the dataset (and metered for per-plan-filing billing). Defaults to 200 (a comfortable RIA prospect batch). Each plan record is billed at $0.12. Tune to your budget.",
            "default": 200
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}