{
  "openapi": "3.0.1",
  "info": {
    "title": "Google News Scraper & Monitor: Real Links, Text, New Only",
    "description": "Get Google News articles by keyword, topic or place with the real publisher link, source, date and related coverage. Add article text, or get only new articles since your last run. Schedule it for news alerts and AI agents. No login.",
    "version": "1.0",
    "x-build-id": "FDYdS3ZBhcmedb3iJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/panix~google-news-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-panix-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/panix~google-news-scraper/runs": {
      "post": {
        "operationId": "runs-sync-panix-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/panix~google-news-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-panix-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": {
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Words, names or phrases to search for, one per line, e.g. tesla or \"interest rates\". Google's search tricks work: OR, a minus sign to exclude, intitle:, site:.",
            "items": {
              "type": "string"
            }
          },
          "topics": {
            "title": "Topics",
            "type": "array",
            "description": "Google News's own headline sections. Top stories is the front page.",
            "items": {
              "type": "string",
              "enum": [
                "TOP",
                "WORLD",
                "NATION",
                "BUSINESS",
                "TECHNOLOGY",
                "ENTERTAINMENT",
                "SPORTS",
                "SCIENCE",
                "HEALTH"
              ],
              "enumTitles": [
                "Top stories",
                "World",
                "Nation (national news)",
                "Business",
                "Technology",
                "Entertainment",
                "Sports",
                "Science",
                "Health"
              ]
            }
          },
          "locations": {
            "title": "Places (local news)",
            "type": "array",
            "description": "Cities or regions for local news, e.g. Austin, London or Karachi.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries (Google News edition)",
            "type": "array",
            "description": "Which country's Google News to read. Each country is its own search, in its main language unless you pick a language below. Empty = United States.",
            "items": {
              "type": "string",
              "enum": [
                "AR",
                "AU",
                "AT",
                "BD",
                "BE",
                "BR",
                "BG",
                "CA",
                "CL",
                "CO",
                "HR",
                "CU",
                "CZ",
                "DK",
                "EG",
                "EE",
                "ET",
                "FI",
                "FR",
                "DE",
                "GH",
                "GR",
                "HK",
                "HU",
                "IN",
                "ID",
                "IE",
                "IL",
                "IT",
                "JP",
                "KE",
                "KW",
                "LV",
                "LT",
                "MY",
                "MX",
                "MA",
                "NL",
                "NZ",
                "NG",
                "NO",
                "PK",
                "PE",
                "PH",
                "PL",
                "PT",
                "QA",
                "RO",
                "RU",
                "SA",
                "RS",
                "SG",
                "SK",
                "SI",
                "ZA",
                "KR",
                "ES",
                "LK",
                "SE",
                "CH",
                "TW",
                "TH",
                "TR",
                "UA",
                "AE",
                "GB",
                "US",
                "VE",
                "VN"
              ],
              "enumTitles": [
                "Argentina (AR)",
                "Australia (AU)",
                "Austria (AT)",
                "Bangladesh (BD)",
                "Belgium (BE)",
                "Brazil (BR)",
                "Bulgaria (BG)",
                "Canada (CA)",
                "Chile (CL)",
                "Colombia (CO)",
                "Croatia (HR)",
                "Cuba (CU)",
                "Czechia (CZ)",
                "Denmark (DK)",
                "Egypt (EG)",
                "Estonia (EE)",
                "Ethiopia (ET)",
                "Finland (FI)",
                "France (FR)",
                "Germany (DE)",
                "Ghana (GH)",
                "Greece (GR)",
                "Hong Kong (HK)",
                "Hungary (HU)",
                "India (IN)",
                "Indonesia (ID)",
                "Ireland (IE)",
                "Israel (IL)",
                "Italy (IT)",
                "Japan (JP)",
                "Kenya (KE)",
                "Kuwait (KW)",
                "Latvia (LV)",
                "Lithuania (LT)",
                "Malaysia (MY)",
                "Mexico (MX)",
                "Morocco (MA)",
                "Netherlands (NL)",
                "New Zealand (NZ)",
                "Nigeria (NG)",
                "Norway (NO)",
                "Pakistan (PK)",
                "Peru (PE)",
                "Philippines (PH)",
                "Poland (PL)",
                "Portugal (PT)",
                "Qatar (QA)",
                "Romania (RO)",
                "Russia (RU)",
                "Saudi Arabia (SA)",
                "Serbia (RS)",
                "Singapore (SG)",
                "Slovakia (SK)",
                "Slovenia (SI)",
                "South Africa (ZA)",
                "South Korea (KR)",
                "Spain (ES)",
                "Sri Lanka (LK)",
                "Sweden (SE)",
                "Switzerland (CH)",
                "Taiwan (TW)",
                "Thailand (TH)",
                "Turkey (TR)",
                "Ukraine (UA)",
                "United Arab Emirates (AE)",
                "United Kingdom (GB)",
                "United States (US)",
                "Venezuela (VE)",
                "Vietnam (VN)"
              ]
            },
            "default": [
              "US"
            ]
          },
          "language": {
            "title": "Language",
            "enum": [
              "auto",
              "en",
              "es",
              "es-419",
              "fr",
              "de",
              "it",
              "pt-BR",
              "pt-PT",
              "nl",
              "sv",
              "no",
              "da",
              "fi",
              "pl",
              "cs",
              "sk",
              "hu",
              "ro",
              "bg",
              "el",
              "sr",
              "hr",
              "sl",
              "lt",
              "lv",
              "et",
              "uk",
              "ru",
              "tr",
              "he",
              "ar",
              "ur",
              "hi",
              "bn",
              "ta",
              "te",
              "mr",
              "ml",
              "id",
              "ms",
              "th",
              "vi",
              "ja",
              "ko",
              "zh-Hans",
              "zh-Hant"
            ],
            "type": "string",
            "description": "Auto uses the main language of each country. Pick one to read another edition, e.g. Urdu for Pakistan or Spanish (Latin America) for the US.",
            "default": "auto"
          },
          "timeframe": {
            "title": "Published within",
            "enum": [
              "any",
              "1h",
              "6h",
              "12h",
              "1d",
              "3d",
              "7d",
              "30d",
              "1y"
            ],
            "type": "string",
            "description": "Only articles from this period. Ignored when a date range is set.",
            "default": "any"
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "Only articles on or after this date: 2026-11-01, or a period such as '3 days'. Needed for historical searches of more than 100 articles."
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Only articles on or before this date (the whole day counts): 2026-11-14. Empty = now."
          },
          "publisherSites": {
            "title": "Only these publishers",
            "type": "array",
            "description": "Keep only articles from these sites, e.g. reuters.com or bbc.com. Works with search queries.",
            "items": {
              "type": "string"
            }
          },
          "excludeSites": {
            "title": "Leave out these publishers",
            "type": "array",
            "description": "Drop articles from these sites, e.g. msn.com. Works with search queries.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Max articles per search",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Google returns about 100 articles per request. Above 100 the Actor splits the dates into days and reads each one, up to 5,000 per search. That needs a date range (the last 30 days if you set none).",
            "default": 100
          },
          "maxResults": {
            "title": "Maximum articles in total",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Stop after this many articles across all searches. Empty = no total limit."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "relevance"
            ],
            "type": "string",
            "description": "Newest first, or Google's own relevance order.",
            "default": "newest"
          },
          "includeRelatedCoverage": {
            "title": "Add related coverage",
            "type": "boolean",
            "description": "When Google groups several outlets under one story, list the other headlines and outlets with each article. Free.",
            "default": true
          },
          "deduplicate": {
            "title": "Remove duplicates across searches",
            "type": "boolean",
            "description": "An article found by two searches is delivered once.",
            "default": true
          },
          "resolveUrls": {
            "title": "Resolve the real article link",
            "type": "boolean",
            "description": "Google News links redirect through Google. This replaces them with the publisher's own address (included in the article price). Switch off for the fastest run.",
            "default": true
          },
          "includeArticleText": {
            "title": "Add the article text",
            "type": "boolean",
            "description": "Open each article and add its text, author, summary, image and word count, ready for AI summaries or search. Reads only what the page shows without a login. Charged only for articles where text was found.",
            "default": false
          },
          "maxTextLength": {
            "title": "Max text length (characters)",
            "minimum": 0,
            "maximum": 200000,
            "type": "integer",
            "description": "Cut the text after this many characters. 0 = full text.",
            "default": 10000
          },
          "onlyNewArticles": {
            "title": "Only new articles (monitoring)",
            "type": "boolean",
            "description": "Remember what each search delivered and return only articles not delivered before. Schedule the run hourly or daily to get a stream of fresh news.",
            "default": false
          },
          "watchlistName": {
            "title": "Watchlist name",
            "type": "string",
            "description": "Keeps separate memories for different monitoring tasks (letters, digits, - and _).",
            "default": "default"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Used only if Google or a publisher refuses the direct connection. Direct requests are free of proxy cost.",
            "default": {
              "useApifyProxy": true
            }
          },
          "alwaysUseProxy": {
            "title": "Always use the proxy",
            "type": "boolean",
            "description": "By default requests go out directly and switch to the proxy only if Google or a publisher refuses them. Switch this on to send every request through the proxy.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many requests run at the same time.",
            "default": 8
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}