{
  "openapi": "3.0.1",
  "info": {
    "title": "Lead List Enricher: Website Emails, Phones & Socials",
    "description": "Enrich a lead list or any dataset with website contacts: ranked emails with mail-server check, validated phones, 15 social networks, contact form, site platform and AI-crawler flags. One row per company. Pay only for companies where contacts are found.",
    "version": "1.1",
    "x-build-id": "dIbgJjegsNUnETeoh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rationalistic_canoe~website-contact-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rationalistic_canoe-website-contact-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/rationalistic_canoe~website-contact-finder/runs": {
      "post": {
        "operationId": "runs-sync-rationalistic_canoe-website-contact-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/rationalistic_canoe~website-contact-finder/run-sync": {
      "post": {
        "operationId": "run-sync-rationalistic_canoe-website-contact-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": "Domains or URLs, one per line (e.g. stripe.com). Or leave empty and enrich a dataset below.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Enrich an existing dataset (dataset ID)",
            "type": "string",
            "description": "ID of an Apify dataset to enrich, e.g. the output of a Google Maps or directory scraper. Each row with a website gets one enriched row back."
          },
          "websiteField": {
            "title": "Website field",
            "type": "string",
            "description": "Column holding the website. Leave empty to auto-detect (website, url, domain, companyWebsite, homepage). Dot paths work, e.g. company.website."
          },
          "keepFields": {
            "title": "Fields to keep from each source row",
            "type": "array",
            "description": "Copied into each output row under \"source\" so you can match results back. Leave empty to keep every top-level text or number field.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keepSourceFields": {
            "title": "Copy source row fields",
            "type": "boolean",
            "description": "Turn off to return only the enrichment.",
            "default": true
          },
          "maxDatasetRows": {
            "title": "Max dataset rows to read",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Upper limit on rows read from the dataset.",
            "default": 10000
          },
          "maxPagesPerSite": {
            "title": "Max pages per site",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Homepage plus the most likely contact pages (Contact, About, Team, Impressum, footer links). 6 finds contacts on most small-business sites. Raise it for big corporate sites.",
            "default": 6
          },
          "defaultCountry": {
            "title": "Default country for phone numbers",
            "type": "string",
            "description": "Two-letter code such as US, GB, IN or DE. When set, local-format numbers in page text (e.g. 020 7946 0958) are recognised and returned in international format. Leave empty to keep only numbers written with a + prefix or a tel: link."
          },
          "verifyEmailDomains": {
            "title": "Check each email's mail server",
            "type": "boolean",
            "description": "Looks up the MX record of every email's domain. Emails whose domain cannot receive mail are flagged (mx: false). Free, no emails are sent.",
            "default": true
          },
          "dropUndeliverable": {
            "title": "Drop emails whose domain cannot receive mail",
            "type": "boolean",
            "description": "Removes emails whose domain has no mail server. Turn off to keep them, flagged with mx: false.",
            "default": true
          },
          "onlySameDomainEmails": {
            "title": "Only emails on the company's own domain",
            "type": "boolean",
            "description": "Hides third-party addresses such as the web agency or a Gmail address. Off by default; same-domain emails are always ranked first anyway.",
            "default": false
          },
          "maxEmailsPerSite": {
            "title": "Max emails per company",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Most companies publish 1–5. Extra ones are usually staff or third parties.",
            "default": 10
          },
          "stopWhenFound": {
            "title": "Stop early once a contact page, email and phone are found",
            "type": "boolean",
            "description": "Saves time on large lists. Turn off to always crawl up to the page limit.",
            "default": true
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Skip pages the site owner asked crawlers not to visit.",
            "default": true
          },
          "includeEmptyRows": {
            "title": "Include sites with no contacts (free)",
            "type": "boolean",
            "description": "Adds a row with the reason (unreachable, no contacts) so your list stays complete. These rows are never charged.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Sites in parallel",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many websites are processed at the same time. Pages within one site are always fetched one by one.",
            "default": 10
          },
          "pageTimeoutSecs": {
            "title": "Page timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Give up on a single page after this many seconds (3–60). Slow pages never block the run.",
            "default": 10
          },
          "siteTimeoutSecs": {
            "title": "Time limit per site (seconds)",
            "minimum": 10,
            "maximum": 300,
            "type": "integer",
            "description": "Time budget per website (10–300 s). The site is closed with what was found so far; a site with nothing found is free.",
            "default": 45
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed for most sites. Turn on Apify Proxy if many sites block you.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}