{
  "openapi": "3.0.1",
  "info": {
    "title": "SiteVerdict — Domain & IP RDAP Lookup + Expiry Alerts",
    "description": "Bulk domain and IP registration data from official RDAP (the WHOIS replacement): registrar, dates, status, nameservers, DNSSEC. Expiry and change alerts to Slack or webhook, plus lookalike-domain watch for your brand. Privacy-safe: no registrant personal data.",
    "version": "1.0",
    "x-build-id": "nJEmRyaHilPlZxhur"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/siteverdict~siteverdict-domain-rdap-lookup/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-siteverdict-siteverdict-domain-rdap-lookup",
        "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/siteverdict~siteverdict-domain-rdap-lookup/runs": {
      "post": {
        "operationId": "runs-sync-siteverdict-siteverdict-domain-rdap-lookup",
        "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/siteverdict~siteverdict-domain-rdap-lookup/run-sync": {
      "post": {
        "operationId": "run-sync-siteverdict-siteverdict-domain-rdap-lookup",
        "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": {
          "domains": {
            "title": "Domains",
            "type": "array",
            "description": "Domain names (URLs are fine - we take the host). Up to 5,000 per run. Example: example.com, mybrand.co.uk",
            "items": {
              "type": "string"
            }
          },
          "ips": {
            "title": "IP addresses",
            "type": "array",
            "description": "IPv4 or IPv6 addresses (up to 1,000). Returns the network, holder organisation, country and abuse contact from the regional internet registry.",
            "items": {
              "type": "string"
            }
          },
          "expiryAlertDays": {
            "title": "Alert when a domain expires within (days)",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Domains expiring within this many days get an alert in the output (and in Slack/webhook if set).",
            "default": 30
          },
          "sampleMode": {
            "title": "Sample mode (fictional data, no charge)",
            "type": "boolean",
            "description": "Uses built-in fictional RDAP responses. Switched on automatically when no domains or IPs are given.",
            "default": false
          },
          "lookalikeOf": {
            "title": "Lookalike watch: your own domains",
            "type": "array",
            "description": "We generate typo, TLD-swap, homoglyph and combo variants of YOUR domains (e.g. mybrand-login.com, mybrnad.com, mybrand.co) and check each one in RDAP. Registered lookalikes are reported. Each candidate checked is one domain lookup.",
            "items": {
              "type": "string"
            }
          },
          "maxLookalikesPerDomain": {
            "title": "Max lookalikes per domain",
            "minimum": 1,
            "maximum": 300,
            "type": "integer",
            "description": "Most likely variants first (TLD swaps, missing letters, swapped letters...).",
            "default": 50
          },
          "onlyRegisteredLookalikes": {
            "title": "Only output registered lookalikes",
            "type": "boolean",
            "description": "Unregistered candidates are still checked (and charged) but not pushed to the dataset.",
            "default": true
          },
          "monitorMode": {
            "title": "Monitor mode (compare with the last run)",
            "type": "boolean",
            "description": "Remembers registrar, expiry, status, nameservers and DNSSEC per domain in a named key-value store and reports changes. Schedule daily or weekly.",
            "default": false
          },
          "monitorStateName": {
            "title": "Monitor state name",
            "type": "string",
            "description": "Separate watch lists need separate names (stored as siteverdict-rdap-<name>).",
            "default": "default"
          },
          "onlyChanges": {
            "title": "Only output changed domains",
            "type": "boolean",
            "description": "In monitor mode, unchanged domains are not pushed (still checked and charged).",
            "default": false
          },
          "slackWebhookUrl": {
            "title": "Slack incoming webhook URL",
            "type": "string",
            "description": "Optional. Sends one message per run when something needs attention (expiry, hold, change, registered lookalike). Stored encrypted, never logged."
          },
          "webhookUrl": {
            "title": "Webhook URL (JSON POST)",
            "type": "string",
            "description": "Optional HTTPS endpoint. Stored encrypted, never logged."
          },
          "includeRegistrantOrg": {
            "title": "Include registrant organisation & country (if published)",
            "type": "boolean",
            "description": "OFF by default. Adds only the registrant ORGANISATION name and country when the registry publishes them unredacted. Individual names, emails, phones and addresses are never output.",
            "default": false
          },
          "followRegistrarRdap": {
            "title": "Also query the registrar RDAP server",
            "type": "boolean",
            "description": "For thin registries (.com/.net) the registry links to the sponsoring registrar RDAP for fuller registrar details. One extra request per domain (not charged extra).",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel lookups",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Different RDAP servers are queried in parallel; each server gets one request at a time.",
            "default": 4
          },
          "minIntervalMsPerServer": {
            "title": "Minimum gap per RDAP server (ms)",
            "minimum": 500,
            "maximum": 10000,
            "type": "integer",
            "description": "Politeness spacing between requests to the same RDAP server. Retry-After on HTTP 429 is always honoured.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}