{
  "openapi": "3.0.1",
  "info": {
    "title": "RSS Feed Reader & Monitor — New Items, Full Text, AI Filter",
    "description": "Read any RSS, Atom or JSON feed as clean JSON rows: title, link, author, dates, summary, categories, image and enclosures. Input: feed URLs, plus optional only-new monitoring, date and keyword filters, full article text, and an AI relevance filter and digest.",
    "version": "0.1",
    "x-build-id": "UYZdh63B5TJafYAXZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/istmobot~rss-feed-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-istmobot-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/istmobot~rss-feed-monitor/runs": {
      "post": {
        "operationId": "runs-sync-istmobot-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/istmobot~rss-feed-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-istmobot-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",
        "required": [
          "feeds"
        ],
        "properties": {
          "feeds": {
            "title": "Feed URLs",
            "type": "array",
            "description": "Addresses of the feeds to read, one per line: RSS 2.0, RSS 1.0 (RDF), Atom or JSON Feed. Use the address of the feed itself, not of the web page, e.g. https://hnrss.org/frontpage or https://github.com/apify/crawlee/releases.atom",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerFeed": {
            "title": "Max items per feed",
            "minimum": 1,
            "type": "integer",
            "description": "The most items one feed can add to the dataset in one run, e.g. 20. Items are taken in feed order (newest first in most feeds), after the filters below. You pay per item saved. Only the first 2,000 items of a feed are read.",
            "default": 20
          },
          "onlyNew": {
            "title": "Only new items (monitoring)",
            "type": "boolean",
            "description": "Return only the items that earlier runs have not seen, e.g. true for a run scheduled every hour. The first run returns up to \"Max items per feed\" and remembers every item of the feed; later runs return what was added since. New items over the limit wait for the next run. A run with nothing new leaves the dataset empty and charges no items. The seen item ids (the newest 2,000 per feed) are kept in the key-value store \"rss-feed-monitor-state\" in your account.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional name that keeps a separate memory of seen items, e.g. \"slack-alerts\". Two schedules with different names can watch the same feed without hiding items from each other. Leave empty to use one shared memory per feed. Only used with \"Only new items\"."
          },
          "publishedAfter": {
            "title": "Published after",
            "type": "string",
            "description": "Keep only items published at or after this moment: an ISO date such as 2026-11-01 or 2026-11-01T08:00:00Z, or a relative value such as \"24 hours\", \"7 days\" or \"2 weeks\" (units: minutes, hours, days, weeks, months). Items without a date are left out when this is set."
          },
          "includeKeywords": {
            "title": "Include keywords",
            "type": "array",
            "description": "Keep only items whose title or summary contains at least one of these words or phrases, e.g. \"funding\" or \"open source\". Whole words, any letter case, no AI: \"AI\" does not match \"said\", and \"startup\" does not match \"startups\" (add both).",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Leave out items whose title or summary contains any of these words or phrases, e.g. \"sponsored\" or \"podcast\". Whole words, any letter case, no AI.",
            "items": {
              "type": "string"
            }
          },
          "fetchFullText": {
            "title": "Fetch full article text",
            "type": "boolean",
            "description": "Open each item's link and extract the readable article text into \"fullText\" (up to 20,000 characters), e.g. true to feed whole articles to a search index or an LLM. Charged per item whose text was extracted; pages that are blocked, paywalled or have no article text give \"fullText\": null at no charge.",
            "default": false
          },
          "aiTopic": {
            "title": "AI topic",
            "type": "string",
            "description": "Describe what you care about, e.g. \"new funding rounds of AI startups\". Each item gets \"ai\": { relevance (0-100), reason, summary } written by Claude from the title, the summary and the start of the full text when it was fetched. Charged per item analyzed. Needs a paid Apify plan; on the free plan it is skipped and the items are still returned."
          },
          "aiMinRelevance": {
            "title": "AI minimum relevance",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "With an AI topic: items that score below this relevance (0-100) are not saved, e.g. 50. An item dropped this way is still charged the AI analysis (\"ai-item\"), but not the \"feed-item\". 0 keeps every item.",
            "default": 0
          },
          "aiDigest": {
            "title": "AI digest of the run",
            "type": "boolean",
            "description": "Write one digest of the items saved in this run (the newest 100 at most): a headline, the main themes, 5 to 10 bullet points with links, and what is new, e.g. true for a daily briefing. It goes to the separate \"digest\" dataset and, as Markdown, to the key-value store record DIGEST; the main dataset keeps feed items only. Charged once per digest; a run that saves fewer than 3 items writes none and is not charged for it. Needs a paid Apify plan.",
            "default": false
          },
          "proxy": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional proxy for the feed and article requests, e.g. {\"useApifyProxy\": true}. Most feeds answer without one, so the default is no proxy. Switch it on when a feed returns the error code BLOCKED.",
            "default": {
              "useApifyProxy": 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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}