{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Change Monitor & Sales Trigger Alerts",
    "description": "Website change monitor that turns real changes on business sites into plain-English sales trigger alerts: new pages, price changes, hiring, redesigns, ad tags, contact details and closing notices. Noise is filtered out. Bulk lists, ready for AI agents.",
    "version": "0.1",
    "x-build-id": "qxT4jC89U08fkFZDs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~website-change-triggers/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-website-change-triggers",
        "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/khadinakbar~website-change-triggers/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-website-change-triggers",
        "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/khadinakbar~website-change-triggers/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-website-change-triggers",
        "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": {
          "sites": {
            "title": "Websites to watch",
            "type": "array",
            "description": "Company websites or domains to watch, for example acme.com or https://acme.com. One entry per site. A path such as acme.com/pricing watches that section as its own site. Up to 500 sites per run; duplicates are removed. Use company sites, NOT social profiles, login pages, search results or private pages.",
            "items": {
              "type": "string"
            }
          },
          "watchlist": {
            "title": "Watchlist name",
            "type": "string",
            "description": "Name of this list, for example prospects-texas. Snapshots are saved per watchlist, so run the same name again (daily or weekly) to get the changes since the last run. A new name starts a fresh baseline. Letters, digits and dashes; anything else becomes a dash.",
            "default": "default"
          },
          "signals": {
            "title": "Change types to report",
            "type": "array",
            "description": "Limit which kinds of change are reported and billed as a change. Values: pages (new or removed pages), prices, promos, hiring, redesign, tags (ad and analytics tags), tools (chat, booking, payment, CRM), headline, contact (phone, email, address), status (down, back up, moved), blog, closing. Leave empty to report all kinds.",
            "items": {
              "type": "string",
              "enum": [
                "pages",
                "prices",
                "promos",
                "hiring",
                "redesign",
                "tags",
                "tools",
                "headline",
                "contact",
                "status",
                "blog",
                "closing"
              ]
            }
          },
          "keyPages": {
            "title": "Pages to read",
            "enum": [
              "auto",
              "homepage-only"
            ],
            "type": "string",
            "description": "auto (default) reads the homepage plus up to 5 key pages found on it: pricing, careers, services, blog, contact, about. homepage-only reads just the homepage and sitemap, which is faster but misses price and hiring changes on inner pages.",
            "default": "auto"
          },
          "minSeverity": {
            "title": "Minimum importance",
            "enum": [
              "low",
              "medium",
              "high"
            ],
            "type": "string",
            "description": "Hide changes below this importance: low (default) keeps everything, medium drops minor edits, high keeps only strong triggers such as price changes, new service pages, redesigns and new ad tags. Hidden changes are never billed.",
            "default": "low"
          },
          "maxSites": {
            "title": "Max sites this run (optional)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Optional safety cap on how many sites this run checks. Leave empty to check every site in the list (up to 500). Sites beyond the cap are skipped, not charged, and counted in the run summary."
          },
          "maxChangesPerSite": {
            "title": "Max changes per site",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many changes to keep per site per run, most important first. Default 10. The price is the same whether a site has 1 change or 10.",
            "default": 10
          },
          "watchCertificateExpiry": {
            "title": "Also warn about expiring security certificates",
            "type": "boolean",
            "description": "Off by default. Turn on to also get an alert when a site's security (SSL) certificate expires within 14 days or has already expired. Certificates renew on their own schedule, so leave this off if you only want changes to the website itself.",
            "default": false
          },
          "action": {
            "title": "Action",
            "enum": [
              "check",
              "reset",
              "delete"
            ],
            "type": "string",
            "description": "check (default) compares each site with its saved snapshot. reset clears the saved snapshots of the listed sites, or of the whole watchlist when no sites are given, so the next check saves a fresh baseline. delete removes the snapshots and the list lock. reset and delete are never charged.",
            "default": "check"
          },
          "stateStoreName": {
            "title": "Snapshot store name",
            "type": "string",
            "description": "Name of the key-value store in your own Apify account where snapshots are kept. Keep the default unless you want fully separate programs. Letters, digits and dashes.",
            "default": "website-change-watch"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}