{
  "openapi": "3.0.1",
  "info": {
    "title": "RSS Feed Reader – RSS to JSON & News Feed Monitor",
    "description": "Turn RSS, Atom, RDF and JSON feeds – or any website URL, the feed is found automatically – into clean JSON items. Only-new mode for scheduled news monitoring, keyword and date filters, duplicate removal across feeds. Ready for n8n, Make, Zapier and the API.",
    "version": "0.2",
    "x-build-id": "plWSS2V7RLnaUX03Y"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/adamplaenitz~rss-feed-reader/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-adamplaenitz-rss-feed-reader",
        "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/adamplaenitz~rss-feed-reader/runs": {
      "post": {
        "operationId": "runs-sync-adamplaenitz-rss-feed-reader",
        "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/adamplaenitz~rss-feed-reader/run-sync": {
      "post": {
        "operationId": "run-sync-adamplaenitz-rss-feed-reader",
        "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 or website URLs",
            "type": "array",
            "description": "One per line. Feed URLs (RSS 2.0, RSS 0.9x, RDF / RSS 1.0, Atom, JSON Feed) or plain website URLs – for websites the feed is found automatically via <link rel=\"alternate\"> or common paths such as /feed. Default: BBC News Technology, the GitHub Blog (found from the website URL) and Hacker News front page.",
            "default": [
              "https://feeds.bbci.co.uk/news/technology/rss.xml",
              "https://github.blog",
              "https://hnrss.org/frontpage"
            ],
            "items": {
              "type": "string"
            }
          },
          "onlyNew": {
            "title": "Only new items since the last run",
            "type": "boolean",
            "description": "Remembers which items were already returned (in the named key-value store \"rss-feed-reader-state\", one state per combination of feeds and keyword filters) and returns only items not returned before. The first run returns the current items. Ideal for schedules.",
            "default": false
          },
          "maxItemsPerFeed": {
            "title": "Maximum items per feed",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Newest items first. Default 20 keeps a test run cheap; raise it (e.g. to 100) if you need the whole feed – most feeds only contain their latest 10–50 items anyway.",
            "default": 20
          },
          "maxItems": {
            "title": "Maximum items in total",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stops after this many items over all feeds (also caps the cost).",
            "default": 1000
          },
          "maxAgeDays": {
            "title": "Maximum age (days)",
            "minimum": 0,
            "maximum": 36500,
            "type": "integer",
            "description": "Only items published within this many days. 0 = no age limit. Items without a date are kept.",
            "default": 0
          },
          "publishedAfter": {
            "title": "Published after",
            "type": "string",
            "description": "Optional. Only items published after this point: a date (2026-11-01), a date-time (2026-11-01T08:00:00Z) or a relative value such as \"24 hours\", \"7 days\" or \"2 weeks\". Combined with the maximum age, the stricter limit wins. Items without a date are kept."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional. Only items whose title, summary or categories contain these words (case-insensitive substring match).",
            "items": {
              "type": "string"
            }
          },
          "keywordMode": {
            "title": "Keyword match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Any: at least one keyword must occur. All: every keyword must occur.",
            "default": "any"
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Optional. Items containing one of these words are skipped.",
            "items": {
              "type": "string"
            }
          },
          "summaryMaxLength": {
            "title": "Summary length (characters)",
            "minimum": 0,
            "maximum": 300,
            "type": "integer",
            "description": "The item description is converted to plain text and shortened to this length (max. 300, 0 = no summary). Full article texts are never output.",
            "default": 300
          },
          "discoverFeeds": {
            "title": "Find feeds on websites",
            "type": "boolean",
            "description": "If a URL is an HTML page, use the feed it advertises (or try /feed, /rss.xml, /atom.xml, …). Off: such URLs return an error row.",
            "default": true
          },
          "dedupeAcrossFeeds": {
            "title": "Remove duplicates across feeds",
            "type": "boolean",
            "description": "If the same article (same link without tracking parameters, or same title if there is no link) appears in several feeds of this run, it is output – and charged – only once.",
            "default": true
          },
          "includeAuthor": {
            "title": "Include author",
            "type": "boolean",
            "description": "Adds the author / byline exactly as published in the feed (e-mail addresses removed). Off by default.",
            "default": false
          },
          "timeoutSecs": {
            "title": "Timeout per request (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Inactivity timeout for every feed or page download.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}