{
  "openapi": "3.0.1",
  "info": {
    "title": "Google News Scraper",
    "description": "[💰 $0.70 / 1K] Production-grade Google News scraper. Search by keywords, topics or any Google News topic/section URL. HD thumbnails, decoded publisher URLs, descriptions, full metadata. Up to 50,000 articles per run.",
    "version": "0.1",
    "x-build-id": "5GWqM4LzpOyGL2t4r"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kitcunemia~google-news-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kitcunemia-google-news-scraper",
        "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/kitcunemia~google-news-scraper/runs": {
      "post": {
        "operationId": "runs-sync-kitcunemia-google-news-scraper",
        "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/kitcunemia~google-news-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-kitcunemia-google-news-scraper",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Search queries on Google News. Supports operators: site:, -, OR, AND, intitle:, inurl:, \"\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Query (single)",
            "type": "string",
            "description": "Convenience input — adds one search query (alongside `keywords`)."
          },
          "topics": {
            "title": "Topics",
            "uniqueItems": true,
            "type": "array",
            "description": "Predefined Google News topics.",
            "items": {
              "type": "string",
              "enum": [
                "WORLD",
                "NATION",
                "BUSINESS",
                "TECHNOLOGY",
                "ENTERTAINMENT",
                "SPORTS",
                "SCIENCE",
                "HEALTH"
              ]
            },
            "default": []
          },
          "topicUrls": {
            "title": "Topic / section URLs",
            "type": "array",
            "description": "Custom Google News topic or section URLs (paste from your browser). Bare {TOPIC_ID}[/sections/{SECTION_ID}] is also accepted.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxArticles": {
            "title": "Max articles per source",
            "minimum": 1,
            "type": "integer",
            "description": "Per-source cap (per keyword / per topic). Ignored when `maxItems` is set.",
            "default": 10
          },
          "maxItems": {
            "title": "Max items (global)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Global cap across all feeds. Above 100 the scraper splits the date range day-by-day to bypass Google's ~100-per-feed limit."
          },
          "timeframe": {
            "title": "Timeframe",
            "enum": [
              "1h",
              "1d",
              "7d",
              "1m",
              "1y",
              "all"
            ],
            "type": "string",
            "description": "Time window for keyword searches. Ignored for topics / topic URLs.",
            "default": "1d"
          },
          "time_period": {
            "title": "Time period (alias)",
            "enum": [
              "last_hour",
              "last_day",
              "last_week",
              "last_month",
              "last_year",
              "custom"
            ],
            "type": "string",
            "description": "Alternative to `timeframe`. last_hour|last_day|last_week|last_month|last_year|custom. With `custom`, set time_period_min/time_period_max."
          },
          "time_period_min": {
            "title": "Custom range — min",
            "type": "string",
            "description": "Lower bound, MM/DD/YYYY (used when time_period=custom)."
          },
          "time_period_max": {
            "title": "Custom range — max",
            "type": "string",
            "description": "Upper bound, MM/DD/YYYY (used when time_period=custom)."
          },
          "region_language": {
            "title": "Region : Language",
            "type": "string",
            "description": "Region:language combination, e.g. US:en, FR:fr. Overridden by `gl` and `hl` if set.",
            "default": "US:en"
          },
          "gl": {
            "title": "Country (gl)",
            "enum": [
              "af",
              "al",
              "dz",
              "as",
              "ad",
              "ao",
              "ai",
              "aq",
              "ag",
              "ar",
              "am",
              "aw",
              "ac",
              "au",
              "at",
              "az",
              "bs",
              "bh",
              "bd",
              "bb",
              "by",
              "be",
              "bz",
              "bj",
              "bm",
              "bt",
              "bo",
              "ba",
              "bw",
              "bv",
              "br",
              "io",
              "bn",
              "bg",
              "bf",
              "bi",
              "kh",
              "cm",
              "ca",
              "cv",
              "cat",
              "ky",
              "cf",
              "td",
              "cl",
              "cn",
              "cx",
              "cc",
              "co",
              "km",
              "cg",
              "cd",
              "ck",
              "cr",
              "ci",
              "hr",
              "cy",
              "cz",
              "dk",
              "dj",
              "dm",
              "do",
              "tl",
              "ec",
              "eg",
              "sv",
              "gq",
              "er",
              "ee",
              "et",
              "fk",
              "fo",
              "fj",
              "fi",
              "fr",
              "gf",
              "pf",
              "tf",
              "ga",
              "gm",
              "ge",
              "de",
              "gh",
              "gi",
              "gr",
              "gl",
              "gd",
              "gp",
              "gu",
              "gt",
              "gn",
              "gw",
              "gy",
              "ht",
              "hm",
              "hn",
              "hk",
              "hu",
              "is",
              "in",
              "id",
              "iq",
              "ie",
              "il",
              "it",
              "jm",
              "jp",
              "jo",
              "kz",
              "ke",
              "ki",
              "kw",
              "kg",
              "la",
              "lv",
              "lb",
              "ls",
              "lr",
              "ly",
              "li",
              "lt",
              "lu",
              "mo",
              "mk",
              "mg",
              "mw",
              "my",
              "mv",
              "ml",
              "mt",
              "mh",
              "mq",
              "mr",
              "mu",
              "yt",
              "mx",
              "fm",
              "md",
              "mc",
              "mn",
              "ms",
              "ma",
              "mz",
              "na",
              "nr",
              "np",
              "nl",
              "an",
              "nc",
              "nz",
              "ni",
              "ne",
              "ng",
              "nu",
              "nf",
              "mp",
              "no",
              "om",
              "pk",
              "pw",
              "ps",
              "pa",
              "pg",
              "py",
              "pe",
              "ph",
              "pn",
              "pl",
              "pt",
              "pr",
              "qa",
              "re",
              "ro",
              "ru",
              "rw",
              "kn",
              "lc",
              "vc",
              "ws",
              "sm",
              "st",
              "sa",
              "sn",
              "cs",
              "sc",
              "sl",
              "sg",
              "sk",
              "si",
              "sb",
              "so",
              "za",
              "gs",
              "kr",
              "es",
              "lk",
              "sh",
              "pm",
              "sr",
              "sj",
              "sz",
              "se",
              "ch",
              "tw",
              "tj",
              "tz",
              "th",
              "tg",
              "tk",
              "to",
              "tt",
              "tn",
              "tr",
              "tm",
              "tc",
              "tv",
              "ug",
              "ua",
              "ae",
              "gb",
              "us",
              "um",
              "uy",
              "uz",
              "vu",
              "va",
              "ve",
              "vn",
              "vg",
              "vi",
              "wf",
              "eh",
              "ye",
              "zm",
              "zw"
            ],
            "type": "string",
            "description": "ISO country code (lowercase). Overrides region from region_language."
          },
          "hl": {
            "title": "UI language (hl)",
            "enum": [
              "af",
              "ak",
              "sq",
              "am",
              "ar",
              "hy",
              "az",
              "eu",
              "be",
              "bem",
              "bn",
              "bh",
              "bs",
              "br",
              "bg",
              "km",
              "ca",
              "chr",
              "ny",
              "zh-cn",
              "zh-tw",
              "co",
              "hr",
              "cs",
              "da",
              "nl",
              "en",
              "eo",
              "et",
              "ee",
              "fo",
              "tl",
              "fi",
              "fr",
              "fy",
              "gaa",
              "gl",
              "ka",
              "de",
              "el",
              "gn",
              "gu",
              "ht",
              "ha",
              "haw",
              "he",
              "iw",
              "hi",
              "hu",
              "is",
              "ig",
              "id",
              "ia",
              "ga",
              "it",
              "ja",
              "jw",
              "kn",
              "kk",
              "rw",
              "rn",
              "kg",
              "ko",
              "kri",
              "ku",
              "ckb",
              "ky",
              "lo",
              "la",
              "lv",
              "ln",
              "lt",
              "loz",
              "lg",
              "ach",
              "mk",
              "mg",
              "ms",
              "ml",
              "mt",
              "mi",
              "mr",
              "mfe",
              "mo",
              "mn",
              "sr-ME",
              "ne",
              "pcm",
              "nso",
              "no",
              "nn",
              "oc",
              "or",
              "om",
              "ps",
              "fa",
              "pl",
              "pt",
              "pt-br",
              "pt-pt",
              "pa",
              "qu",
              "ro",
              "rm",
              "nyn",
              "ru",
              "gd",
              "sr",
              "sh",
              "st",
              "tn",
              "crs",
              "sn",
              "sd",
              "si",
              "sk",
              "sl",
              "so",
              "es",
              "es-419",
              "su",
              "sw",
              "sv",
              "tg",
              "ta",
              "tt",
              "te",
              "th",
              "ti",
              "to",
              "lua",
              "tum",
              "tr",
              "tk",
              "tw",
              "ug",
              "uk",
              "ur",
              "uz",
              "vi",
              "cy",
              "wo",
              "xh",
              "yi",
              "yo",
              "zu"
            ],
            "type": "string",
            "description": "Language code (lowercase). Overrides language from region_language."
          },
          "lr": {
            "title": "Language results (lr)",
            "enum": [
              "lang_ar",
              "lang_hy",
              "lang_be",
              "lang_bg",
              "lang_ca",
              "lang_zh-cn",
              "lang_zh-tw",
              "lang_hr",
              "lang_cs",
              "lang_da",
              "lang_nl",
              "lang_en",
              "lang_eo",
              "lang_et",
              "lang_tl",
              "lang_fi",
              "lang_fr",
              "lang_de",
              "lang_el",
              "lang_iw",
              "lang_hu",
              "lang_is",
              "lang_id",
              "lang_it",
              "lang_ja",
              "lang_ko",
              "lang_lv",
              "lang_lt",
              "lang_no",
              "lang_fa",
              "lang_pl",
              "lang_pt",
              "lang_ro",
              "lang_ru",
              "lang_sr",
              "lang_sk",
              "lang_sl",
              "lang_es",
              "lang_sv",
              "lang_th",
              "lang_tr",
              "lang_uk",
              "lang_vi"
            ],
            "type": "string",
            "description": "Limit results to a specific language."
          },
          "cr": {
            "title": "Country results (cr)",
            "enum": [
              "af",
              "al",
              "dz",
              "as",
              "ad",
              "ao",
              "ai",
              "aq",
              "ag",
              "ar",
              "am",
              "aw",
              "ac",
              "au",
              "at",
              "az",
              "bs",
              "bh",
              "bd",
              "bb",
              "by",
              "be",
              "bz",
              "bj",
              "bm",
              "bt",
              "bo",
              "ba",
              "bw",
              "bv",
              "br",
              "io",
              "bn",
              "bg",
              "bf",
              "bi",
              "kh",
              "cm",
              "ca",
              "cv",
              "cat",
              "ky",
              "cf",
              "td",
              "cl",
              "cn",
              "cx",
              "cc",
              "co",
              "km",
              "cg",
              "cd",
              "ck",
              "cr",
              "ci",
              "hr",
              "cy",
              "cz",
              "dk",
              "dj",
              "dm",
              "do",
              "tl",
              "ec",
              "eg",
              "sv",
              "gq",
              "er",
              "ee",
              "et",
              "fk",
              "fo",
              "fj",
              "fi",
              "fr",
              "gf",
              "pf",
              "tf",
              "ga",
              "gm",
              "ge",
              "de",
              "gh",
              "gi",
              "gr",
              "gl",
              "gd",
              "gp",
              "gu",
              "gt",
              "gn",
              "gw",
              "gy",
              "ht",
              "hm",
              "hn",
              "hk",
              "hu",
              "is",
              "in",
              "id",
              "iq",
              "ie",
              "il",
              "it",
              "jm",
              "jp",
              "jo",
              "kz",
              "ke",
              "ki",
              "kw",
              "kg",
              "la",
              "lv",
              "lb",
              "ls",
              "lr",
              "ly",
              "li",
              "lt",
              "lu",
              "mo",
              "mk",
              "mg",
              "mw",
              "my",
              "mv",
              "ml",
              "mt",
              "mh",
              "mq",
              "mr",
              "mu",
              "yt",
              "mx",
              "fm",
              "md",
              "mc",
              "mn",
              "ms",
              "ma",
              "mz",
              "na",
              "nr",
              "np",
              "nl",
              "an",
              "nc",
              "nz",
              "ni",
              "ne",
              "ng",
              "nu",
              "nf",
              "mp",
              "no",
              "om",
              "pk",
              "pw",
              "ps",
              "pa",
              "pg",
              "py",
              "pe",
              "ph",
              "pn",
              "pl",
              "pt",
              "pr",
              "qa",
              "re",
              "ro",
              "ru",
              "rw",
              "kn",
              "lc",
              "vc",
              "ws",
              "sm",
              "st",
              "sa",
              "sn",
              "cs",
              "sc",
              "sl",
              "sg",
              "sk",
              "si",
              "sb",
              "so",
              "za",
              "gs",
              "kr",
              "es",
              "lk",
              "sh",
              "pm",
              "sr",
              "sj",
              "sz",
              "se",
              "ch",
              "tw",
              "tj",
              "tz",
              "th",
              "tg",
              "tk",
              "to",
              "tt",
              "tn",
              "tr",
              "tm",
              "tc",
              "tv",
              "ug",
              "ua",
              "ae",
              "gb",
              "us",
              "um",
              "uy",
              "uz",
              "vu",
              "va",
              "ve",
              "vn",
              "vg",
              "vi",
              "wf",
              "eh",
              "ye",
              "zm",
              "zw"
            ],
            "type": "string",
            "description": "Limit results to a specific country (lowercase ISO; converted to country<UPPER>)."
          },
          "nfpr": {
            "title": "No autocorrect (nfpr)",
            "minimum": 0,
            "maximum": 1,
            "type": "integer",
            "description": "1 to exclude auto-corrected query results, 0 to allow."
          },
          "filter": {
            "title": "Similar/Omitted Results filter",
            "minimum": 0,
            "maximum": 1,
            "type": "integer",
            "description": "1 to enable Similar/Omitted Results filter, 0 to disable."
          },
          "decodeUrls": {
            "title": "Decode URLs",
            "type": "boolean",
            "description": "Resolve Google News redirect URLs to publisher source URLs.",
            "default": false
          },
          "extractDescriptions": {
            "title": "Extract descriptions",
            "type": "boolean",
            "description": "Extract og:description / meta description from publisher pages. Implies decodeUrls.",
            "default": false
          },
          "extractImages": {
            "title": "Extract images",
            "type": "boolean",
            "description": "Include article images. Pulls Google News HD thumbnail by default; falls back to og:image when extractDescriptions is on.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify proxy configuration. Defaults to Residential proxies in US.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 128,
            "type": "integer",
            "description": "Concurrent in-flight requests for decoding and article fetching.",
            "default": 32
          },
          "retryBudgetRss": {
            "title": "RSS retry budget",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Independent retry attempts per RSS feed request.",
            "default": 4
          },
          "retryBudgetDecode": {
            "title": "Decode retry budget",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Independent retry attempts per article-link decode.",
            "default": 3
          },
          "retryBudgetArticle": {
            "title": "Article retry budget",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Independent retry attempts per article HTML fetch.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}