{
  "openapi": "3.0.1",
  "info": {
    "title": "RSS Feed Reader & Monitor: RSS, Atom & JSON Feed to JSON",
    "description": "Read any RSS, Atom or JSON Feed (or just paste a website, the feed is found automatically) into one clean table: title, link, date, author, categories, summary, image. Keyword include/exclude filters, date filter, dedupe, and monitor mode that returns only new items since the last run.",
    "version": "1.0",
    "x-build-id": "MavLxpUg2mbBQVjRf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wellbuilt_seahare~rss-feed-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wellbuilt_seahare-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/wellbuilt_seahare~rss-feed-monitor/runs": {
      "post": {
        "operationId": "runs-sync-wellbuilt_seahare-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/wellbuilt_seahare~rss-feed-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-wellbuilt_seahare-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 or website URLs",
            "type": "array",
            "description": "RSS, Atom or JSON Feed URLs, one per line (e.g. https://feeds.bbci.co.uk/news/technology/rss.xml). You can also paste a website or blog homepage (e.g. https://blog.cloudflare.com/) and the feed is found automatically. Duplicates are removed. Leave empty to run the 4 example feeds.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerFeed": {
            "title": "Max items per feed",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Output at most this many items from each feed, newest first as the feed lists them (0 = all items in the feed). Default 10 keeps test runs cheap.",
            "default": 10
          },
          "maxItems": {
            "title": "Max items in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many items across all feeds (0 = no limit). Use it to cap cost.",
            "default": 0
          },
          "includeKeywords": {
            "title": "Include keywords (any)",
            "type": "array",
            "description": "Only output items whose title, summary, categories (or content, see below) contain at least one of these words or phrases. Case-insensitive; single words match whole words (\"AI\" won't match \"said\"). Matches are listed in matchedKeywords. Leave empty to keep everything.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop items that contain any of these words or phrases (same matching rules as include keywords). Example: sponsored, podcast.",
            "items": {
              "type": "string"
            }
          },
          "searchInContent": {
            "title": "Search keywords in full content too",
            "type": "boolean",
            "description": "If on, keyword filters also look at the item's full text when the feed includes it (content:encoded, Atom content, JSON Feed content_html). If off, only title, summary and categories are searched.",
            "default": true
          },
          "publishedWithinDays": {
            "title": "Published within last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Only output items published in the last N days (0 = any date).",
            "default": 0
          },
          "keepUndatedItems": {
            "title": "Keep items without a date",
            "type": "boolean",
            "description": "When a date filter is set, keep items whose feed gives no publish date. Turn off to drop them.",
            "default": true
          },
          "onlyNewItems": {
            "title": "Monitor mode: only new items since last run",
            "type": "boolean",
            "description": "Remember which items each feed already returned (in a named key-value store in your account) and output only new ones on the next runs. Schedule the Actor hourly or daily to get a stream of new posts. The first run outputs the current items and saves them as seen. You pay only for new items.",
            "default": false
          },
          "monitorStateName": {
            "title": "Monitor state name",
            "type": "string",
            "description": "Name of the key-value store that keeps the seen-item list for monitor mode. Use a different name per watch list (e.g. competitors-blogs, ai-news) so separate schedules don't share state. Lowercase letters, numbers and dashes.",
            "default": "rss-feed-monitor-state"
          },
          "autoDiscover": {
            "title": "Auto-discover feed from website URLs",
            "type": "boolean",
            "description": "If a URL is a normal web page, look for its feed in <link rel=\"alternate\"> tags and common paths like /feed, /rss.xml and /atom.xml.",
            "default": true
          },
          "summaryMaxLength": {
            "title": "Summary max length (characters)",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "The summary field is the item's description as plain text (HTML removed), cut to this many characters. 0 = leave summary empty.",
            "default": 500
          },
          "includeContent": {
            "title": "Include full content",
            "type": "boolean",
            "description": "Add a content field with the item's full text as plain text, when the feed publishes it. Off by default to keep rows small.",
            "default": false
          },
          "contentMaxLength": {
            "title": "Content max length (characters)",
            "minimum": 100,
            "maximum": 100000,
            "type": "integer",
            "description": "Cut the content field to this many characters (only used when Include full content is on).",
            "default": 20000
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many feeds to fetch at the same time. Default 5.",
            "default": 5
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Give up on a feed that doesn't answer within this many seconds (retried twice).",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}