{
  "openapi": "3.0.1",
  "info": {
    "title": "Deep Email, Phone & Social Media Scraper",
    "description": "Find emails, phone numbers, social profiles, logos, and business contact details from any website list. HTTP-only, fast, clean output, with smart contact-page discovery and optional source evidence for lead generation.",
    "version": "0.1",
    "x-build-id": "k6nTOAJ0790NhcG6s"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trakk~deep-email-phone-social-media-scraper-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trakk-deep-email-phone-social-media-scraper-search",
        "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/trakk~deep-email-phone-social-media-scraper-search/runs": {
      "post": {
        "operationId": "runs-sync-trakk-deep-email-phone-social-media-scraper-search",
        "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/trakk~deep-email-phone-social-media-scraper-search/run-sync": {
      "post": {
        "operationId": "run-sync-trakk-deep-email-phone-social-media-scraper-search",
        "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": {
          "startUrls": {
            "title": "🌐 Website URL(s) or domain(s)",
            "type": "array",
            "description": "Websites to scan. You can paste full URLs or plain domains like example.com.",
            "default": [
              {
                "url": "https://www.wolfssl.com/contact/"
              }
            ],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "datasetId": {
            "title": "📥 Input dataset",
            "type": "string",
            "description": "Optional dataset with website, url, domain, companyUrl, sourceUrl, or finalUrl fields."
          },
          "maxDomains": {
            "title": "💯 Number of websites to process",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Safety cap for how many unique domains/URLs are processed from all inputs.",
            "default": 1
          },
          "maxPagesPerDomain": {
            "title": "📄 Pages per website",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum pages to fetch per website. Most contacts are found in the first 3-10 pages.",
            "default": 5
          },
          "maxDepth": {
            "title": "🧭 Crawl depth",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "0 = homepage only. 1 = homepage plus linked contact/about pages. 2 = one more layer from those pages.",
            "default": 1
          },
          "stopWhenFound": {
            "title": "✅ Stop early when enough contacts are found",
            "type": "boolean",
            "description": "Stops crawling a website once a strong email plus phone or social channels are found. Saves time and cost.",
            "default": true
          },
          "extractEmails": {
            "title": "📧 Extract emails",
            "type": "boolean",
            "description": "Find normal, mailto, obfuscated, and Cloudflare-protected email addresses.",
            "default": true
          },
          "extractPhones": {
            "title": "📞 Extract phones",
            "type": "boolean",
            "description": "Find phone numbers from tel links and page text, then normalize valid numbers to E.164 when possible.",
            "default": true
          },
          "extractSocials": {
            "title": "📣 Extract social and messaging channels",
            "type": "boolean",
            "description": "Facebook, Instagram, X/Twitter, YouTube, TikTok, Pinterest, Reddit, Snapchat, Discord, Twitch, GitHub, Medium, WhatsApp, Telegram, Yelp, TripAdvisor, app stores, marketplaces.",
            "default": true
          },
          "extractBrandAssets": {
            "title": "🖼️ Extract logo and brand images",
            "type": "boolean",
            "description": "Find logo, favicon, apple-touch icon, OpenGraph image, Twitter card image, and header logo URLs.",
            "default": true
          },
          "extractBusinessData": {
            "title": "🏢 Extract business/legal hints",
            "type": "boolean",
            "description": "Find company name, JSON-LD organization data, addresses, opening hours, VAT/tax IDs, and registration numbers when visible.",
            "default": true
          },
          "useSitemap": {
            "title": "🗺️ Use sitemap for contact discovery",
            "type": "boolean",
            "description": "Reads sitemap.xml and adds only contact-like URLs such as contact, about, team, support, impressum, legal, offices.",
            "default": true
          },
          "followSubdomains": {
            "title": "Follow same-root subdomains",
            "type": "boolean",
            "description": "Allow crawling links on the same root domain, e.g. help.example.com from www.example.com.",
            "default": false
          },
          "countryHint": {
            "title": "🌍 Default phone country",
            "enum": [
              "US",
              "GB",
              "DE",
              "FR",
              "ES",
              "IT",
              "NL",
              "PL",
              "IN",
              "CA",
              "AU",
              "BR",
              "MX"
            ],
            "type": "string",
            "description": "Used for phone normalization when a number has no country prefix.",
            "default": "US"
          },
          "outputMode": {
            "title": "📦 Output mode",
            "enum": [
              "summary",
              "pages",
              "both"
            ],
            "type": "string",
            "description": "Summary returns one clean lead per website. Pages returns one item per crawled page. Both returns summary and page evidence rows.",
            "default": "summary"
          },
          "includeEvidence": {
            "title": "🧾 Include contact evidence",
            "type": "boolean",
            "description": "Attach detailed evidence objects with value, source URL, page type, confidence, and context.",
            "default": false
          },
          "compactOutput": {
            "title": "🧹 Compact output",
            "type": "boolean",
            "description": "Remove empty arrays, empty objects, nulls, and blank strings from dataset items.",
            "default": true
          },
          "maxConcurrency": {
            "title": "⚙️ Max concurrency",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many websites to process in parallel.",
            "default": 10
          },
          "requestTimeoutSec": {
            "title": "Request timeout",
            "minimum": 3,
            "maximum": 120,
            "type": "integer",
            "description": "HTTP request timeout in seconds.",
            "default": 25
          },
          "maxRetries": {
            "title": "Max retries per page",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Retry budget for 408, 425, 429, 5xx, connection, and proxy errors.",
            "default": 3
          },
          "maxProxyRetries": {
            "title": "Max proxy retries per page",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Dedicated retry budget for proxy/transport failures.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy configuration. Disabled by default for cheap health checks; enable it if target websites block direct requests.",
            "default": {
              "useApifyProxy": false
            }
          },
          "userAgent": {
            "title": "User agent",
            "type": "string",
            "description": "Optional custom user agent. Leave empty for the built-in Chrome-like headers.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}