{
  "openapi": "3.0.1",
  "info": {
    "title": "RSS Feed Reader & New Item Monitor: RSS, Atom, JSON Feed",
    "description": "Read RSS, Atom and JSON Feed from feed or website URLs (auto-discovery). Clean items with dates, media and categories, keyword and date filters, dedupe, and only-new mode for schedules.",
    "version": "0.1",
    "x-build-id": "ZrmiD06b0MVzjwQty"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kayorama~rss-feed-reader-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kayorama-rss-feed-reader-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/kayorama~rss-feed-reader-monitor/runs": {
      "post": {
        "operationId": "runs-sync-kayorama-rss-feed-reader-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/kayorama~rss-feed-reader-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-kayorama-rss-feed-reader-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": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Feed or website URLs",
            "type": "array",
            "description": "RSS, Atom or JSON Feed URLs, or plain website URLs. For a website the feed is found from its <link rel=\"alternate\"> tags, then common paths like /feed and /rss.xml.",
            "default": [
              {
                "url": "https://github.blog/feed/"
              }
            ],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItemsPerFeed": {
            "title": "Max items per feed",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Most recent items to output per feed, after filters.",
            "default": 50
          },
          "includeKeywords": {
            "title": "Include keywords",
            "type": "array",
            "description": "Only keep items that mention these words or phrases (title, summary, content, categories). Whole-word match, case-insensitive.",
            "items": {
              "type": "string"
            }
          },
          "keywordMatch": {
            "title": "Keyword match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Keep items that match any include keyword, or only items that match all of them.",
            "default": "any"
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop items that mention any of these words or phrases.",
            "items": {
              "type": "string"
            }
          },
          "publishedAfter": {
            "title": "Published after",
            "type": "string",
            "description": "A date (2026-11-01) or a relative window (24 hours, 7 days, 2 weeks). Items without a date are dropped when a window is set."
          },
          "publishedBefore": {
            "title": "Published before",
            "type": "string",
            "description": "A date (2026-11-15) or a relative time (1 day)."
          },
          "dedupeAcrossFeeds": {
            "title": "Remove duplicates across feeds",
            "type": "boolean",
            "description": "When the same article (same link) shows up in several feeds, output it once and list the other feeds in alsoInFeeds.",
            "default": true
          },
          "trackChanges": {
            "title": "Remember seen items",
            "type": "boolean",
            "description": "Save which items each feed had, so the next run can mark items as new (isNew). Needed for the only-new mode.",
            "default": false
          },
          "outputMode": {
            "title": "Output",
            "enum": [
              "all",
              "onlyNew"
            ],
            "type": "string",
            "description": "All items, or only items not seen in earlier runs (requires Remember seen items). Use only new items for scheduled runs and alerts.",
            "default": "all"
          },
          "skipExistingOnFirstRun": {
            "title": "First run: save a baseline only",
            "type": "boolean",
            "description": "In only-new mode, the first run for a feed saves what is there now and outputs nothing, so you are only alerted about items published after that.",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Named key-value store that keeps seen items between runs. Use a different name per monitor.",
            "default": "feed-monitor-state"
          },
          "includeContent": {
            "title": "Include full content",
            "type": "boolean",
            "description": "Add contentHtml and contentText (when the feed carries full content, for example content:encoded).",
            "default": false
          },
          "maxContentLength": {
            "title": "Max content length",
            "minimum": 500,
            "type": "integer",
            "description": "Characters of contentHtml and contentText to keep per item.",
            "default": 20000
          },
          "summaryMaxLength": {
            "title": "Max summary length",
            "minimum": 50,
            "type": "integer",
            "description": "Characters of plain-text summary to keep per item.",
            "default": 500
          },
          "includeAuthors": {
            "title": "Include author bylines",
            "type": "boolean",
            "description": "Output the byline names the feed publishes (dc:creator, Atom author name). Email addresses are always removed.",
            "default": true
          },
          "includeFeedSummary": {
            "title": "Add a summary row per feed",
            "type": "boolean",
            "description": "One row per feed with format, title, counts, newest item date, posting rate and any error.",
            "default": true
          },
          "maxFeedsPerSite": {
            "title": "Max feeds per website",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "When a website lists several feeds, how many to read. Comment feeds are skipped when other feeds exist.",
            "default": 1
          },
          "maxFeeds": {
            "title": "Max feeds per run",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper limit on the number of feeds read in one run.",
            "default": 200
          },
          "requestDelayMs": {
            "title": "Delay between requests to the same host (ms)",
            "minimum": 500,
            "type": "integer",
            "description": "Minimum pause between two requests to one host. A longer Crawl-delay in robots.txt wins.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}