{
  "openapi": "3.0.1",
  "info": {
    "title": "Google News Scraper - Keywords, Topics & Publisher URLs",
    "description": "Scrape Google News by keyword, topic, local area or top headlines in 85 country editions. Get title, publisher, date, the real publisher URL (decoded) and related coverage. Date slicing collects more than Google's 100-result limit.",
    "version": "0.1",
    "x-build-id": "51nH4NRcepdr5bImw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nexuscortex~google-news-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nexuscortex-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/nexuscortex~google-news-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nexuscortex-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/nexuscortex~google-news-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nexuscortex-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": {
          "queries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords to search on Google News. Google News search operators work: `\"exact phrase\"`, `OR`, `-exclude`, `site:reuters.com`, `intitle:`, `when:7d`, `after:2026-01-01`, `before:2026-02-01`.",
            "items": {
              "type": "string"
            }
          },
          "topics": {
            "title": "Topics",
            "type": "array",
            "description": "Google News topic sections. Each topic returns its current stories (about 60 to 70) per edition.",
            "items": {
              "type": "string",
              "enum": [
                "WORLD",
                "NATION",
                "BUSINESS",
                "TECHNOLOGY",
                "ENTERTAINMENT",
                "SPORTS",
                "SCIENCE",
                "HEALTH"
              ],
              "enumTitles": [
                "World",
                "Nation",
                "Business",
                "Technology",
                "Entertainment",
                "Sports",
                "Science",
                "Health"
              ]
            }
          },
          "locations": {
            "title": "Local news (cities or regions)",
            "type": "array",
            "description": "Places for local news, e.g. `Seattle`, `London`, `Bavaria`. Uses the Google News local section.",
            "items": {
              "type": "string"
            }
          },
          "topHeadlines": {
            "title": "Top headlines",
            "type": "boolean",
            "description": "Also scrape the \"Top stories\" front page of each edition.",
            "default": false
          },
          "feedUrls": {
            "title": "Google News URLs",
            "type": "array",
            "description": "Google News pages to scrape: topic pages (`https://news.google.com/topics/CAAq...`), search pages (`https://news.google.com/search?q=...`), local or section pages, or Google News RSS URLs. The `ceid` in the URL picks the edition.",
            "items": {
              "type": "string"
            }
          },
          "editions": {
            "title": "Country and language editions",
            "type": "array",
            "description": "Google News editions to scrape. Each query, topic and location runs once per edition. Default: United States - English.",
            "items": {
              "type": "string",
              "enum": [
                "US:en",
                "US:es-419",
                "GB:en",
                "CA:en",
                "CA:fr",
                "AU:en",
                "NZ:en",
                "IE:en",
                "IN:en",
                "IN:hi",
                "IN:bn",
                "IN:mr",
                "IN:ta",
                "IN:te",
                "IN:ml",
                "IN:gu",
                "SG:en",
                "MY:en",
                "MY:ms",
                "PH:en",
                "PK:en",
                "BD:bn",
                "ID:id",
                "ID:en",
                "TH:th",
                "VN:vi",
                "JP:ja",
                "KR:ko",
                "CN:zh-Hans",
                "TW:zh-Hant",
                "HK:zh-Hant",
                "ZA:en",
                "NG:en",
                "KE:en",
                "GH:en",
                "UG:en",
                "TZ:en",
                "ET:en",
                "ZW:en",
                "NA:en",
                "BW:en",
                "IL:en",
                "IL:he",
                "AE:ar",
                "SA:ar",
                "EG:ar",
                "LB:ar",
                "MA:fr",
                "SN:fr",
                "DE:de",
                "AT:de",
                "CH:de",
                "CH:fr",
                "FR:fr",
                "BE:fr",
                "BE:nl",
                "NL:nl",
                "IT:it",
                "ES:es",
                "PT:pt-150",
                "BR:pt-419",
                "MX:es-419",
                "AR:es-419",
                "CL:es-419",
                "CO:es-419",
                "PE:es-419",
                "VE:es-419",
                "CU:es-419",
                "PL:pl",
                "CZ:cs",
                "SK:sk",
                "HU:hu",
                "RO:ro",
                "BG:bg",
                "GR:el",
                "RS:sr",
                "SI:sl",
                "LV:lv",
                "LT:lt",
                "SE:sv",
                "NO:no",
                "TR:tr",
                "UA:uk",
                "UA:ru",
                "RU:ru"
              ],
              "enumTitles": [
                "United States - English (US:en)",
                "United States - Spanish (Latin America) (US:es-419)",
                "United Kingdom - English (GB:en)",
                "Canada - English (CA:en)",
                "Canada - French (CA:fr)",
                "Australia - English (AU:en)",
                "New Zealand - English (NZ:en)",
                "Ireland - English (IE:en)",
                "India - English (IN:en)",
                "India - Hindi (IN:hi)",
                "India - Bangla (IN:bn)",
                "India - Marathi (IN:mr)",
                "India - Tamil (IN:ta)",
                "India - Telugu (IN:te)",
                "India - Malayalam (IN:ml)",
                "India - Gujarati (IN:gu)",
                "Singapore - English (SG:en)",
                "Malaysia - English (MY:en)",
                "Malaysia - Malay (MY:ms)",
                "Philippines - English (PH:en)",
                "Pakistan - English (PK:en)",
                "Bangladesh - Bangla (BD:bn)",
                "Indonesia - Indonesian (ID:id)",
                "Indonesia - English (ID:en)",
                "Thailand - Thai (TH:th)",
                "Vietnam - Vietnamese (VN:vi)",
                "Japan - Japanese (JP:ja)",
                "South Korea - Korean (KR:ko)",
                "China - Chinese, Simplified (CN:zh-Hans)",
                "Taiwan - Chinese, Traditional (TW:zh-Hant)",
                "Hong Kong SAR China - Chinese, Traditional (HK:zh-Hant)",
                "South Africa - English (ZA:en)",
                "Nigeria - English (NG:en)",
                "Kenya - English (KE:en)",
                "Ghana - English (GH:en)",
                "Uganda - English (UG:en)",
                "Tanzania - English (TZ:en)",
                "Ethiopia - English (ET:en)",
                "Zimbabwe - English (ZW:en)",
                "Namibia - English (NA:en)",
                "Botswana - English (BW:en)",
                "Israel - English (IL:en)",
                "Israel - Hebrew (IL:he)",
                "United Arab Emirates - Arabic (AE:ar)",
                "Saudi Arabia - Arabic (SA:ar)",
                "Egypt - Arabic (EG:ar)",
                "Lebanon - Arabic (LB:ar)",
                "Morocco - French (MA:fr)",
                "Senegal - French (SN:fr)",
                "Germany - German (DE:de)",
                "Austria - German (AT:de)",
                "Switzerland - German (CH:de)",
                "Switzerland - French (CH:fr)",
                "France - French (FR:fr)",
                "Belgium - French (BE:fr)",
                "Belgium - Dutch (BE:nl)",
                "Netherlands - Dutch (NL:nl)",
                "Italy - Italian (IT:it)",
                "Spain - Spanish (ES:es)",
                "Portugal - Portuguese (Portugal) (PT:pt-150)",
                "Brazil - Portuguese (Brazil) (BR:pt-419)",
                "Mexico - Spanish (Latin America) (MX:es-419)",
                "Argentina - Spanish (Latin America) (AR:es-419)",
                "Chile - Spanish (Latin America) (CL:es-419)",
                "Colombia - Spanish (Latin America) (CO:es-419)",
                "Peru - Spanish (Latin America) (PE:es-419)",
                "Venezuela - Spanish (Latin America) (VE:es-419)",
                "Cuba - Spanish (Latin America) (CU:es-419)",
                "Poland - Polish (PL:pl)",
                "Czechia - Czech (CZ:cs)",
                "Slovakia - Slovak (SK:sk)",
                "Hungary - Hungarian (HU:hu)",
                "Romania - Romanian (RO:ro)",
                "Bulgaria - Bulgarian (BG:bg)",
                "Greece - Greek (GR:el)",
                "Serbia - Serbian (RS:sr)",
                "Slovenia - Slovenian (SI:sl)",
                "Latvia - Latvian (LV:lv)",
                "Lithuania - Lithuanian (LT:lt)",
                "Sweden - Swedish (SE:sv)",
                "Norway - Norwegian (NO:no)",
                "Türkiye - Turkish (TR:tr)",
                "Ukraine - Ukrainian (UA:uk)",
                "Ukraine - Russian (UA:ru)",
                "Russia - Russian (RU:ru)"
              ]
            },
            "default": [
              "US:en"
            ]
          },
          "newerThan": {
            "title": "Published after",
            "type": "string",
            "description": "Only articles published after this date or within this period, e.g. `2026-10-01`, `24 hours`, `7 days`, `3 months`."
          },
          "olderThan": {
            "title": "Published before",
            "type": "string",
            "description": "Only articles published before this date, e.g. `2026-11-01`. Combine with \"Published after\" to scrape a date range."
          },
          "maxItemsPerFeed": {
            "title": "Maximum articles per query, topic or location",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "A single Google News search returns at most about 100 articles. Above 100, the Actor splits search queries into day-by-day date windows (newest first) to collect more; without \"Published after\" it goes back up to 12 months.",
            "default": 100
          },
          "maxItems": {
            "title": "Maximum articles (total)",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Hard cap on the number of articles saved and charged in this run.",
            "default": 50
          },
          "decodeUrls": {
            "title": "Resolve publisher URLs",
            "type": "boolean",
            "description": "Turn Google News redirect links (`news.google.com/rss/articles/CBMi...`) into the real publisher article URL. Included in the price.",
            "default": true
          },
          "fetchArticleDetails": {
            "title": "Add description, image and author",
            "type": "boolean",
            "description": "Open each publisher page and read its metadata (description, main image, author, site name). Slower; requires \"Resolve publisher URLs\". Included in the price.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy spreads requests across IP addresses. The default datacenter proxy works for Google News.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}