{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Contact Finder: Emails, Phones, Socials & Address",
    "description": "Find public emails, phone numbers (normalized E.164 with country), social profiles, contact form URL, address and company name on any list of business websites. Shows the page each item was found on and a clear status per site. Decodes hidden emails, filters junk. Pay only for sites with contacts.",
    "version": "1.1",
    "x-build-id": "xaPfaFcsCgM0iAT34"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zhtech~website-contact-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zhtech-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/zhtech~website-contact-finder/runs": {
      "post": {
        "operationId": "runs-sync-zhtech-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/zhtech~website-contact-finder/run-sync": {
      "post": {
        "operationId": "run-sync-zhtech-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",
            "type": "array",
            "description": "Business websites or bare domains, one per line. Examples: acmeplumbing.com, https://www.example.co.uk, https://example.de/kontakt. Duplicates are merged. Each website gives one output row.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "websitesText": {
            "title": "Or paste a plain list",
            "type": "string",
            "description": "Paste a column from a spreadsheet: one website or domain per line (commas, spaces and tabs also work). Combined with the list above."
          },
          "maxSites": {
            "title": "Max websites to check",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many unique websites. 0 means all of them.",
            "default": 0
          },
          "maxPagesPerSite": {
            "title": "Max pages per website",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Pages fetched per website, including the homepage. The crawler picks the most useful pages first: contact, impressum or imprint, about, team, locations, footer links. 6 finds the public contacts on most small business sites.",
            "default": 6
          },
          "crawlDepth": {
            "title": "Link depth",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "1 = homepage plus contact-like pages linked from it. 2 = also contact-like pages linked from those pages (helps on large sites where contact info sits under About > Locations). Always same website only.",
            "default": 1
          },
          "maxSecondsPerSite": {
            "title": "Time limit per website (seconds)",
            "minimum": 15,
            "maximum": 900,
            "type": "integer",
            "description": "A slow website never holds up the run: after this many seconds the row is saved with whatever was found.",
            "default": 90
          },
          "defaultCountry": {
            "title": "Default phone country",
            "type": "string",
            "description": "Two-letter ISO code (US, GB, DE, AU...) used to read local phone numbers written without a country code. Leave empty to guess per site from the domain (example.de means DE), the schema.org address and the page language, falling back to US."
          },
          "onlyDomainEmails": {
            "title": "Only emails on the website's own domain",
            "type": "boolean",
            "description": "Drop addresses on other domains (for example a gmail.com address or a regulator's address on a privacy page). Every email always has an isDomainEmail flag, so you can also filter later.",
            "default": false
          },
          "checkEmailMx": {
            "title": "Check that email domains can receive mail (MX)",
            "type": "boolean",
            "description": "Free, included in the price. One DNS lookup per email domain: each email gets mx (mx, a_fallback, none, null_mx, unknown), a type (role, personal, other), a 0 to 100 confidence score with reasons, and addresses whose domain cannot receive mail are never picked as the best email. No mail is sent and no mailbox is probed.",
            "default": true
          },
          "includeSitesWithoutContacts": {
            "title": "Include websites with no contacts or errors",
            "type": "boolean",
            "description": "Keep a row for every website, with status no_contacts, unreachable, blocked, robots_disallowed or invalid_input, so you can match every input to an output. These rows are always free.",
            "default": true
          },
          "maxItemsPerType": {
            "title": "Max emails / phones / social links per website",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Caps each list so a directory-style website cannot flood a row. The best items are kept first (website's own domain, linked contacts, items repeated across pages).",
            "default": 25
          },
          "maxConcurrency": {
            "title": "Websites in parallel",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many different websites are checked at the same time. Each single website only ever gets one request at a time.",
            "default": 10
          },
          "delayBetweenRequestsMs": {
            "title": "Delay between requests to the same website (ms)",
            "minimum": 0,
            "maximum": 30000,
            "type": "integer",
            "description": "Pause between two page requests to one website. A robots.txt Crawl-delay is honored when it is longer (up to 10 seconds).",
            "default": 500
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "How long to wait for one page before giving up on it. Slow pages are retried once.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Business websites normally work without a proxy. A proxy does not get around bot protection: websites behind a challenge are reported as blocked.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}