{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Google News Scraper · 5,000 Free Articles/Month",
    "description": "Google News Scraper gets you news articles ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — headlines, search, topics, cities, publishers and full story coverage. 💰 $1 per 1,000 articles, no start fee. Scrape your first 5,000 articles free every month 🚀",
    "version": "0.0",
    "x-build-id": "EmnHHUoVRR4WQgWHb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~google-news-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-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/omkar-cloud~google-news-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-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/omkar-cloud~google-news-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-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 Google News for. Supports \"exact phrases\", -word to exclude and OR. Up to 100 articles per query.",
            "items": {
              "type": "string"
            }
          },
          "includeTopHeadlines": {
            "title": "Include top headlines",
            "type": "boolean",
            "description": "Add the edition's top stories (~70), each with its related coverage from other publishers.",
            "default": false
          },
          "topics": {
            "title": "Topics",
            "type": "array",
            "description": "Topic names (HEADLINES, WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH), topic IDs, or any news.google.com topic link — a link to a section tab (e.g. Technology → Artificial intelligence) scrapes just that tab.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Cities / regions",
            "type": "array",
            "description": "Local news for any city, region or country name, e.g. Beverly Hills, CA or London.",
            "items": {
              "type": "string"
            }
          },
          "publications": {
            "title": "Publishers",
            "type": "array",
            "description": "A publisher's latest articles on Google News: its domain (techcrunch.com), any link on its website, or its news.google.com/publications link.",
            "items": {
              "type": "string"
            }
          },
          "authors": {
            "title": "Journalists",
            "type": "array",
            "description": "A journalist's latest articles: the authors[].id from any row of a previous run, or their news.google.com topic link.",
            "items": {
              "type": "string"
            }
          },
          "stories": {
            "title": "Stories (full coverage)",
            "type": "array",
            "description": "Every article on one story: the story.id from any row of a previous run, or a news.google.com/stories link. Rows carry story_group (Top news, Opinion, All coverage, ...).",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country edition",
            "type": "string",
            "description": "2-letter country code of the Google News edition (US, GB, CA, AU, IN, DE, FR, JP, BR, ...). 90 editions in 72 countries.",
            "default": "US"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "2-letter language code (en, es, fr, de, hi, pt, ...). Leave empty for the country's main language. es picks Latin American Spanish in the US edition."
          },
          "timePublished": {
            "title": "Published within",
            "enum": [
              "anytime",
              "past_hour",
              "past_day",
              "past_week",
              "past_month",
              "past_year"
            ],
            "type": "string",
            "description": "Only search results published within this window.",
            "default": "anytime"
          },
          "fromDate": {
            "title": "Published on or after",
            "type": "string",
            "description": "YYYY-MM-DD, today or earlier."
          },
          "toDate": {
            "title": "Published before",
            "type": "string",
            "description": "YYYY-MM-DD, today or earlier."
          },
          "source": {
            "title": "Only this publisher",
            "type": "string",
            "description": "A publisher domain (reuters.com) or any link on its website."
          },
          "inTitle": {
            "title": "Match in titles only",
            "type": "boolean",
            "description": "Only articles whose title contains the query.",
            "default": false
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "relevance",
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Order of search results.",
            "default": "relevance"
          },
          "resolvePublisherLinks": {
            "title": "Add the publisher's article URL to search results",
            "type": "boolean",
            "description": "Decodes each search result's real article URL.",
            "default": false
          },
          "maxArticlesPerSource": {
            "title": "Articles per input",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Stop each query / topic / city / publisher / journalist / story after this many articles.",
            "default": 100
          },
          "maxResults": {
            "title": "Max articles",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many articles in total — caps the cost of a run.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}