{
  "openapi": "3.0.1",
  "info": {
    "title": "Business Email Finder – Website & Domain Email Extractor",
    "description": "Find the public e-mails companies publish on their own websites: give websites or domains (list, CSV / JSON, dataset), get each e-mail with its source page, free checks and company details. You pay only for the unique e-mails found. No SMTP, nothing guessed.",
    "version": "0.1",
    "x-build-id": "eFaAgjo8kyyxxLFt3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/badr_xba~business-email-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-badr_xba-business-email-finder",
        "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/badr_xba~business-email-finder/runs": {
      "post": {
        "operationId": "runs-sync-badr_xba-business-email-finder",
        "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/badr_xba~business-email-finder/run-sync": {
      "post": {
        "operationId": "run-sync-badr_xba-business-email-finder",
        "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": {
          "websites": {
            "title": "Websites or domains",
            "type": "array",
            "description": "One website URL or domain per line (example.com, https://www.example.com/contact, münchen.de). Paths are removed and duplicates are read once. Empty input = a demo run with the 3 examples.",
            "items": {
              "type": "string"
            }
          },
          "websitesFile": {
            "title": "CSV / JSON file of websites (URL)",
            "type": "string",
            "description": "Public URL (or Apify key-value store record URL) of a CSV or JSON file. The column / field named website, domain or url is found automatically (or set it below)."
          },
          "datasetId": {
            "title": "Apify dataset ID",
            "type": "string",
            "description": "Read the websites from an existing dataset, for example the output of a Google Maps Actor run."
          },
          "websiteField": {
            "title": "Website field / column name",
            "type": "string",
            "description": "Name of the field holding the website in the file or dataset (default: detected, for example website, domain or url)."
          },
          "maxWebsites": {
            "title": "Maximum websites",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The run stops cleanly after this many websites.",
            "default": 1000
          },
          "maxPagesPerWebsite": {
            "title": "Maximum pages per website",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Home page included. Contact, imprint, about, team and support pages are read first.",
            "default": 5
          },
          "pageTypes": {
            "title": "Page types to look for",
            "type": "array",
            "description": "Pages read after the home page, in this order of priority.",
            "items": {
              "type": "string",
              "enum": [
                "contact",
                "imprint",
                "about",
                "team",
                "support"
              ],
              "enumTitles": [
                "Contact",
                "Imprint / legal notice",
                "About",
                "Team",
                "Support / help"
              ]
            },
            "default": [
              "contact",
              "imprint",
              "about",
              "team",
              "support"
            ]
          },
          "maxEmails": {
            "title": "Maximum unique e-mails (0 = no limit)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "The run stops cleanly when this many unique e-mails were delivered.",
            "default": 0
          },
          "maxEmailsPerWebsite": {
            "title": "Maximum e-mails per website (0 = all)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keeps your spend per website under control: only the best e-mails of each website are delivered (on the website's own domain, role addresses like info@ or contact@, found on a contact or imprint page first). 1 = the single best e-mail, 3 (default) = the 3 best, 0 = all. E-mails over the limit are not delivered and never charged; they are counted in RUN_SUMMARY.",
            "default": 3
          },
          "stopAfterWebsitesWithoutEmail": {
            "title": "Stop after N websites in a row without e-mail (0 = never)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Protects your time and platform usage when a list contains no published e-mails.",
            "default": 300
          },
          "maxConcurrency": {
            "title": "Websites read in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Each website is still read politely (at least 1 second between two pages of the same site).",
            "default": 10
          },
          "excludePersonalLookingEmails": {
            "title": "Leave out personal-looking e-mails (recommended)",
            "type": "boolean",
            "description": "firstname.lastname@ or private webmail addresses are left out, counted in the run summary and never charged.",
            "default": true
          },
          "onlyEmailsOnWebsiteDomain": {
            "title": "Only e-mails on the website's own domain",
            "type": "boolean",
            "description": "Keep only addresses @ the company's domain (leaves out web agencies, Gmail…).",
            "default": false
          },
          "freeChecks": {
            "title": "Free checks (syntax, domain, MX, disposable, role)",
            "type": "boolean",
            "description": "DNS checks at no extra charge. Not a mailbox (SMTP) verification.",
            "default": true
          },
          "excludeDisposable": {
            "title": "Leave out disposable e-mail domains",
            "type": "boolean",
            "description": "On (default): addresses on known throw-away e-mail domains (public CC0 list) are left out and never charged. They are counted in RUN_SUMMARY.",
            "default": true
          },
          "excludeNoMx": {
            "title": "Leave out e-mails whose domain has no MX record",
            "type": "boolean",
            "description": "Off (default): every found e-mail is kept, with mxFound true / false / null in its row. On: e-mails whose domain publishes no mail server (MX) are left out and never charged. Needs the free checks to be on.",
            "default": false
          },
          "verificationProvider": {
            "title": "Mailbox verification with your own key (optional)",
            "enum": [
              "none",
              "hunter",
              "reoon"
            ],
            "type": "string",
            "description": "Hunter or Reoon, billed by the provider to YOUR key. Nothing extra is charged by this Actor.",
            "default": "none"
          },
          "verificationApiKey": {
            "title": "Verification API key",
            "type": "string",
            "description": "Stored encrypted, never written to the log or the dataset."
          },
          "includeWebsitesWithoutEmail": {
            "title": "Add a free row for websites without e-mail",
            "type": "boolean",
            "description": "One free row per website without a deliverable e-mail (emailFound: false), with its status and company details.",
            "default": false
          },
          "failRunOnError": {
            "title": "Mark the run as failed when an input fails",
            "type": "boolean",
            "description": "By default the run succeeds and failed inputs are listed in FAILED_INPUTS (never charged).",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy for reading websites",
            "type": "object",
            "description": "Websites are read directly by default (polite pace, robots.txt respected).",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}