{
  "openapi": "3.0.1",
  "info": {
    "title": "CEO & Founder Email Finder - Work Emails by Company Domain",
    "description": "Domain in, CEO and founder work emails out in one call. Only addresses on that domain, no guesses, no LinkedIn URLs needed. Pay per contact, per-run spend cap. JSON/CSV, HubSpot, Clay, n8n, Make, Zapier. Free plan: 100 results per run.",
    "version": "0.1",
    "x-build-id": "X7NgwpzfNVvEYP7xz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2bdata~ceo-founder-email-finder-by-domain/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2bdata-ceo-founder-email-finder-by-domain",
        "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/b2bdata~ceo-founder-email-finder-by-domain/runs": {
      "post": {
        "operationId": "runs-sync-b2bdata-ceo-founder-email-finder-by-domain",
        "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/b2bdata~ceo-founder-email-finder-by-domain/run-sync": {
      "post": {
        "operationId": "run-sync-b2bdata-ceo-founder-email-finder-by-domain",
        "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": [
          "domain"
        ],
        "properties": {
          "domain": {
            "title": "Company domain",
            "type": "string",
            "description": "Website domain of the company, for example openai.com. A full URL such as https://www.openai.com/about?ref=x is reduced to its host. A company name like 'OpenAI' returns an input error instead of results, so use the domain."
          },
          "maxCandidates": {
            "title": "Max leadership candidates (0 = all, hard max 50)",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "How many leadership profiles to inspect, from 1 to 50; 0 means all (50). Values above 50 are rejected with a message.",
            "default": 50
          },
          "minLeadScore": {
            "title": "Minimum lead score (0-100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Rows scoring below this leadScore are not returned and not charged. 0 keeps every row. Example: 60 keeps only strong matches. A whole number from 0 to 100; values outside that range are rejected with a message.",
            "default": 0
          },
          "outputFormat": {
            "title": "Output format",
            "enum": [
              "default",
              "compatible"
            ],
            "type": "string",
            "description": "default returns our field names. compatible keeps them and also adds the field names common LinkedIn scrapers use, so existing mappings keep working. Example: compatible adds email, jobTitle and firstName next to workEmail, title and fullName.",
            "default": "default"
          },
          "targetPersonas": {
            "title": "Buying committee (personas)",
            "maxItems": 5,
            "uniqueItems": true,
            "type": "array",
            "description": "Optional. Pick 1-5 roles and get one contact per role that has a reachable work email, in this order. Each role is matched on title keywords (see README). Leave empty to keep the normal executive search. Example: [\"sales_leader\", \"finance_cfo\", \"it_security\"]. Each returned contact is charged as one contact; roles with no match return no row and cost nothing.",
            "items": {
              "type": "string",
              "enum": [
                "founder_ceo",
                "sales_leader",
                "marketing_leader",
                "ops_logistics",
                "procurement",
                "finance_cfo",
                "it_security",
                "hr_people"
              ],
              "enumTitles": [
                "Founder / CEO",
                "Sales leader",
                "Marketing leader",
                "Operations / logistics",
                "Procurement",
                "Finance / CFO",
                "IT / security",
                "HR / people"
              ]
            },
            "default": []
          },
          "executiveFallback": {
            "title": "Fall back to a senior leader",
            "type": "boolean",
            "description": "Used only with personas. When a role has no reachable contact, return the most senior leader with a reachable work email instead; the row's title is their real role and fellBackFrom names the role you asked for. Fallback rows are charged like any contact. Turn off to get only exact role matches.",
            "default": true
          },
          "maxChargeUsd": {
            "title": "Max charge (USD, 0 = no extra cap)",
            "minimum": 0,
            "type": "number",
            "description": "Stop when this run's charges reach this amount. The run ends SUCCEEDED with the data so far and one free explanation row (status max_charge_reached). 0 means no extra cap.",
            "default": 0
          },
          "sourceTag": {
            "title": "Source tag",
            "maxLength": 100,
            "type": "string",
            "description": "Optional label copied to every result row as sourceTag and into OUTPUT, to tell runs apart in your pipeline.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}