{
  "openapi": "3.0.1",
  "info": {
    "title": "Family Office Business Qualification Scraper",
    "description": "Inspect supplied public business websites for source-attributed self-description candidates and literal ICP phrase evidence. Return quotations, unknowns and human-review dispositions without inferring wealth or buyer intent.",
    "version": "0.1",
    "x-build-id": "CCw1CQGcxRg1fOojN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation-lab~family-office-business-qualification/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation-lab-family-office-business-qualification",
        "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/automation-lab~family-office-business-qualification/runs": {
      "post": {
        "operationId": "runs-sync-automation-lab-family-office-business-qualification",
        "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/automation-lab~family-office-business-qualification/run-sync": {
      "post": {
        "operationId": "run-sync-automation-lab-family-office-business-qualification",
        "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": [
          "accounts",
          "criteria"
        ],
        "properties": {
          "accounts": {
            "title": "Business accounts",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "1–100 supplied business account objects with name and full public HTTP(S) url; optional accountId preserves your CRM key. Only the first maxItems rows are inspected, in input order; duplicate rows are retained. Provide business-owned HTML pages, not private-person profiles, directories or search results. No queries, credentials or nonstandard ports. Redirects and discovered links stay on the same hostname (www alias allowed); identity/domain ownership is supplied, not verified.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "title": "Supplied business name",
                  "type": "string",
                  "description": "Business name; not independently verified."
                },
                "url": {
                  "title": "Public business URL",
                  "type": "string",
                  "description": "Full public HTTP(S) business page without queries or credentials."
                },
                "accountId": {
                  "title": "Account key",
                  "type": "string",
                  "description": "Optional CRM join key, returned unchanged."
                }
              },
              "required": [
                "name",
                "url"
              ]
            }
          },
          "criteria": {
            "title": "Literal business phrase criteria",
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "description": "1–20 objects with unique id and phrase; optional contradictingPhrase. Phrases are 3–120 characters. Case-insensitive literal substring matching on extracted HTML body text, after whitespace normalization; punctuation is not normalized and there are no word-boundary, translation, semantic or negation guarantees. Each criterion is evaluated independently. supported means only supporting phrase seen; unsupported means only supplied contradicting phrase seen; both or neither means unknown. These are phrase observations, never certified ICP facts. Supply business criteria only, not personal wealth or intent criteria.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "title": "Criterion ID",
                  "type": "string",
                  "description": "Unique ASCII letters, digits, underscores or hyphens, 1–40 characters."
                },
                "phrase": {
                  "title": "Supporting phrase",
                  "type": "string",
                  "description": "Literal case-insensitive substring after whitespace normalization, 3–120 characters."
                },
                "contradictingPhrase": {
                  "title": "Contradicting phrase",
                  "type": "string",
                  "description": "Optional literal contrary phrase; both phrases present means unknown."
                }
              },
              "required": [
                "id",
                "phrase"
              ]
            }
          },
          "maxItems": {
            "title": "Maximum input accounts inspected",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Global cap on input account rows attempted in order, including failed accounts and duplicate inputs. Default 10, range 1–100; zero/unlimited is not supported. Runtime and charge limits can stop earlier; this is not a promised output count.",
            "default": 10
          },
          "maxPagesPerAccount": {
            "title": "Maximum pages attempted per account",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Default 3, range 1–5. Includes the supplied page and observed same-host about/company/services links, in discovery order; failed attempts consume the limit. Redirects (up to 5 hops) and one transient HTTP/timeout retry are internal to each page. Direct HTML only: no proxy, login or JavaScript rendering. Coverage remains bounded, not exhaustive.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}