{
  "openapi": "3.0.1",
  "info": {
    "title": "RSS & News Feed Monitor",
    "description": "Monitor RSS, Atom and JSON feeds — or any site that has one — and get back only the items published since your last run. Optional full article text, keyword and date filters. You pay per delivered item: nothing new means nothing charged.",
    "version": "0.1",
    "x-build-id": "Qc2iN8XQ3B5TllAzD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/munin~feed-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-munin-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/munin~feed-monitor/runs": {
      "post": {
        "operationId": "runs-sync-munin-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/munin~feed-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-munin-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",
        "required": [
          "sources"
        ],
        "properties": {
          "sources": {
            "title": "Feed or site URLs",
            "minItems": 1,
            "type": "array",
            "description": "Feed URLs, or plain site URLs. For a site, the actor looks for a declared <link rel=\"alternate\"> feed and then for the usual paths (/feed, /rss.xml, /atom.xml, …). Works with RSS 2.0, RSS 1.0, Atom and JSON Feed.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords (any of)",
            "type": "array",
            "description": "Keep only items matching at least one keyword. Case-insensitive substring match. Leave empty to get everything.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop items matching any of these.",
            "items": {
              "type": "string"
            }
          },
          "matchIn": {
            "title": "Match keywords in",
            "type": "array",
            "description": "Which fields the keyword filters look at. Add \"content\" to search the text the feed itself carries. Full article text is not searched, because it is fetched after filtering.",
            "items": {
              "type": "string",
              "enum": [
                "title",
                "summary",
                "content",
                "author",
                "categories"
              ],
              "enumTitles": [
                "Title",
                "Summary",
                "Feed content",
                "Author",
                "Categories / tags"
              ]
            },
            "default": [
              "title",
              "summary"
            ]
          },
          "authors": {
            "title": "Authors",
            "type": "array",
            "description": "Keep only items whose author matches one of these. Many feeds leave the author empty; those items are dropped when this is set.",
            "items": {
              "type": "string"
            }
          },
          "publishedWithinHours": {
            "title": "Published within (hours)",
            "minimum": 0,
            "type": "integer",
            "description": "Drop items older than this. 0 = no date limit. Items with no date in the feed are always kept.",
            "default": 0
          },
          "onlyNewItems": {
            "title": "Only items new since the last run",
            "type": "boolean",
            "description": "On for scheduled monitoring: the actor remembers what it already delivered and sends only what appeared since. Turn off to get the whole current feed every run.",
            "default": true
          },
          "stateStoreName": {
            "title": "Memory name",
            "type": "string",
            "description": "Named key-value store holding the delivered item IDs. Use different names to keep separate watch lists from interfering. Leave empty to use the shared store \"feed-monitor-state\"."
          },
          "includeFullText": {
            "title": "Fetch full article text",
            "type": "boolean",
            "description": "Most feeds carry only a 100-200 character summary. With this on, the actor opens each article page and extracts the body. Adds about 0.2-1 second per item and does not always succeed (pages rendered by JavaScript or behind a paywall come back empty with a reason).",
            "default": false
          },
          "fullTextMinChars": {
            "title": "Minimum article length",
            "minimum": 0,
            "type": "integer",
            "description": "Text shorter than this is treated as not found rather than returned as a fragment.",
            "default": 500
          },
          "includeContentHtml": {
            "title": "Include HTML",
            "type": "boolean",
            "description": "Also return the content as HTML, not only as plain text. Makes the dataset noticeably larger.",
            "default": false
          },
          "maxItemsPerFeed": {
            "title": "Max items per feed",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no limit. Counts delivered items, not items removed by filters.",
            "default": 0
          },
          "maxItems": {
            "title": "Max items in total",
            "minimum": 0,
            "type": "integer",
            "description": "Hard stop for the whole run. 0 = no limit."
          },
          "maxFeedsPerSite": {
            "title": "Max feeds per site URL",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Some sites declare several feeds (all posts, one per category). Raise this to take more than the first.",
            "default": 1
          },
          "maxConcurrency": {
            "title": "Concurrent sources",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many feeds to read at once.",
            "default": 5
          },
          "useApifyProxy": {
            "title": "Use Apify Proxy",
            "type": "boolean",
            "description": "Not needed for most feeds. Turn on if a publisher blocks datacenter traffic.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}