{
  "openapi": "3.0.1",
  "info": {
    "title": "RSS Keyword Monitor — Only New Items & Webhooks",
    "description": "RSS feed monitor for keyword, regex, and exclusion filters across RSS, Atom, and RDF. Supports RSS-to-webhook delivery and JSON output, returning only new matching items per Task.",
    "version": "0.1",
    "x-build-id": "ApH7X22XrCGbdPLkA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/uplifted_novice_vbl~rss-keyword-monitor-only-new/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-uplifted_novice_vbl-rss-keyword-monitor-only-new",
        "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/uplifted_novice_vbl~rss-keyword-monitor-only-new/runs": {
      "post": {
        "operationId": "runs-sync-uplifted_novice_vbl-rss-keyword-monitor-only-new",
        "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/uplifted_novice_vbl~rss-keyword-monitor-only-new/run-sync": {
      "post": {
        "operationId": "run-sync-uplifted_novice_vbl-rss-keyword-monitor-only-new",
        "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": {
          "feeds": {
            "title": "Feed URLs",
            "minItems": 1,
            "maxItems": 500,
            "uniqueItems": true,
            "type": "array",
            "description": "RSS 2.0 / Atom 1.0 / RSS 1.0 (RDF) feed URLs to monitor. 1–500 feeds. Each is fetched once per run regardless of how many keywords you set.",
            "items": {
              "type": "string",
              "maxLength": 2048
            },
            "default": [
              "https://blog.apify.com/rss/",
              "https://feeds.bbci.co.uk/news/rss.xml"
            ]
          },
          "keywords": {
            "title": "Keywords / phrases",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Case-insensitive substrings, OR-matched (e.g. \"acquisition\", \"funding round\"). Leave EMPTY to deliver every new item (no keyword filter).",
            "items": {
              "type": "string",
              "maxLength": 200
            },
            "default": []
          },
          "regexPatterns": {
            "title": "Regex patterns",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Regular expressions, OR-matched with keywords (case-insensitive). An invalid pattern fails the run fast with a clear error.",
            "items": {
              "type": "string",
              "maxLength": 500
            },
            "default": []
          },
          "excludeTerms": {
            "title": "Exclude terms",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop any item whose matched fields contain one of these (case-insensitive). Applied AFTER matching, BEFORE charging — excluded items are never billed.",
            "items": {
              "type": "string",
              "maxLength": 200
            },
            "default": []
          },
          "matchFields": {
            "title": "Fields to match on",
            "maxItems": 4,
            "uniqueItems": true,
            "type": "array",
            "description": "Which item fields keywords/regex are tested against. Allowed values: title, description, content, categories. Default: title + description.",
            "items": {
              "type": "string",
              "maxLength": 11
            },
            "default": [
              "title",
              "description"
            ]
          },
          "onlyNew": {
            "title": "Only new items",
            "type": "boolean",
            "description": "When on (default), return and charge for items never delivered to this Task before. Turn off for a plain filtered read of the current feeds (still charged per item).",
            "default": true
          },
          "maxItemsPerRun": {
            "title": "Max items per run (billing ceiling)",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Hard cap on items delivered/charged in a single run. In only-new mode, HTTP validators are withheld so overflow can be retried from the source feed next run; items are not durably queued and can disappear if the source removes them first.",
            "default": 200
          },
          "dedupWindow": {
            "title": "Dedup window (days)",
            "minimum": 7,
            "maximum": 365,
            "type": "integer",
            "description": "How long an item stays in the seen-set. Feeds that re-surface an item older than this will re-deliver it. 7–365 days.",
            "default": 45
          },
          "includeContent": {
            "title": "Include full content",
            "type": "boolean",
            "description": "Include the feed's full content:encoded HTML in each item when present. (No article-page fetching.) Turn off for smaller records.",
            "default": true
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional. POSTed a JSON payload (run summary + up to 50 newest items) only when there are new items. Works with n8n, Make, Slack, or any endpoint."
          },
          "resetState": {
            "title": "Reset state",
            "type": "boolean",
            "description": "Wipe this Task's seen-set and stored HTTP validators and start fresh. Use once, then turn back off.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}