{
  "openapi": "3.0.1",
  "info": {
    "title": "Google News Scraper CHEAP",
    "description": "Google News scraper. Direct article URLs, date filters, regional domains. No browser, no proxies. Fast and reliable. Pay per result. $1.00/1K.",
    "version": "0.1",
    "x-build-id": "sdLHVHScTx0LUoffX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/quintuple_quidnunc~google-news-serp-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-quintuple_quidnunc-google-news-serp-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/quintuple_quidnunc~google-news-serp-api/runs": {
      "post": {
        "operationId": "runs-sync-quintuple_quidnunc-google-news-serp-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/quintuple_quidnunc~google-news-serp-api/run-sync": {
      "post": {
        "operationId": "run-sync-quintuple_quidnunc-google-news-serp-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",
        "required": [
          "keyword"
        ],
        "properties": {
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Search query for Google News results. Max 500 characters.",
            "default": "android"
          },
          "languageCode": {
            "title": "Language code",
            "type": "string",
            "description": "Search language. Two-letter ISO 639-1 code. Common values: en (English), de (German), fr (French), es (Spanish), pt (Portuguese), it (Italian), nl (Dutch), pl (Polish), ru (Russian), ja (Japanese), zh-CN (Chinese Simplified), ar (Arabic). Default: en.",
            "default": "en"
          },
          "locationCode": {
            "title": "Location code",
            "minimum": 1,
            "type": "integer",
            "description": "Numeric country/region code for search localization. Common values: 2840 United States, 2826 United Kingdom, 2276 Germany, 2250 France, 2724 Spain, 2380 Italy, 2076 Brazil, 2356 India, 2392 Japan, 2124 Canada, 2036 Australia. See Supported Locations section in the README. Default: 2840.",
            "default": 2840
          },
          "depth": {
            "title": "Number of results",
            "minimum": 10,
            "maximum": 200,
            "type": "integer",
            "description": "Number of Google News results to retrieve. Billing is per result ($0.00075 per result). Default: 100.",
            "default": 100
          },
          "dateFilter": {
            "title": "Date filter",
            "type": "string",
            "description": "Filter news results by publication date. Presets: past_hour, past_day, past_week, past_month, past_year. For a custom range use ISO format: YYYY-MM-DD:YYYY-MM-DD (e.g. 2024-01-01:2024-01-31). Leave empty for no date filter.",
            "default": ""
          },
          "searchParam": {
            "title": "Search param (advanced)",
            "type": "string",
            "description": "Advanced: pass raw Google URL parameters directly (e.g. 'tbs=qdr:d' for past day, 'safe=active' for SafeSearch). Overrides dateFilter if both are set. Leave empty if not needed.",
            "default": ""
          },
          "seDomain": {
            "title": "Search engine domain",
            "type": "string",
            "description": "Google search engine domain to use. Useful for region-specific results. Examples: google.com (default), google.de (Germany), google.co.uk (UK), google.fr (France), google.es (Spain), google.it (Italy), google.com.br (Brazil), google.co.jp (Japan). Leave empty to use the default for the selected location.",
            "default": ""
          },
          "maxWaitSeconds": {
            "title": "Max wait (seconds)",
            "minimum": 60,
            "maximum": 1800,
            "type": "integer",
            "description": "Maximum time to wait for search results. Minimum 60, maximum 1800 seconds. Default: 600.",
            "default": 600
          },
          "pollIntervalSeconds": {
            "title": "Poll interval (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "How often to check for results. Minimum 5 seconds. Default: 10.",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}