{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Contact & Social Finder: Emails, Phones, Socials",
    "description": "Turn a list of websites into contact data: one row per domain with company emails (info@, sales@...), phone numbers, postal address, 20+ social profile links (LinkedIn, Facebook, Instagram, X, TikTok, YouTube...) and an MX check. Pay only for websites where contacts are found.",
    "version": "1.1",
    "x-build-id": "Z2PdYYQGb4oJP2LZI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hydrocore~website-contact-social-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hydrocore-website-contact-social-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/hydrocore~website-contact-social-finder/runs": {
      "post": {
        "operationId": "runs-sync-hydrocore-website-contact-social-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/hydrocore~website-contact-social-finder/run-sync": {
      "post": {
        "operationId": "run-sync-hydrocore-website-contact-social-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",
        "required": [
          "websites"
        ],
        "properties": {
          "websites": {
            "title": "Websites",
            "type": "array",
            "description": "Company websites, one per line. A bare domain (\"acme.com\"), a full address (\"https://www.acme.com\") or a specific page all work. Duplicates are removed automatically. Social network links (facebook.com/..., linkedin.com/...) are skipped for free because they are not company websites.",
            "items": {
              "type": "string"
            }
          },
          "maxPagesPerWebsite": {
            "title": "Pages to check per website",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "The home page plus the most promising contact, imprint (Impressum), about and location pages it links to. 5 finds the contacts on most sites; more pages = a bit slower, same price.",
            "default": 5
          },
          "includePersonalEmails": {
            "title": "Include personal emails (named people)",
            "type": "boolean",
            "description": "Off (recommended): only company mailboxes such as info@, sales@, support@ or hello@ are returned, and emails that look like a person's name (john.smith@...) are hidden and only counted. Turn on only if you have a lawful reason to process personal data (for example GDPR legitimate interest) and will respect opt-out requests. Also adds personal LinkedIn profile links.",
            "default": false
          },
          "checkEmailMx": {
            "title": "Check that email domains accept mail (MX)",
            "type": "boolean",
            "description": "Looks up the DNS mail servers (MX records) of every email's domain, free and without sending anything. Emails whose domain cannot receive mail get mxValid = false, so you can drop them before an email campaign. This is a domain check, not a mailbox check.",
            "default": true
          },
          "defaultCountry": {
            "title": "Default country for phone numbers",
            "type": "string",
            "description": "Two-letter country code (US, GB, DE, FR...) used to read local phone numbers written without a +country prefix on websites with a generic ending like .com. Country domains (.de, .co.uk, .fr...) use their own country automatically. Every phone is returned in international format (+14155550123).",
            "default": "US"
          },
          "requireEmail": {
            "title": "Only websites with an email",
            "type": "boolean",
            "description": "On: a website counts as a result (and is charged) only when at least one public email is found. Websites with only phones or social links are saved as free <code>no-email</code> rows (if \"Save websites without contacts\" is on). Off (default): any email, phone or social link counts.",
            "default": false
          },
          "saveEmptyWebsites": {
            "title": "Also list websites without contacts (free)",
            "type": "boolean",
            "description": "On: every website gets a row, and websites with no contacts, blocked, offline or parked domains are saved with a status explaining why (these rows are free). Off: only websites with contacts are saved.",
            "default": true
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "On (recommended): pages that a website's robots.txt asks automated tools not to read are skipped. Turning this off does not bypass logins or CAPTCHAs; those are never touched.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Websites checked at the same time",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "How many websites are checked in parallel. 10 is a good default for 256 MB of memory; use up to 20-40 with 512 MB-1 GB for very long lists.",
            "default": 10
          },
          "maxSpendUsd": {
            "title": "Max spend (USD)",
            "type": "string",
            "description": "Optional hard limit for this run, for example 5 = never charge more than $5.00. The run stops before going over it. Leave empty for no extra limit (Apify's own \"Maximum cost per run\" setting also works)."
          },
          "proxyConfiguration": {
            "title": "Proxy (optional)",
            "type": "object",
            "description": "Not needed for most websites; requests go out directly by default. Turn on Apify Proxy only if many of your websites answer \"blocked\" from data-center addresses. Proxy traffic is billed by Apify separately.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}