{
  "openapi": "3.0.1",
  "info": {
    "title": "Contact Details Scraper: Emails, Phones",
    "description": "Contact details scraper: give website URLs or domains, get one row per site with emails, phones, 15 social networks, contact form and tech stack. Paid rows on by default (turn off anytime): decision-makers with work-email candidates (1 per site), deliverability verdicts (up to 5 per site). No login.",
    "version": "0.1",
    "x-build-id": "Q4kiOz2EudwW2Doqw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ntriqpro~contact-details-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ntriqpro-contact-details-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/ntriqpro~contact-details-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ntriqpro-contact-details-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/ntriqpro~contact-details-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ntriqpro-contact-details-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": {
          "websites": {
            "title": "Websites",
            "type": "array",
            "description": "One per line: a website address (https://acme.com), a bare domain (acme.com) or an e-mail address (its company site is read). A domain is read once; on paid plans a repeat of the same domain, or an entry that is not a web address, gets its own site row with the reason and is charged as a site row, so clean the list first. Free plan: a preview of the first 2 sites per run, 3 preview runs per account in any 30 days; it counts what each site has (e-mails, phones, profiles, people) with one masked sample, and the values come on a paid plan.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (same as Websites)",
            "type": "array",
            "description": "The same as Websites, in the request-list form other scrapers use. Both lists are merged.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "websiteFiles": {
            "title": "Website list files",
            "type": "array",
            "description": "Links to public .txt or .csv files with one website per line (first column). Up to 20 files.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxPagesPerSite": {
            "title": "Max pages per site",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "How many pages of each site are read (at most 15: the home page plus up to two contact, team and about pages, one imprint, careers, press, support and legal page, and two others). Every page read is included in the site row's price. The free preview reads at most 10 pages per site.",
            "default": 10
          },
          "maxDepth": {
            "title": "Max link depth",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "0 = home page only, 1 = pages linked from the home page, and so on.",
            "default": 1
          },
          "maxPagesPerDepth": {
            "title": "Max pages per depth level",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Limit per link level; 0 = no limit.",
            "default": 0
          },
          "maxRequests": {
            "title": "Max pages for the whole run",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop reading new pages after this many in total; 0 = no limit.",
            "default": 0
          },
          "sameDomain": {
            "title": "Stay on the same domain",
            "type": "boolean",
            "description": "Only follow links on the site's own domain (subdomains included).",
            "default": true
          },
          "considerChildFrames": {
            "title": "Read embedded frames",
            "type": "boolean",
            "description": "Also read pages embedded with <iframe> on the site.",
            "default": false
          },
          "urlIncludePatterns": {
            "title": "Only follow URLs matching",
            "type": "array",
            "description": "Regular expressions; when set, only matching links are followed (the home page is always read).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "urlExcludePatterns": {
            "title": "Never follow URLs matching",
            "type": "array",
            "description": "Regular expressions; matching links are skipped.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "useBrowser": {
            "title": "Use a browser",
            "enum": [
              "auto",
              "always",
              "never"
            ],
            "type": "string",
            "description": "Most sites are read over plain HTTP. 'auto' re-reads a site in headless Chromium only when its home page is an empty JavaScript shell. The browser is included in the site row's price (at most 3 browser pages per site).",
            "default": "auto"
          },
          "waitUntil": {
            "title": "Browser: wait until",
            "enum": [
              "load",
              "domcontentloaded",
              "networkidle"
            ],
            "type": "string",
            "description": "When the browser treats a page as loaded.",
            "default": "load"
          },
          "defaultPhoneCountry": {
            "title": "Default phone country",
            "type": "string",
            "description": "Two-letter country code used for numbers written without +country code (e.g. US, GB, DE, KR).",
            "default": "US"
          },
          "maxConcurrency": {
            "title": "Sites in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many sites are read at the same time (different sites; pages of one site are always read one after another with a short pause).",
            "default": 10
          },
          "includePeople": {
            "title": "Include people named on the site",
            "type": "boolean",
            "description": "Count the people the team, about and imprint pages name (peopleFound) and their departments (rolesFound), on every plan. Their names, titles and e-mails are in the decision-maker rows (maxDecisionMakers).",
            "default": true
          },
          "maxDecisionMakers": {
            "title": "Decision-maker rows per site",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "Separate rows for the most senior people on the site, each with the work e-mail found on the site or checked by name pattern with the company's mail server. Default 1 per site (decision-maker-found event each); 0 = off. Paid plans only.",
            "default": 1
          },
          "decisionMakerDepartments": {
            "title": "Decision-maker departments",
            "type": "array",
            "description": "Only people in these departments get decision-maker rows. Empty = any department.",
            "items": {
              "type": "string",
              "enum": [
                "c_suite",
                "sales",
                "marketing",
                "operations",
                "finance",
                "engineering",
                "human_resources",
                "legal"
              ]
            },
            "default": []
          },
          "verifyEmails": {
            "title": "Check every address",
            "type": "boolean",
            "description": "One verdict row per address: MX records, mail provider, disposable domain, role account and where it is published; only when mail servers answer from the run's network (port 25, checked once at the start), also RCPT TO and a catch-all test (no message is sent). Also checks decision-maker name patterns. On by default: up to maxVerifiedEmailsPerSite (5) verdicts per site, one email-verified event each; switch off together with maxDecisionMakers = 0 for basic contacts only. Paid plans only.",
            "default": true
          },
          "maxVerifiedEmailsPerSite": {
            "title": "Address verdicts per site",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "At most this many addresses of each site get a verdict row (company addresses first).",
            "default": 5
          },
          "scrapeSocialMediaProfiles": {
            "title": "Read public social profiles",
            "type": "boolean",
            "description": "For the first profile of each network, read the public page's name, bio, picture and follower count (no login; a login wall is reported, not bypassed; a profile the network's robots.txt disallows is reported robots-blocked and not read). Up to 5 per site, included in the site row at no extra charge. Paid plans only: on the free plan the profile pages are not read.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}