{
  "openapi": "3.0.1",
  "info": {
    "title": "Google News Scraper | Articles & Full Text",
    "description": "Search Google News across keywords, topics, countries and languages. Resolve publisher links, optionally extract article text and images, and filter or deduplicate results for ongoing news monitoring.",
    "version": "0.1",
    "x-build-id": "M5nbckOKR8D8NdXTW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/peerless_columbine~google-news-scraper-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-peerless_columbine-google-news-scraper-api",
        "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/peerless_columbine~google-news-scraper-api/runs": {
      "post": {
        "operationId": "runs-sync-peerless_columbine-google-news-scraper-api",
        "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/peerless_columbine~google-news-scraper-api/run-sync": {
      "post": {
        "operationId": "run-sync-peerless_columbine-google-news-scraper-api",
        "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": {
          "keyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "Single-query compatibility input."
          },
          "queries": {
            "title": "Search queries",
            "uniqueItems": true,
            "type": "array",
            "description": "One or more queries processed in one run.",
            "items": {
              "type": "string"
            }
          },
          "timeframe": {
            "title": "Timeframe",
            "enum": [
              "1h",
              "1d",
              "1w",
              "1m",
              "1y",
              "7d",
              "30d",
              "all"
            ],
            "type": "string",
            "description": "Compatibility timeframe."
          },
          "region_language": {
            "title": "Region and language",
            "type": "string",
            "description": "Choose a regional edition and language, or enter a custom COUNTRY:language code. Explicit country/language inputs take precedence. Selection requests that edition; it does not translate articles.",
            "default": "US:en"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "BCP-47 language code; overrides region_language language."
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code; overrides region_language country."
          },
          "since": {
            "title": "Only articles since",
            "type": "string",
            "description": "ISO date/timestamp for scheduled incremental monitoring."
          },
          "resolvePublisherUrls": {
            "title": "Resolve publisher URLs",
            "type": "boolean",
            "description": "Resolve Google News article links to direct publisher URLs using Google's public page metadata and decode endpoint."
          },
          "extractFullText": {
            "title": "Extract full article text",
            "type": "boolean",
            "description": "Optional best-effort HTTP-only full-text extraction from publisher pages.",
            "default": false
          },
          "includeImages": {
            "title": "Include article image",
            "type": "boolean",
            "description": "Optional best-effort og:image extraction from publisher pages."
          },
          "deduplicateArticles": {
            "title": "Deduplicate articles",
            "type": "boolean",
            "description": "Deduplicate across queries by resolved publisher URL.",
            "default": true
          },
          "requestDelayMillis": {
            "title": "Request spacing",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Optional delay before each HTTP attempt; zero keeps the fast concurrent path.",
            "default": 0
          },
          "keywords": {
            "title": "Search keywords compatibility",
            "type": "array",
            "description": "Merged with keyword and queries, with duplicate queries removed.",
            "items": {
              "type": "string"
            }
          },
          "decodeUrls": {
            "title": "decodeUrls compatibility",
            "type": "boolean",
            "description": "Alias for resolvePublisherUrls; the explicit primary field takes precedence."
          },
          "extractImages": {
            "title": "extractImages compatibility",
            "type": "boolean",
            "description": "Alias for includeImages; the explicit primary field takes precedence."
          },
          "topics": {
            "title": "News topics",
            "type": "array",
            "description": "WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH. Topic feeds do not support keyword search operators; since still applies.",
            "items": {
              "type": "string"
            }
          },
          "topicUrls": {
            "title": "Google News topic URLs",
            "type": "array",
            "description": "HTTPS news.google.com/topics/ URLs. Locale comes from country/language.",
            "items": {
              "type": "string"
            }
          },
          "extractDescriptions": {
            "title": "Publisher descriptions",
            "type": "boolean",
            "description": "Extract publisher meta descriptions. Unavailable descriptions remain null.",
            "default": false
          },
          "renderMode": {
            "title": "Publisher browser rendering",
            "enum": [
              "off",
              "fallback",
              "always"
            ],
            "type": "string",
            "description": "Fallback renders only when HTTP extraction has no body. Always renders publisher pages. Does not solve login, paywalls or access checks. Enable extractFullText to extract bodies.",
            "default": "off"
          },
          "crawlerbrosInput": {
            "title": "Crawlerbros original input",
            "type": "object",
            "description": "Paste the complete original input object here. Uses saved crawlerbros defaults, including dateRange=any and maxConcurrency=5. Put all settings, including optional native proxy/browser controls, inside this object. Use one envelope only. Unchanged top-level schema defaults are ignored; other outer settings are rejected. Native output and source limits still apply."
          },
          "dataXplorerInput": {
            "title": "Data Xplorer original input",
            "type": "object",
            "description": "Paste the complete original input object here. Uses saved defaults: timeframe=1h, extractImages=true, maxArticles=100, decodeUrls=false, Apify Proxy enabled. Explicit nested values override defaults. Proxy service charges may apply; use nested proxyConfiguration.useApifyProxy=false to disable. Use one envelope only. Unchanged top-level schema defaults are ignored; other outer settings are rejected. Native output and source limits still apply."
          },
          "dateRange": {
            "title": "Date range",
            "enum": [
              "1h",
              "6h",
              "1d",
              "7d",
              "1m",
              "1y",
              "any"
            ],
            "type": "string",
            "description": "Relative recency filter; ignored when dateFrom/dateTo are supplied."
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "YYYY-MM-DD; overrides dateRange when set."
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "YYYY-MM-DD; use with dateFrom."
          },
          "siteFilter": {
            "title": "Site filter",
            "type": "string",
            "description": "Restrict results to a publisher domain such as reuters.com."
          },
          "excludeWords": {
            "title": "Exclude words or phrases",
            "uniqueItems": true,
            "type": "array",
            "description": "Terms excluded from the Google News search query.",
            "items": {
              "type": "string"
            }
          },
          "maxArticles": {
            "title": "Maximum articles",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Compatibility input. 0 uses the 100-item RSS source ceiling per query.",
            "default": 20
          },
          "maxResultsPerQuery": {
            "title": "Max results per query",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Alternative compatibility input; takes precedence over maxArticles."
          },
          "maxItems": {
            "title": "Global maximum output articles",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum saved article rows across all queries in the run.",
            "default": 1000
          },
          "maxRequestRetries": {
            "title": "Request retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Retries for transient HTTP 429, 5xx, timeout, and network failures.",
            "default": 2
          },
          "maxBrowserPages": {
            "title": "Maximum browser pages",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Per-run browser page cap. Rendering is sequential to bound memory; capped or blocked pages remain partial.",
            "default": 5
          },
          "maxConcurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Maximum concurrent source/decode/enrichment requests.",
            "default": 12
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify Proxy or custom HTTP(S) proxy URLs. Routes RSS, Google publisher-link decoding, publisher HTTP and browser requests through one per-run proxy session. Initialization failure stops the run; no silent direct fallback. Proxy usage may incur provider charges."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}