{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Contact Scraper: Emails, Phones & WhatsApp",
    "description": "Extract emails (MX-checked), phone numbers (E.164, validated) and 16 social/messaging profiles incl. WhatsApp & Telegram from any company website. One clean, de-duplicated row per site. Respects robots.txt. Free during launch: you pay only Apify platform usage.",
    "version": "0.1",
    "x-build-id": "d9Ww4QMiphfWTA8n4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/laudable_instrument~contact-details-scraper-half-price/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-laudable_instrument-contact-details-scraper-half-price",
        "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/laudable_instrument~contact-details-scraper-half-price/runs": {
      "post": {
        "operationId": "runs-sync-laudable_instrument-contact-details-scraper-half-price",
        "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/laudable_instrument~contact-details-scraper-half-price/run-sync": {
      "post": {
        "operationId": "run-sync-laudable_instrument-contact-details-scraper-half-price",
        "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": "Websites",
            "type": "array",
            "description": "Company websites (homepages). Duplicates of the same domain are removed automatically, so you never pay twice. You can also use the plain list below or a dataset.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "urls": {
            "title": "Websites or domains (plain list)",
            "type": "array",
            "description": "One per line, e.g. zoho.com or https://www.kimshospitals.com. Merged with the list above.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Enrich an Apify dataset (dataset ID)",
            "type": "string",
            "description": "ID of a dataset from another run, e.g. a Google Maps scrape (compass/crawler-google-places). The Actor reads each item's website field, visits each unique site once, and copies identifying fields (title, placeId, address...) into sourceItems so you can join the results back."
          },
          "datasetUrlField": {
            "title": "Website field in the dataset",
            "type": "string",
            "description": "Leave empty to auto-detect (website, websiteUrl, url, domain, homepage...). Google Maps URLs are ignored because they are not the business website."
          },
          "datasetCarryFields": {
            "title": "Fields to copy from each dataset item",
            "type": "array",
            "description": "Copied into sourceItems on the output row.",
            "default": [
              "title",
              "placeId",
              "categoryName",
              "address",
              "city",
              "countryCode"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxDatasetItems": {
            "title": "Max dataset items to read",
            "minimum": 0,
            "type": "integer",
            "description": "0 = all.",
            "default": 0
          },
          "includePersonalEmails": {
            "title": "Include personal emails (off by default)",
            "type": "boolean",
            "description": "Off: only shared role mailboxes (info@, sales@, support@, careers@...) are returned; addresses that identify one person (ravi.k@, ceo@, hr.priya@) are dropped and only counted. Turn on only if you have a lawful basis under the DPDP Act 2023 / GDPR and will honour opt-outs.",
            "default": false
          },
          "includePersonProfiles": {
            "title": "Include staff LinkedIn profiles (off by default)",
            "type": "boolean",
            "description": "Off: personal LinkedIn /in/ profiles found on the site are dropped (company pages are always kept).",
            "default": false
          },
          "respectTermsOfService": {
            "title": "Respect the site's terms of service",
            "type": "boolean",
            "description": "Skip sites on our platform blocklist (Facebook, Instagram, LinkedIn, marketplaces...) and sites whose terms prohibit scraping/crawling/automated access. Skipped sites are not charged.",
            "default": true
          },
          "maxPagesPerSite": {
            "title": "Max pages per website",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Homepage + the most contact-like pages (contact, about, impressum, support…). 3–5 is enough for most sites. You pay only for pages actually fetched.",
            "default": 4
          },
          "checkEmailMx": {
            "title": "Check email domains (MX)",
            "type": "boolean",
            "description": "Free DNS check that the email's domain can receive mail. Adds mxValid to each email.",
            "default": true
          },
          "defaultCountry": {
            "title": "Default country for phone numbers",
            "type": "string",
            "description": "ISO country code used to read local-format numbers when the site's domain doesn't imply one (e.g. US, IN, GB).",
            "default": "US"
          },
          "respectRobotsTxt": {
            "title": "Respect robots.txt",
            "type": "boolean",
            "description": "Skip pages the site disallows for bots. Recommended.",
            "default": true
          },
          "followLinks": {
            "title": "Also follow links found on sub-pages",
            "type": "boolean",
            "description": "By default only links on the homepage are followed.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrent websites",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Number of websites processed at the same time.",
            "default": 10
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Give up on a page request after this many seconds.",
            "default": 15
          },
          "maxRetries": {
            "title": "Retries per page",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "How many times a failed page request is retried.",
            "default": 2
          },
          "includePagesVisited": {
            "title": "Include list of pages visited",
            "type": "boolean",
            "description": "Add the list of URLs that were fetched for each site to the output row.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}