{
  "openapi": "3.0.1",
  "info": {
    "title": "US PBGC Pension Plans, Distress & SFA Bailout Intelligence",
    "description": "Screen, enrich, and monitor 28,000+ US PBGC Single-Employer, Multiemployer, and Failed/Trusteed Pension Plans cross-matched with $70B+ in ARP Special Financial Assistance (SFA) bailouts, Insolvency/Termination/Merger notices, and direct sponsor phone numbers.",
    "version": "1.0",
    "x-build-id": "5vUWmDkkQFzJyRujB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/regpulse-data~us-pbgc-pension-distress-intelligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-regpulse-data-us-pbgc-pension-distress-intelligence",
        "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/regpulse-data~us-pbgc-pension-distress-intelligence/runs": {
      "post": {
        "operationId": "runs-sync-regpulse-data-us-pbgc-pension-distress-intelligence",
        "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/regpulse-data~us-pbgc-pension-distress-intelligence/run-sync": {
      "post": {
        "operationId": "run-sync-regpulse-data-us-pbgc-pension-distress-intelligence",
        "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": {
          "mode": {
            "title": "Operating Mode",
            "enum": [
              "plan_search",
              "sfa_bailout_intelligence",
              "distress_and_notices",
              "watchlist_changes"
            ],
            "type": "string",
            "description": "Choose 'plan_search' to query and enrich all 28,000+ PBGC Single-Employer, Multiemployer & Trusteed plans (cross-matched with SFA bailouts & distress notices), 'sfa_bailout_intelligence' for dedicated ARP Special Financial Assistance ($70B+ bailout) tracking enriched with sponsor phones, 'distress_and_notices' for Insolvency, Termination & Merger filings, or 'watchlist_changes' for stateful delta monitoring.",
            "default": "plan_search"
          },
          "searchQueries": {
            "title": "Search Queries (Plan Name, Sponsor, EIN, Union, or PBGC Case #)",
            "type": "array",
            "description": "Optional search terms matched case-insensitively against Plan Name, Plan Sponsor Name, 9-digit EIN (with or without hyphen), EIN/PN (e.g., 256107185/001), Union (e.g., IBT, UFCW, SEIU, LIUNA), Industry, or PBGC Trusteeship Case Number.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "planTypes": {
            "title": "Plan Universe Filter (plan_search mode)",
            "type": "array",
            "description": "Filter by PBGC plan category: 'SINGLE_EMPLOYER' (21,800+ corporate defined-benefit plans), 'MULTIEMPLOYER' (1,280+ union/Taft-Hartley plans), or 'PBGC_TRUSTEED' (5,180+ failed plans taken over by PBGC). Leave empty to include all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "US State / Territory Filter (2-Letter Codes)",
            "type": "array",
            "description": "Optional list of 2-letter US state/territory codes (e.g., 'NY', 'CA', 'IL', 'PA', 'OH', 'TX').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minParticipants": {
            "title": "Minimum Participant Count",
            "minimum": 0,
            "type": "integer",
            "description": "Return only plans with at least this many participants (ideal for Pension Risk Transfer annuity buyout sizing and OCIO AUM targeting).",
            "default": 0
          },
          "maxParticipants": {
            "title": "Maximum Participant Count (0 = No Upper Cap)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional upper participant cap (e.g., 500 for small-plan actuarial TPA leads). Set 0 for no upper limit.",
            "default": 0
          },
          "hasPhoneOnly": {
            "title": "Require Direct Contact Phone Number",
            "type": "boolean",
            "description": "If enabled, return only records with a direct PBGC-reported administrator/sponsor telephone number.",
            "default": false
          },
          "onlyDistressedOrBailout": {
            "title": "Only Plans with Distress / Bailout / Notice Signals",
            "type": "boolean",
            "description": "If enabled in 'plan_search' mode, return only plans that are PBGC-Trusteed, have an ARP SFA bailout filing, or filed an Insolvency/Termination/Merger notice.",
            "default": false
          },
          "sfaStatuses": {
            "title": "SFA Bailout Application Status Filter (sfa_bailout_intelligence mode)",
            "type": "array",
            "description": "Optional filter for SFA status: 'UNDER_REVIEW', 'APPROVED', 'DENIED', 'WITHDRAWN', 'LOCK_IN_ONLY', 'WAITING_LIST'. Leave empty to return all SFA records.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minSfaAmountUsd": {
            "title": "Minimum SFA Bailout Amount Requested/Approved (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional minimum dollar threshold (e.g., 10000000 for $10M+ institutional bailouts).",
            "default": 0
          },
          "noticeTypes": {
            "title": "Notice Types Filter (distress_and_notices mode)",
            "type": "array",
            "description": "Optional filter for notice filings: 'INSOLVENCY_NOTICE', 'TERMINATION_NOTICE', or 'MERGER_NOTICE'. Leave empty for all notice types.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort Order",
            "enum": [
              "participants_desc",
              "sfa_amount_desc",
              "distress_score_desc",
              "plan_name_asc"
            ],
            "type": "string",
            "description": "Order results by highest SFA bailout amount, highest participant count, highest distress score, or alphabetical plan name.",
            "default": "participants_desc"
          },
          "stateStoreName": {
            "title": "Watchlist Named Key-Value Store (watchlist_changes mode)",
            "type": "string",
            "description": "Persistent Apify Key-Value Store name used to diff weekly PBGC SFA updates, new Insolvency/Termination/Merger notices, and new PBGC Trusteeships.",
            "default": "pbgc-pension-watchlist-state"
          },
          "maxResults": {
            "title": "Max Results (0 = Unlimited)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of records to deliver and bill in this run. Defaults to 100 for fast previewing; set to 0 to export all matching plans (up to 28,000+).",
            "default": 100
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}