{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Contact Extractor – Emails, Phones, Socials & IDs",
    "description": "One row per domain: e-mails, E.164 phones (mobile/landline), social profiles, address, VAT/IČO/SIREN/KvK/LEI and CMS. Crawls only contact/Impressum/about pages and charges per domain, not per page. Add-ons: free company-registry data, e-mail MX check.",
    "version": "1.1",
    "x-build-id": "mpu9lNHmAZawqvX0A"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/budoucnost-ai~website-contact-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-budoucnost-ai-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/budoucnost-ai~website-contact-extractor/runs": {
      "post": {
        "operationId": "runs-sync-budoucnost-ai-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/budoucnost-ai~website-contact-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-budoucnost-ai-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",
        "required": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Websites",
            "type": "array",
            "description": "One website per line: a domain (powerbox.one), a homepage or any page URL. Each domain becomes one output row. Duplicates (same domain, with or without www) are merged.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max domains",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many charged domain rows.",
            "default": 1000
          },
          "maxPagesPerDomain": {
            "title": "Max pages per domain",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Homepage + the most relevant subpages (contact, Impressum/imprint, legal notice, mentions légales, about, team, privacy …) ranked by link text and URL in 20+ languages. The price is per domain, so more pages do not cost more – they only take longer.",
            "default": 6
          },
          "maxDepth": {
            "title": "Max link depth",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "1 = homepage and pages linked from it (enough for almost every site). 2 = also follow relevant links found on those pages.",
            "default": 1
          },
          "sameDomainOnly": {
            "title": "Stay on the same host",
            "type": "boolean",
            "description": "On: only pages on the start host (www and non-www are equal). Off: also subdomains of the same domain (e.g. shop.firma.cz → firma.cz/kontakt).",
            "default": true
          },
          "pageKeywords": {
            "title": "Page keywords (override)",
            "type": "array",
            "description": "Replace the built-in multilingual keyword list used to pick subpages (e.g. ['kontakt','impressum','team']). Leave empty for the default list.",
            "items": {
              "type": "string"
            }
          },
          "fields": {
            "title": "Fields to output",
            "type": "array",
            "description": "Limit the output to these groups. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "emails",
                "phones",
                "socials",
                "addresses",
                "identifiers",
                "openingHours",
                "companyName",
                "logo",
                "languages",
                "platform",
                "geo"
              ],
              "enumTitles": [
                "E-mails",
                "Phones",
                "Social profiles",
                "Postal addresses",
                "Company identifiers (+ registry data)",
                "Opening hours",
                "Company name",
                "Logo",
                "Languages",
                "CMS / e-shop platform",
                "Geo coordinates"
              ]
            }
          },
          "onlyWithEmail": {
            "title": "Only domains with an e-mail",
            "type": "boolean",
            "description": "Skip domains where no e-mail was found – they are not output and not charged.",
            "default": false
          },
          "onlyWithPhone": {
            "title": "Only domains with a phone",
            "type": "boolean",
            "description": "Skip domains where no phone number was found – not output, not charged.",
            "default": false
          },
          "includeRegex": {
            "title": "Include domains (regex)",
            "type": "string",
            "description": "Only process domains matching this case-insensitive regular expression, e.g. \\.(cz|sk)$"
          },
          "excludeRegex": {
            "title": "Exclude domains (regex)",
            "type": "string",
            "description": "Skip domains matching this regular expression (before any request, never charged)."
          },
          "excludeDomains": {
            "title": "Exclude domains",
            "type": "array",
            "description": "Domains you already have or never want (subdomains included), e.g. facebook.com, google.com.",
            "items": {
              "type": "string"
            }
          },
          "verifyEmails": {
            "title": "Add-on: verify e-mails",
            "type": "boolean",
            "description": "Syntax check, DNS MX lookup (or implicit A-record MX) and a disposable-domain list for each found e-mail (up to 25 per domain). No SMTP probing, so it never touches the mailbox. Charged per decisive result (valid / no-mx / disposable / invalid) as email-verified.",
            "default": false
          },
          "enrichCompany": {
            "title": "Add-on: company registry data",
            "type": "boolean",
            "description": "When the site shows a company identifier, look it up in free public registries and attach legal name, registered address, status, founding date, legal form and NACE: CZ ARES (IČO), FR recherche-entreprises (SIREN), NO Brønnøysund (org.nr), FI PRH/YTJ (Y-tunnus), PL KRS, EU VIES (VAT – name and address for most states), GLEIF (LEI; DE HRB and UK company numbers of larger companies). Charged once per domain with a match as company-enriched.",
            "default": false
          },
          "outputPerPage": {
            "title": "Also output one row per page",
            "type": "boolean",
            "description": "Adds one row per crawled page (type = page) with what was found on that page, charged as page-scraped. The per-domain row is always output.",
            "default": false
          },
          "useBrowser": {
            "title": "Browser fallback for JavaScript-only pages",
            "type": "boolean",
            "description": "Pages are fetched with plain HTTP (fast, cheap). With this on, a page whose HTML has almost no text (client-rendered apps) is re-opened in headless Chromium. Not charged extra, but give the run at least 2048 MB memory.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Parallel page requests (across all domains).",
            "default": 10
          },
          "cacheHours": {
            "title": "Cache (hours)",
            "minimum": 0,
            "maximum": 2160,
            "type": "integer",
            "description": "Domain results are cached in a named key-value store \"website-contact-extractor-cache\" in your account. Re-running a domain within this window returns your earlier row for free (not charged). 0 = always crawl fresh (also skips the shared cache).",
            "default": 24
          },
          "useSharedCache": {
            "title": "Shared cache",
            "type": "boolean",
            "description": "Reuse a domain crawled by any user of this actor within min(cacheHours, 7 days), plus registry lookups. Faster, no load on the site. Rows from the shared cache are charged normally.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify datacenter proxy by default – company websites rarely block it. Sites behind bot protection (Cloudflare challenge, Akamai) return a free row with blocked = true; switch to the RESIDENTIAL group for those if you want.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}