{
  "openapi": "3.0.1",
  "info": {
    "title": "SiteVerdict — Web Change Feed (any page to RSS, Atom, JSON)",
    "description": "Turn any public page or section into an RSS, Atom or JSON feed of its changes, or of new items on a list page. CSS selectors or automatic main content, noise filters, de-duplicated entries, Slack/webhook alerts and optional AI summaries. Respects robots.txt.",
    "version": "1.1",
    "x-build-id": "7mcBG6qoDRCYAIpxa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/siteverdict~siteverdict-web-change-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-siteverdict-siteverdict-web-change-feed",
        "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-web-change-feed/runs": {
      "post": {
        "operationId": "runs-sync-siteverdict-siteverdict-web-change-feed",
        "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-web-change-feed/run-sync": {
      "post": {
        "operationId": "run-sync-siteverdict-siteverdict-web-change-feed",
        "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": {
          "urls": {
            "title": "Pages to watch",
            "type": "array",
            "description": "Public pages. Each run compares them with the previous run and adds changes to your feed. Schedule the Actor (e.g. hourly/daily) to keep the feed fresh.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "selector": {
            "title": "CSS selector (optional)",
            "type": "string",
            "description": "Watch only this part of each page, e.g. main, #pricing, .release-notes. Empty = automatic main-content detection."
          },
          "itemSelector": {
            "title": "Item selector (list pages)",
            "type": "string",
            "description": "Turn a listing into feed items, e.g. article, li.job, .post-card. Each item becomes one feed entry when it first appears (keyed by its link)."
          },
          "pages": {
            "title": "Advanced: per-page settings",
            "type": "array",
            "description": "Optional objects {\"url\", \"name\", \"selector\", \"itemSelector\", \"ignoreSelectors\": [\"…\"]} to override the global settings per page."
          },
          "ignoreSelectors": {
            "title": "Ignore these elements",
            "type": "array",
            "description": "CSS selectors removed before comparing (ads, 'last updated' widgets, counters). Navigation, header, footer and cookie banners are ignored by default.",
            "items": {
              "type": "string"
            }
          },
          "ignorePatterns": {
            "title": "Ignore text patterns (regex)",
            "type": "array",
            "description": "Regular expressions removed from the text before comparing, e.g. \"Last updated .*\" or \"\\d+ people viewing\".",
            "items": {
              "type": "string"
            }
          },
          "ignoreNumbers": {
            "title": "Ignore number changes",
            "type": "boolean",
            "description": "Treat changes in digits only (prices, counters, dates) as no change.",
            "default": false
          },
          "minChangeChars": {
            "title": "Minimum change size (characters)",
            "minimum": 0,
            "type": "integer",
            "description": "Smaller edits are not reported (they accumulate until they cross the threshold).",
            "default": 10
          },
          "feedName": {
            "title": "Feed name",
            "type": "string",
            "description": "Named key-value store holding state and the feed files (feed.xml, feed.atom, feed.json). Use one name per feed; keep it the same between runs.",
            "default": "siteverdict-change-feed"
          },
          "feedTitle": {
            "title": "Feed title",
            "type": "string",
            "description": "Shown in feed readers."
          },
          "maxEntries": {
            "title": "Entries kept in the feed",
            "minimum": 5,
            "maximum": 500,
            "type": "integer",
            "description": "Rolling window of most recent entries.",
            "default": 100
          },
          "emitInitialItems": {
            "title": "Publish current items on the first run (list pages)",
            "type": "boolean",
            "description": "With an item selector, the first run publishes the items already on the page (not charged as changes).",
            "default": true
          },
          "trackUpdatedItems": {
            "title": "Also report edited items",
            "type": "boolean",
            "description": "List pages: add an entry when an existing item's text changes.",
            "default": false
          },
          "trackRemovedItems": {
            "title": "Also report removed items",
            "type": "boolean",
            "description": "List pages: add an entry when an item disappears.",
            "default": false
          },
          "webhookUrl": {
            "title": "Alert webhook (Slack or HTTPS)",
            "type": "string",
            "description": "Called when new changes are found (Slack incoming webhook gets a message, other URLs a JSON payload)."
          },
          "aiSummary": {
            "title": "AI one-line summary of each change",
            "type": "boolean",
            "description": "Uses YOUR OWN LLM key to summarise what changed (max 3 summaries per page per run).",
            "default": false
          },
          "aiProvider": {
            "title": "AI provider",
            "enum": [
              "openai",
              "anthropic",
              "google",
              "mistral"
            ],
            "type": "string",
            "description": "LLM provider for summaries.",
            "default": "openai"
          },
          "aiApiKey": {
            "title": "AI API key",
            "type": "string",
            "description": "Your LLM key; never logged or output."
          },
          "aiModel": {
            "title": "AI model (optional)",
            "type": "string",
            "description": "Defaults: gpt-4.1-mini, claude-sonnet-5-5, gemini-2.5-flash, mistral-small-latest."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}