{
  "openapi": "3.0.1",
  "info": {
    "title": "Scrape HNWI For Wealth Management Market (Saad Belcaid)",
    "description": "Find newly-liquid high-net-worth individuals from official SEC filings — insider sales (Form 4), intent-to-sell notices (Form 144) and M&A events (8-K) — scored by how much of their position they actually sold. Every row deep-links to the exact filing. Not rich people: people whose money just moved.",
    "version": "1.0",
    "x-build-id": "KK0WYJz3WyePWnbds"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/belcaidsaad~scrape-hnwi-for-wealth-management-market-saad-belcaid/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-belcaidsaad-scrape-hnwi-for-wealth-management-market-saad-belcaid",
        "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/belcaidsaad~scrape-hnwi-for-wealth-management-market-saad-belcaid/runs": {
      "post": {
        "operationId": "runs-sync-belcaidsaad-scrape-hnwi-for-wealth-management-market-saad-belcaid",
        "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/belcaidsaad~scrape-hnwi-for-wealth-management-market-saad-belcaid/run-sync": {
      "post": {
        "operationId": "run-sync-belcaidsaad-scrape-hnwi-for-wealth-management-market-saad-belcaid",
        "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": {
          "scrapeForm4": {
            "title": "Form 4 — insider sold stock",
            "type": "boolean",
            "description": "Filed within 2 days of the trade. The core signal: an insider just converted equity into cash.",
            "default": true
          },
          "scrapeForm144": {
            "title": "Form 144 — intent to sell restricted stock",
            "type": "boolean",
            "description": "Leading indicator — filed BEFORE the sale happens. Reach them while they are still deciding.",
            "default": true
          },
          "scrape8K": {
            "title": "8-K — M&A events",
            "type": "boolean",
            "description": "Item 1.01 = deal signed, Item 2.01 = deal closed. Founders about to get paid.",
            "default": true
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "YYYY-MM-DD. Leave empty for the last 7 days. NOTE: SEC's live filing feed only holds roughly the last 2 days for Form 4 / Form 144 — this is a fresh-filings feed, not an archive. 8-K full-text search does honour longer ranges."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "YYYY-MM-DD. Leave empty for today."
          },
          "minSellRatioPct": {
            "title": "Minimum sell ratio (% of holdings sold)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "THE filter that makes this a signal instead of a list. sharesSold / (sharesSold + sharesRemaining), counting open-market sales only. Under 5% is a routine trim. Over 50% is someone cashing out of their life's position. Try 20 for significant liquidation, 50 for cashing out. Leave EMPTY to use 5%."
          },
          "minTransactionValue": {
            "title": "Minimum transaction value (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "In dollars. 100000 = $100K, 1000000 = $1M, 5000000 = $5M.",
            "default": 100000
          },
          "minUrgency": {
            "title": "Minimum urgency",
            "enum": [
              "low",
              "medium",
              "high",
              "critical"
            ],
            "type": "string",
            "description": "Scored from sell ratio, transaction value, insider seniority, and recency.",
            "default": "low"
          },
          "officersOnly": {
            "title": "Officers and directors only",
            "type": "boolean",
            "description": "Skip 10% owners (usually funds and holding entities, not people with a new personal balance sheet).",
            "default": false
          },
          "excludeMegaCap": {
            "title": "Exclude mega-cap companies (10,000+ employees)",
            "type": "boolean",
            "description": "A Meta or Apple executive already has Goldman. The CTO of an $800M company selling 60% of his position does not.",
            "default": true
          },
          "maOnly": {
            "title": "M&A events only (items 1.01 / 2.01)",
            "type": "boolean",
            "description": "Drop every other 8-K item type.",
            "default": false
          },
          "searchTerms": {
            "title": "8-K full-text search query",
            "type": "string",
            "description": "EDGAR full-text search syntax. Quotes for exact phrases, OR to combine.",
            "default": "\"acquisition\" OR \"merger\" OR \"definitive agreement\""
          },
          "maxForm4": {
            "title": "Max Form 4 filings to process",
            "minimum": 1,
            "type": "integer",
            "description": "How many Form 4 filings to fetch and parse. Higher = more coverage, slower run.",
            "default": 200
          },
          "maxForm144": {
            "title": "Max Form 144 filings to process",
            "minimum": 1,
            "type": "integer",
            "description": "How many Form 144 filings to fetch and parse.",
            "default": 100
          },
          "max8K": {
            "title": "Max 8-K results",
            "minimum": 1,
            "type": "integer",
            "description": "How many 8-K search results to process.",
            "default": 200
          },
          "maxResults": {
            "title": "Max total records returned",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on rows written to the dataset across all three sources.",
            "default": 500
          },
          "apolloApiKey": {
            "title": "Apollo API key (optional)",
            "type": "string",
            "description": "Optional. Adds company domain and employee count so you can resolve where the person works. Uses Apollo's free mixed_people/search endpoint — costs 0 credits. Company-level only; this does NOT return the person's email address."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}