{
  "openapi": "3.0.1",
  "info": {
    "title": "Google News Scraper 📰 (search, topics, publisher URLs)",
    "description": "Google News scraper: search any query, topic or place in 50 editions. Headline, publisher, real article URL, publish time, related coverage and optional article text. Date ranges go past Google's 100-story cap per search.",
    "version": "0.1",
    "x-build-id": "GHJAlFeuKIgumWx2e"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tagadanar~google-news-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tagadanar-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/tagadanar~google-news-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tagadanar-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/tagadanar~google-news-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tagadanar-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": "What to search Google News for, one per line. Google's own operators work: \"exact phrase\", OR, -exclude, site:reuters.com, intitle:word. Date operators (when:, after:, before:) are added for you from the date fields below.",
            "items": {
              "type": "string"
            }
          },
          "topics": {
            "title": "Topics (front-page sections)",
            "type": "array",
            "description": "Google News sections to read in the chosen edition. Each section returns the stories Google currently features (about 30-70), with related coverage clustered under each story.",
            "items": {
              "type": "string",
              "enum": [
                "TOP_STORIES",
                "WORLD",
                "NATION",
                "BUSINESS",
                "TECHNOLOGY",
                "ENTERTAINMENT",
                "SPORTS",
                "SCIENCE",
                "HEALTH"
              ],
              "enumTitles": [
                "Top stories",
                "World",
                "Nation (national news of the edition)",
                "Business",
                "Technology",
                "Entertainment",
                "Sports",
                "Science",
                "Health"
              ]
            }
          },
          "places": {
            "title": "Places (local news)",
            "type": "array",
            "description": "City, region or country names for Google News local headlines, one per line, e.g. Paris, Texas, Tokyo.",
            "items": {
              "type": "string"
            }
          },
          "edition": {
            "title": "Google News edition (language and country)",
            "enum": [
              "en-US",
              "en-GB",
              "en-CA",
              "en-AU",
              "en-IN",
              "en-IE",
              "en-NZ",
              "en-ZA",
              "en-SG",
              "en-PH",
              "en-MY",
              "fr-FR",
              "fr-BE",
              "fr-CA",
              "de-DE",
              "de-AT",
              "de-CH",
              "es-ES",
              "es-MX",
              "es-AR",
              "es-CO",
              "es-CL",
              "it-IT",
              "pt-PT",
              "pt-BR",
              "nl-NL",
              "nl-BE",
              "pl-PL",
              "sv-SE",
              "no-NO",
              "da-DK",
              "fi-FI",
              "cs-CZ",
              "hu-HU",
              "ro-RO",
              "el-GR",
              "tr-TR",
              "ru-RU",
              "uk-UA",
              "he-IL",
              "ar-AE",
              "ar-SA",
              "ar-EG",
              "ja-JP",
              "ko-KR",
              "zh-TW",
              "zh-HK",
              "th-TH",
              "vi-VN",
              "id-ID"
            ],
            "type": "string",
            "description": "Which regional Google News to read. Sets the language and the country of the results.",
            "default": "en-US"
          },
          "timeRange": {
            "title": "How recent",
            "enum": [
              "anytime",
              "past-hour",
              "past-24-hours",
              "past-7-days",
              "past-30-days",
              "past-year"
            ],
            "type": "string",
            "description": "Only stories published inside this window. Ignored when you set Published after / before.",
            "default": "past-7-days"
          },
          "publishedAfter": {
            "title": "Published after",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}",
            "type": "string",
            "description": "Only keep stories published on or after this date, e.g. 2026-10-01. With a date range the actor splits the range into day windows to get past Google's 100-story cap per search. Leave empty to use How recent."
          },
          "publishedBefore": {
            "title": "Published before",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}",
            "type": "string",
            "description": "Only keep stories published on or before this date (inclusive), e.g. 2026-10-10. Without Published after, the 90 days before this date are searched."
          },
          "maxArticlesPerQuery": {
            "title": "Max articles per query",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop each query, topic or place after this many articles. Google returns at most 100 per search window; above 100 the actor splits the date range into day windows to go deeper. You only pay for articles delivered.",
            "default": 100
          },
          "resolvePublisherUrl": {
            "title": "Resolve the publisher URL",
            "type": "boolean",
            "description": "Google News links are redirect links. Turn on to decode each one into the publisher's real article URL (a small extra per resolved link). Turn off for the cheapest run: you still get title, publisher, date and the Google News link.",
            "default": true
          },
          "includeArticleText": {
            "title": "Include article text, author and image",
            "type": "boolean",
            "description": "Opens each publisher page and adds the article text, author, lead image and description. Needs the publisher URL. Paywalled, blocked and text-less pages are named in the status and the row, and are NOT charged as text.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}