{
  "openapi": "3.0.1",
  "info": {
    "title": "Game Release News Tracker: Reddit, Google News & YouTube",
    "description": "Collect new articles, posts and videos for any game or keyword from public Reddit search, Google News RSS, YouTube public channel feeds and optional custom RSS. Deduplicated results with title, URL, source, published date and snippet. Schedule it to watch a launch, e.g. GTA VI.",
    "version": "1.0",
    "x-build-id": "wW0WZMNhN3lUoaIe8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sysco32~game-release-news-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sysco32-game-release-news-tracker",
        "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/sysco32~game-release-news-tracker/runs": {
      "post": {
        "operationId": "runs-sync-sysco32-game-release-news-tracker",
        "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/sysco32~game-release-news-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-sysco32-game-release-news-tracker",
        "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": [
          "keywords"
        ],
        "properties": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Search terms to watch, e.g. <code>GTA 6</code>, <code>GTA VI</code>, <code>Nintendo Switch 2</code>. Items are kept if they match at least one keyword. Results from several keywords are merged and deduplicated.",
            "default": [
              "GTA 6",
              "GTA VI"
            ],
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Public sources only, no logins. <code>youtube</code> uses official public channel RSS feeds (if you add channels) plus Google News results that link to YouTube. <code>customRss</code> reads the feeds you paste below and keeps items that match your keywords.",
            "items": {
              "type": "string",
              "enum": [
                "reddit",
                "googleNews",
                "youtube",
                "customRss"
              ]
            },
            "default": [
              "reddit",
              "googleNews",
              "youtube"
            ]
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Upper limit for the whole run after deduplication, newest first. 0 = no limit.",
            "default": 50
          },
          "sinceHours": {
            "title": "Only items from the last N hours",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only items published in this window. 0 = no date limit. Items with no published date are dropped when this is set.",
            "default": 24
          },
          "subreddits": {
            "title": "Subreddits (optional)",
            "type": "array",
            "description": "Limit Reddit search to these communities, e.g. <code>Games</code>, <code>gaming</code>. Leave empty to search all of public Reddit. You can write <code>Games</code> or <code>r/Games</code>.",
            "items": {
              "type": "string"
            }
          },
          "youtubeChannels": {
            "title": "YouTube channels (optional)",
            "type": "array",
            "description": "Public channel IDs, @handles or channel URLs. Each channel is read through YouTube's official public RSS feed (<code>feeds/videos.xml</code>). Videos that do not match your keywords are skipped. YouTube keyword search also uses the public Google News RSS for <code>site:youtube.com</code> (YouTube has no public search RSS).",
            "items": {
              "type": "string"
            }
          },
          "customRssFeeds": {
            "title": "Custom RSS or Atom feeds (optional)",
            "type": "array",
            "description": "Extra feed URLs to include. Only items matching your keywords (and the date window) are kept. Enable the <code>customRss</code> source above.",
            "items": {
              "type": "string"
            }
          },
          "googleNewsLanguage": {
            "title": "Google News language",
            "type": "string",
            "description": "Language code for Google News RSS, e.g. <code>en-US</code> or <code>en-GB</code>.",
            "default": "en-US"
          },
          "googleNewsCountry": {
            "title": "Google News country",
            "type": "string",
            "description": "Country code, e.g. <code>US</code>, <code>GB</code>.",
            "default": "US"
          },
          "googleNewsCeid": {
            "title": "Google News ceid",
            "type": "string",
            "description": "Optional Google News <code>ceid</code> parameter. Leave empty to build it from country and language (e.g. <code>US:en</code>)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}