{
  "openapi": "3.0.1",
  "info": {
    "title": "Bulk Domain Check & Website Liveness: WHOIS, Parked, Dead",
    "description": "Bulk domain check, one verdict per domain with the evidence: live, stale, placeholder, redirected, parked, expired or dead, a 0 to 100 score and the reason. Plus WHOIS registration, domain age and expiry, email provider with SPF and DMARC, certificate, hosting and tech. $0.001 a domain.",
    "version": "0.1",
    "x-build-id": "1BDCyGBhMhKRcHr7x"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pvalyou~website-liveness-check/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pvalyou-website-liveness-check",
        "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/pvalyou~website-liveness-check/runs": {
      "post": {
        "operationId": "runs-sync-pvalyou-website-liveness-check",
        "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/pvalyou~website-liveness-check/run-sync": {
      "post": {
        "operationId": "run-sync-pvalyou-website-liveness-check",
        "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": [
          "domains"
        ],
        "properties": {
          "mode": {
            "title": "What do you want?",
            "enum": [
              "check",
              "history",
              "monitor"
            ],
            "type": "string",
            "description": "Check: one verdict per domain with the evidence (registration, email, certificate, hosting, tech, social links). History: the archive.org record per domain (first seen, last seen, years online, last time it worked). Monitor: check mode on a schedule, every item says what changed since the previous run.",
            "default": "check"
          },
          "domains": {
            "title": "Domains",
            "minItems": 1,
            "maxItems": 10000,
            "type": "array",
            "description": "One per line: a domain (acme.com), a website URL or an email address (the domain part is used). For programmatic use each entry may also be an object with 'domain', an optional 'name' (the company's name, checked against the page) and its own 'mode'.",
            "items": {
              "type": "string"
            }
          },
          "registration": {
            "title": "Registration facts",
            "type": "boolean",
            "description": "Registrar, creation and expiry dates, domain age, status codes, name servers and DNSSEC from the registry's RDAP server. Off saves one request per domain.",
            "default": true
          },
          "profile": {
            "title": "Page profile",
            "type": "boolean",
            "description": "Email provider and SPF/DMARC, hosting hint, tech hints, meta description and language, structured organization data, social profile links. All read from the same homepage fetch.",
            "default": true
          },
          "links": {
            "title": "Page links",
            "type": "boolean",
            "description": "The homepage's links to pricing, about, team, contact, careers, docs, blog, press, terms and privacy pages, mapped to named fields.",
            "default": true
          },
          "only_states": {
            "title": "Keep only these verdicts",
            "type": "array",
            "description": "Return rows only for the chosen verdicts (for example PARKED and DEAD_DNS to list the dead ones). Every domain is still checked and charged.",
            "items": {
              "type": "string",
              "enum": [
                "LIVE",
                "LIVE_STALE",
                "PLACEHOLDER",
                "REDIRECTED_AWAY",
                "PARKED",
                "EXPIRED",
                "DEAD_UNREACHABLE",
                "DEAD_DNS"
              ],
              "enumTitles": [
                "LIVE",
                "LIVE_STALE",
                "PLACEHOLDER",
                "REDIRECTED_AWAY",
                "PARKED",
                "EXPIRED",
                "DEAD_UNREACHABLE",
                "DEAD_DNS"
              ]
            }
          },
          "changes_only": {
            "title": "Monitor: changed rows only",
            "type": "boolean",
            "description": "In monitor mode, push only the domains whose verdict, redirect, certificate or registration changed since the previous run (and every domain on the first run).",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}