{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Email & Contact Scraper",
    "description": "Email extractor and contact scraper for any list of websites: MX-checked emails, phone numbers and Facebook, LinkedIn, Instagram, X and YouTube links, one row per site. Sites with no qualifying email or phone are free. No login, no browser. Export CSV or JSON, run via API or on a schedule.",
    "version": "0.1",
    "x-build-id": "iVasfsqBpYyzCObL6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/leadharbor~website-contact-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-leadharbor-website-contact-extractor",
        "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/leadharbor~website-contact-extractor/runs": {
      "post": {
        "operationId": "runs-sync-leadharbor-website-contact-extractor",
        "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/leadharbor~website-contact-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-leadharbor-website-contact-extractor",
        "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",
            "type": "array",
            "description": "The list of websites/domains to extract contacts from. One per line.",
            "items": {
              "type": "string"
            }
          },
          "inputDatasetId": {
            "title": "Or: websites from a dataset",
            "type": "string",
            "description": "Pick a dataset from another actor's run, for example a Google Maps scraper. Every row's website is checked for contacts. Added to any websites listed above. Used automatically when this actor is added as an integration to another actor."
          },
          "urlField": {
            "title": "Website field in the dataset",
            "type": "string",
            "description": "The field that holds each row's website. The fields website, webUrl and domain are tried as well.",
            "default": "website"
          },
          "verifyEmails": {
            "title": "Verify emails (MX check)",
            "type": "boolean",
            "description": "Tag each email valid / risky-role / invalid by checking the domain's mail records.",
            "default": true
          },
          "maxEmailsPerSite": {
            "title": "Max emails per website",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of emails to keep per website.",
            "default": 5
          },
          "includeSocials": {
            "title": "Include social profiles",
            "type": "boolean",
            "description": "Also extract Facebook, Instagram, LinkedIn, Twitter/X and YouTube links.",
            "default": true
          },
          "maxPagesPerSite": {
            "title": "Max pages per website",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "How many pages of one website to read at most (home page, the contact / about / impressum pages it links to, then the usual /contact, /contact-us, /about). Pricing is per website, not per page.",
            "default": 5
          },
          "maxDepth": {
            "title": "Link depth",
            "minimum": 0,
            "maximum": 2,
            "type": "integer",
            "description": "0 = home page only. 1 = also the contact-style pages linked from the home page (default). 2 = also contact-style pages linked from those pages.",
            "default": 1
          },
          "sameDomain": {
            "title": "Stay on the same host",
            "type": "boolean",
            "description": "On (default): only pages on the same host (www ignored). Off: pages on other subdomains of the same domain are allowed too (shop.example.com for example.com). Links to unrelated websites are never followed.",
            "default": true
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "On (default): each site's robots.txt is read first and pages it disallows for this bot are skipped; if robots.txt cannot be read because of a server error or timeout, the site is skipped. Turn off only if you have the right to read the sites you list.",
            "default": true
          },
          "defaultPhoneCountry": {
            "title": "Default phone country (optional)",
            "type": "string",
            "description": "Two-letter country code (GB, US, AE, OM, DE, FR, IN...) used to turn local numbers such as 020 7946 0958 into international format in the phoneE164 field. Numbers that already start with + or 00 need no setting."
          },
          "maxConcurrency": {
            "title": "Websites read in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many different websites are read at the same time. Pages of one website are always read one after another.",
            "default": 5
          },
          "notionConnector": {
            "title": "Notion connector (optional)",
            "type": "string",
            "description": "Send the contact details into your own Notion. Authorize Notion once in Apify Console > Settings > API & Integrations > MCP connectors, then pick it here. This Actor never sees your Notion login."
          },
          "notionParentPage": {
            "title": "Notion page to create the table in",
            "type": "string",
            "description": "Link of a Notion page. The first run creates a table inside it and fills it."
          },
          "notionDataSourceId": {
            "title": "Existing Notion table ID (optional)",
            "type": "string",
            "description": "To keep adding to the same table, paste the table ID printed in the log (also saved in the run's NOTION_RESULT record) by the first run."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}