{
  "openapi": "3.0.1",
  "info": {
    "title": "RSS & Atom Feed Monitor — New Items, Filters & Webhooks",
    "description": "Monitor RSS, Atom, RSS 1.0 and JSON feeds — news, blogs, YouTube channels, podcasts, GitHub releases — or an OPML list. Only new items after the first run, with keyword, author, category and age filters, cross-feed dedupe and a webhook. No API key.",
    "version": "0.1",
    "x-build-id": "hYIijGzir4uqflnUE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/insight.solutions~rss-feed-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-insight.solutions-rss-feed-monitor",
        "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/insight.solutions~rss-feed-monitor/runs": {
      "post": {
        "operationId": "runs-sync-insight.solutions-rss-feed-monitor",
        "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/insight.solutions~rss-feed-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-insight.solutions-rss-feed-monitor",
        "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": {
          "feedUrls": {
            "title": "Feed URLs",
            "type": "array",
            "description": "RSS 2.0, RSS 1.0/RDF, Atom or JSON Feed addresses — news sites, blogs, YouTube channel feeds (`https://www.youtube.com/feeds/videos.xml?channel_id=…`), podcast feeds, GitHub release feeds (`…/releases.atom`), government newsrooms. A page URL that is not a feed is checked for the feed it advertises (`<link rel=\"alternate\">`, one extra request); if it advertises none you get a free `not-a-feed` row.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "opmlUrl": {
            "title": "OPML file URL",
            "type": "string",
            "description": "The address of an OPML subscription list (what every feed reader exports). Every `<outline xmlUrl=\"…\">`, at any nesting depth, is added to the feed URLs above (duplicates once). At most 500 feeds from OPML per run.",
            "default": ""
          },
          "opml": {
            "title": "OPML text",
            "type": "string",
            "description": "Or paste the OPML file itself here. Parsed exactly like the OPML file URL.",
            "default": ""
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "monitor",
              "snapshot"
            ],
            "type": "string",
            "description": "`monitor` remembers every item it has shown in a named state store, so each run emits only items it has not seen before — schedule it hourly and you get only what is new. `snapshot` emits everything the feeds hold right now and touches no state.",
            "default": "monitor"
          },
          "firstRunBehavior": {
            "title": "First sight of a feed (monitor mode)",
            "enum": [
              "emit-all",
              "baseline-only"
            ],
            "type": "string",
            "description": "What monitor mode does the first time it sees a feed. `emit-all` emits the items the feed currently holds (charged like any item). `baseline-only` records their ids and emits nothing but the free `feed` row, so only items published after today are ever charged.",
            "default": "emit-all"
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep an item only if any of these appears (case-insensitive) in its title, summary, body text or categories. The row's `matchedKeywords` says which. Leave empty to keep everything.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop an item if any of these appears in the same text. Excluded items are free.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "authors": {
            "title": "Authors",
            "type": "array",
            "description": "Keep an item only if its byline contains any of these (case-insensitive). An item with no byline does not pass an author filter.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories / tags",
            "type": "array",
            "description": "Keep an item only if one of its categories or tags equals any of these (case-insensitive, whole tag — `AI` does not match `Ukraine`).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sinceHours": {
            "title": "Published within the last N hours",
            "minimum": 1,
            "maximum": 87600,
            "type": "integer",
            "description": "Keep only items published within this many hours. Items with no date pass. Leave empty for no window."
          },
          "maxItemsPerFeed": {
            "title": "Maximum items per feed",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "How many of each feed's items to consider per run — the first ones as the feed lists them, which is newest first in almost every feed. `0` means all. The `feed` row still reports the feed's full item count.",
            "default": 100
          },
          "includeContent": {
            "title": "Include the full body",
            "type": "boolean",
            "description": "Return `content` (Markdown-ish text with links kept), `contentText` (plain text) and `contentHtml` (raw, capped at 50,000 characters). Off: those three are null and rows are much smaller; `summary` and `wordCount` stay.",
            "default": true
          },
          "dedupe": {
            "title": "Merge duplicates across feeds",
            "type": "boolean",
            "description": "When two feeds in one run carry the same item (same link once `utm_*` and fragments are stripped, or the same globally unique guid), return it once — from the first feed in your list — with the others in `alsoIn`. One row, one charge.",
            "default": true
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional. After a run that found at least one new item, one JSON POST goes here with the new items (fitted to 256 KB) and a link to the dataset. Free. The URL is treated as a secret: only its origin is ever logged.",
            "default": ""
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "The named key-value store monitor mode keeps its memory in: per feed, the ids of the last 5,000 items shown, plus the ETag and Last-Modified sent back on the next run. Use a different name for each independent schedule. Letters, digits and hyphens.",
            "default": "rss-feed-monitor-state"
          },
          "maxConcurrency": {
            "title": "Feeds read in parallel",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many feeds are read at once. Whatever this says, requests to one host start at least one second apart.",
            "default": 5
          },
          "maxRunSecs": {
            "title": "Maximum run time (seconds)",
            "minimum": 30,
            "maximum": 3600,
            "type": "integer",
            "description": "Wall-clock budget for the whole run. Feeds are read until 90% of it (at most 20 s short of it) is used; the rest is kept for writing rows and state. A feed not reached in time gets a free `deadline` row and its state is untouched.",
            "default": 240
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Every feed captured while building this Actor answered Apify's datacenter proxy, so that is the default and its cost is inside the per-item price. Some sites (Reddit, Craigslist) refuse datacenter traffic; they come back as free `blocked` rows. Sessions rotate automatically when an exit IP is refused.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}