{
  "openapi": "3.0.1",
  "info": {
    "title": "Google News Search — From $0.35/1K — Headlines & Publishers",
    "description": "Search public Google News RSS by keyword and locale. Export deduplicated headlines, publisher metadata, dates and Google News links with bounded coverage and source diagnostics.",
    "version": "0.5",
    "x-build-id": "WrB4a62itT14HBNKU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apivault_labs~google-news-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apivault_labs-google-news-search",
        "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/apivault_labs~google-news-search/runs": {
      "post": {
        "operationId": "runs-sync-apivault_labs-google-news-search",
        "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/apivault_labs~google-news-search/run-sync": {
      "post": {
        "operationId": "run-sync-apivault_labs-google-news-search",
        "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": {
          "mode": {
            "title": "What do you want to collect?",
            "enum": [
              "search",
              "topics"
            ],
            "type": "string",
            "description": "Search uses your phrases. Browse categories reads the real category feeds and ignores search phrases.",
            "default": "search"
          },
          "queries": {
            "title": "Search phrases (keyword mode only)",
            "minItems": 0,
            "maxItems": 20,
            "type": "array",
            "description": "For keyword search: enter 1–20 phrases, one per line. Ignored in Browse categories mode. Search operators follow Google; they are not a matching guarantee.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 300
            }
          },
          "maxResults": {
            "title": "How many articles do you need?",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Total unique articles for this run, not per query. Start with 5; article events cost at most $0.0025 at the listed rates, plus platform usage. Later queries may be skipped when the total cap is reached.",
            "default": 5
          },
          "topics": {
            "title": "News categories",
            "minItems": 1,
            "maxItems": 8,
            "type": "array",
            "description": "Used only in Browse categories mode. These are real Google News topic feeds, not keyword searches.",
            "items": {
              "type": "string",
              "enum": [
                "WORLD",
                "NATION",
                "BUSINESS",
                "TECHNOLOGY",
                "ENTERTAINMENT",
                "SPORTS",
                "SCIENCE",
                "HEALTH"
              ],
              "enumTitles": [
                "World",
                "Nation",
                "Business",
                "Technology",
                "Entertainment",
                "Sports",
                "Science",
                "Health"
              ]
            },
            "default": [
              "TECHNOLOGY"
            ]
          },
          "language": {
            "title": "News language",
            "pattern": "^[a-z]{2,3}(-[A-Za-z]{2,8})?$",
            "type": "string",
            "description": "Requested Google News language, for example en, fr or zh-Hans. This is a locale request, not language detection on each article. Unsupported source combinations can return empty or fail.",
            "default": "en"
          },
          "country": {
            "title": "Country edition",
            "pattern": "^[A-Z]{2}$",
            "type": "string",
            "description": "Uppercase two-letter country edition, e.g. US, GB, FR. Does not prove that each publisher or event is located in that country.",
            "default": "US"
          },
          "timeRange": {
            "title": "How recent should the news be?",
            "enum": [
              "any",
              "24h",
              "7d",
              "30d"
            ],
            "type": "string",
            "description": "Requests a recent feed and checks publication timestamps locally. This is a rolling UTC window ending at run start, not a complete archive. Exact date filters intersect this range; use Any date for historical dates.",
            "default": "any"
          },
          "sortBy": {
            "title": "Article order",
            "enum": [
              "relevance",
              "newest"
            ],
            "type": "string",
            "description": "Newest first sorts each returned feed before its cap and then sorts the selected rows across queries. Queries are still processed in order; this is not a global ranking or an exhaustive archive. Unknown dates go last.",
            "default": "relevance"
          },
          "resolvePublisherUrls": {
            "title": "Get direct publisher article links",
            "type": "boolean",
            "description": "Optional extra network work for the first maxEnrichedArticles rows. Unresolved URLs stay null with an explicit status. No extra actor event; platform usage increases.",
            "default": false
          },
          "includeFullText": {
            "title": "Extract article text",
            "type": "boolean",
            "description": "Also enables direct-link resolution. Attempts main-text extraction from public publisher HTML; no paywall bypass. Check fullTextStatus and enrichmentWarnings; success and full original length are not guaranteed.",
            "default": false
          },
          "maxEnrichedArticles": {
            "title": "Maximum articles to resolve or read",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Limits optional URL/text work to the first selected output rows, independently of maxResults. Remaining rows report skipped_limit.",
            "default": 5
          },
          "maxTextCharacters": {
            "title": "Maximum text characters per article",
            "minimum": 1000,
            "maximum": 100000,
            "type": "integer",
            "description": "Limits saved main text. fullTextTruncated identifies clipping. It does not measure the original article length.",
            "default": 20000
          },
          "searchMode": {
            "title": "Search coverage",
            "enum": [
              "snapshot",
              "daily"
            ],
            "type": "string",
            "description": "Daily is for keyword searches only. Reads separate date-restricted feeds, deduplicates rows and applies exact UTC windows. It is not an exhaustive archive.",
            "default": "snapshot"
          },
          "daysBack": {
            "title": "Days to search when exact start is unset",
            "minimum": 1,
            "maximum": 31,
            "type": "integer",
            "description": "Daily mode only. Counts back from publishedBefore or now. Explicit publishedAfter replaces this start; relative timeRange intersects the dates. At most 31 elapsed days, possibly 32 partial calendar windows.",
            "default": 7
          },
          "maxFeedRequests": {
            "title": "Maximum RSS feed requests",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Global cap on feed fetches, excluding retries and optional article requests. Unattempted windows/queries appear in SUMMARY.feeds. Use a suitable overall run timeout.",
            "default": 20
          },
          "publishedAfter": {
            "title": "Published at or after (UTC)",
            "type": "string",
            "description": "Optional ISO date or datetime, inclusive. A date without a time means UTC midnight. Items with missing/unparseable publication dates cannot satisfy an active date filter.",
            "default": ""
          },
          "publishedBefore": {
            "title": "Published before (UTC)",
            "type": "string",
            "description": "Optional ISO date or datetime, exclusive. Use the following day's midnight to include the whole preceding day. Must be later than publishedAfter.",
            "default": ""
          },
          "maxArticlesPerQuery": {
            "title": "Maximum matching articles per query",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum matching candidates per query across all its feeds, before deduplication; 1–1000. Each RSS feed remains bounded to about 100 entries.",
            "default": 100
          },
          "timeout": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 45,
            "type": "integer",
            "description": "Per-feed request timeout; set the overall Actor runtime and spend cap separately in Console or your client.",
            "default": 20
          },
          "maxRetries": {
            "title": "Retries after the initial request",
            "minimum": 0,
            "maximum": 2,
            "type": "integer",
            "description": "0 disables retries. At most two extra attempts for 429, selected 5xx and network errors, with bounded backoff. Other HTTP failures stop that feed.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}