{
  "openapi": "3.0.1",
  "info": {
    "title": "RSS & Atom Feed Reader + Auto-Discovery (News Monitor)",
    "description": "Read RSS 2.0, RSS 1.0/RDF, Atom and JSON Feed from feed URLs or any website (auto-discovers its feed). Clean, stable JSON per item, keyword and date filters, and an only-new mode that remembers what you already got, for scheduled news alerts and AI agents. Pay per item. By IntegriApps.",
    "version": "0.1",
    "x-build-id": "rePHvokuGKq4IfoEv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/integriapps~rss-feed-reader/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-integriapps-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/integriapps~rss-feed-reader/runs": {
      "post": {
        "operationId": "runs-sync-integriapps-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/integriapps~rss-feed-reader/run-sync": {
      "post": {
        "operationId": "run-sync-integriapps-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": {
          "startUrls": {
            "title": "Feed or website URLs",
            "type": "array",
            "description": "RSS/Atom/RDF/JSON Feed URLs, or normal website URLs (the Actor auto-discovers the site's feed). Up to 1,000 per run. If empty, a free demo reads 5 items from the NASA news releases 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": 1000,
            "type": "integer",
            "description": "Newest items returned per feed after filters (1–1,000). Each returned item is one charged event.",
            "default": 50
          },
          "maxTotalItems": {
            "title": "Max items in total",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard cap of items returned in the whole run (spending guard).",
            "default": 5000
          },
          "includeKeywords": {
            "title": "Include keywords",
            "type": "array",
            "description": "Optional. Keep only items whose title, summary or categories contain at least one of these words or phrases (case-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Optional. Drop items whose title, summary or categories contain any of these words or phrases (case-insensitive).",
            "items": {
              "type": "string"
            }
          },
          "sinceHours": {
            "title": "Only items from the last N hours",
            "minimum": 0,
            "maximum": 87600,
            "type": "integer",
            "description": "Optional. Keep only items published (or updated) in the last N hours. Items without a date are dropped when a date filter is used. 0 = no limit.",
            "default": 0
          },
          "sinceDate": {
            "title": "Only items published after",
            "type": "string",
            "description": "Optional ISO date or date-time, e.g. 2026-11-01 or 2026-11-01T12:00:00Z."
          },
          "onlyNew": {
            "title": "Only new items (remember between runs)",
            "type": "boolean",
            "description": "For scheduled alerts: items already returned by a previous run with the same state store, feed and keywords are skipped (and not charged). State is kept in a named key-value store in your account. The first run returns the current items and marks them as seen.",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name (only-new mode)",
            "type": "string",
            "description": "Name of the key-value store that remembers seen items. Use a different name per alert/schedule if you want independent memories.",
            "default": "rss-feed-reader-state"
          },
          "autoDiscover": {
            "title": "Auto-discover feeds from website URLs",
            "type": "boolean",
            "description": "If a URL is an HTML page, look for <link rel=\"alternate\"> feeds and then common paths (/feed, /rss.xml, /atom.xml, /feed.xml, /index.xml, /rss, /feed.json).",
            "default": true
          },
          "maxFeedsPerSite": {
            "title": "Max feeds per website",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "When a website advertises several feeds, how many to read (comment feeds go last).",
            "default": 1
          },
          "includeContent": {
            "title": "Include full content HTML",
            "type": "boolean",
            "description": "Add contentHtml with the full HTML that the feed itself publishes (content:encoded, Atom content, JSON content_html). The Actor never downloads the articles.",
            "default": false
          },
          "maxSummaryChars": {
            "title": "Summary length (characters)",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Plain-text summary is cut at this length on a word boundary. 0 = no limit.",
            "default": 500
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Feeds fetched in parallel (1–10). robots.txt Crawl-delay is always honored.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}