{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Contact Scraper: Emails, Phones, Socials, Tech",
    "description": "One row per domain: company e-mails, phones (E.164), social profiles, imprint details (name, address, VAT, register no.), tech stack, mail provider, SPF/DMARC and domain age. Respects robots.txt, no proxy. Pay only for domains with contacts found: $2 per 1,000.",
    "version": "0.1",
    "x-build-id": "wCCpn87BomokzEcRN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nat-labs~website-contact-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nat-labs-website-contact-scraper",
        "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/nat-labs~website-contact-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nat-labs-website-contact-scraper",
        "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/nat-labs~website-contact-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nat-labs-website-contact-scraper",
        "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": {
          "domains": {
            "title": "Websites or domains",
            "type": "array",
            "description": "Domains (stripe.com), URLs (https://www.example.de/en/) or e-mail addresses (info@example.com). Duplicates of the same domain are removed for free. Up to 100,000 per run.",
            "default": [
              "stripe.com",
              "hubspot.com",
              "mailchimp.com",
              "atlassian.com",
              "cloudflare.com",
              "manufactum.de",
              "tado.com",
              "sennheiser.com",
              "bluebottlecoffee.com",
              "allbirds.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "…or websites from a dataset",
            "type": "string",
            "description": "ID of a dataset from another Actor run (e.g. a Google Maps scraper). Rows with a website, url or domain field are enriched."
          },
          "datasetField": {
            "title": "Dataset field with the website",
            "type": "string",
            "description": "Optional. Field to read from each dataset row. Default: the first of website, url, domain, site, homepage."
          },
          "maxPagesPerDomain": {
            "title": "Pages per domain",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Homepage plus the best contact, imprint and about pages. 4 pages are included in the domain price; each page beyond 4 is billed as an extra page. Free plan: max 4.",
            "default": 4
          },
          "emailScope": {
            "title": "E-mails to return",
            "enum": [
              "generic",
              "all"
            ],
            "type": "string",
            "description": "By default only role addresses are returned; addresses that look like a person's name are withheld and counted in personalEmailsHidden. Choose \"all\" only if you have a legitimate interest or consent to process personal data.",
            "default": "generic"
          },
          "countryHint": {
            "title": "Country for phone numbers",
            "type": "string",
            "description": "Optional 2-letter country code (e.g. DE, US) used to read local phone numbers without a + prefix. Numbers in tel: links and international format work without it."
          },
          "extractTechStack": {
            "title": "Detect tech stack",
            "type": "boolean",
            "description": "CMS, e-commerce platform, analytics, ad pixels, marketing tools, chat, CDN and hosting from the homepage.",
            "default": true
          },
          "extractMailDns": {
            "title": "Mail provider, SPF and DMARC",
            "type": "boolean",
            "description": "MX records → Google Workspace, Microsoft 365, etc., plus SPF/DMARC records and verified SaaS from public DNS.",
            "default": true
          },
          "extractDomainAge": {
            "title": "Domain age and registrar (RDAP)",
            "type": "boolean",
            "description": "Registration and expiry date and registrar from the official RDAP registry (the successor of WHOIS).",
            "default": true
          },
          "includeFailedRows": {
            "title": "Include rows for domains without contacts",
            "type": "boolean",
            "description": "Also output (free) rows for unreachable sites, sites that block crawling in robots.txt, and sites without contact details — useful to see why.",
            "default": true
          },
          "maxItems": {
            "title": "Max domains",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many domains (0 = all). Also bounded by the run's maximum charge.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Parallel domains",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Upper limit of domains processed at once. The Actor also limits parallelism by the run's memory, because Apify gives CPU in proportion to memory: 1 GB → 10 domains at once, 4 GB → 40. For big lists, raise the run memory to go faster at about the same cost. Pages of one domain are always fetched one after another.",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed: business websites answer direct requests. Use a proxy only if many of your sites block datacenter IPs.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}