{
  "openapi": "3.0.1",
  "info": {
    "title": "Google News Scraper: Articles, Real URLs & Full Text",
    "description": "Scrape Google News by keyword, topic, country and date range without login or API key. Get headlines, sources, dates and real publisher URLs, past the 100-article limit, with optional full article text as Markdown.",
    "version": "0.1",
    "x-build-id": "xc1MxIZZvkSK9g2My"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/smoldesk~google-news-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-smoldesk-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/smoldesk~google-news-scraper/runs": {
      "post": {
        "operationId": "runs-sync-smoldesk-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/smoldesk~google-news-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-smoldesk-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": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords to search on Google News, one per line. Google operators work: \"exact phrase\", OR, -exclude, site:reuters.com, intitle:word.",
            "items": {
              "type": "string"
            }
          },
          "topics": {
            "title": "Topic feeds",
            "type": "array",
            "description": "Google News section feeds (top stories, business, technology...) for each edition. Leave empty to only search keywords.",
            "items": {
              "type": "string",
              "enum": [
                "TOP_STORIES",
                "WORLD",
                "NATION",
                "BUSINESS",
                "TECHNOLOGY",
                "ENTERTAINMENT",
                "SPORTS",
                "SCIENCE",
                "HEALTH"
              ],
              "enumTitles": [
                "Top stories",
                "World",
                "Nation (the edition's country)",
                "Business",
                "Technology",
                "Entertainment",
                "Sports",
                "Science",
                "Health"
              ]
            }
          },
          "googleNewsUrls": {
            "title": "Google News URLs (topics, sections, publications)",
            "type": "array",
            "description": "Paste any Google News page: a topic (news.google.com/topics/...), a section inside a topic (.../topics/.../sections/..., e.g. Technology > Artificial intelligence or local news for a city), a publication (news.google.com/publications/...) or a search page. The edition in the URL (hl/gl/ceid) is kept.",
            "items": {
              "type": "string"
            }
          },
          "editions": {
            "title": "Countries / languages",
            "type": "array",
            "description": "Google News editions to read. Each keyword and topic runs in every edition you pick. Default: United States (English).",
            "items": {
              "type": "string",
              "enum": [
                "AR:es-419",
                "AU:en",
                "AT:de",
                "BD:bn",
                "BE:fr",
                "BE:nl",
                "BW:en",
                "BR:pt-419",
                "BG:bg",
                "CA:en",
                "CA:fr",
                "CL:es-419",
                "CN:zh-Hans",
                "CO:es-419",
                "CU:es-419",
                "CZ:cs",
                "EG:ar",
                "ET:en",
                "FR:fr",
                "DE:de",
                "GH:en",
                "GR:el",
                "HK:zh-Hant",
                "HU:hu",
                "IN:bn",
                "IN:en",
                "IN:hi",
                "IN:ml",
                "IN:mr",
                "IN:ta",
                "IN:te",
                "ID:id",
                "IE:en",
                "IL:en",
                "IL:he",
                "IT:it",
                "JP:ja",
                "KE:en",
                "LV:lv",
                "LV:ru",
                "LB:ar",
                "LT:lt",
                "MY:en",
                "MY:ms",
                "MX:es-419",
                "MA:fr",
                "NA:en",
                "NL:nl",
                "NZ:en",
                "NG:en",
                "NO:no",
                "PK:en",
                "PE:es-419",
                "PH:en",
                "PL:pl",
                "PT:pt-150",
                "RO:ro",
                "RU:ru",
                "SA:ar",
                "SN:fr",
                "RS:sr",
                "SG:en",
                "SK:sk",
                "SI:sl",
                "ZA:en",
                "KR:ko",
                "ES:es",
                "SE:sv",
                "CH:de",
                "CH:fr",
                "TW:zh-Hant",
                "TZ:en",
                "TH:th",
                "TR:tr",
                "UG:en",
                "UA:ru",
                "UA:uk",
                "AE:ar",
                "GB:en",
                "US:en",
                "US:es-419",
                "VE:es-419",
                "VN:vi",
                "ZW:en"
              ],
              "enumTitles": [
                "Argentina (Spanish (Latin America))",
                "Australia (English)",
                "Austria (German)",
                "Bangladesh (Bengali)",
                "Belgium (French)",
                "Belgium (Dutch)",
                "Botswana (English)",
                "Brazil (Portuguese (Brazil))",
                "Bulgaria (Bulgarian)",
                "Canada (English)",
                "Canada (French)",
                "Chile (Spanish (Latin America))",
                "China (Chinese (Simplified))",
                "Colombia (Spanish (Latin America))",
                "Cuba (Spanish (Latin America))",
                "Czechia (Czech)",
                "Egypt (Arabic)",
                "Ethiopia (English)",
                "France (French)",
                "Germany (German)",
                "Ghana (English)",
                "Greece (Greek)",
                "Hong Kong (Chinese (Traditional))",
                "Hungary (Hungarian)",
                "India (Bengali)",
                "India (English)",
                "India (Hindi)",
                "India (Malayalam)",
                "India (Marathi)",
                "India (Tamil)",
                "India (Telugu)",
                "Indonesia (Indonesian)",
                "Ireland (English)",
                "Israel (English)",
                "Israel (Hebrew)",
                "Italy (Italian)",
                "Japan (Japanese)",
                "Kenya (English)",
                "Latvia (Latvian)",
                "Latvia (Russian)",
                "Lebanon (Arabic)",
                "Lithuania (Lithuanian)",
                "Malaysia (English)",
                "Malaysia (Malay)",
                "Mexico (Spanish (Latin America))",
                "Morocco (French)",
                "Namibia (English)",
                "Netherlands (Dutch)",
                "New Zealand (English)",
                "Nigeria (English)",
                "Norway (Norwegian)",
                "Pakistan (English)",
                "Peru (Spanish (Latin America))",
                "Philippines (English)",
                "Poland (Polish)",
                "Portugal (Portuguese (Portugal))",
                "Romania (Romanian)",
                "Russia (Russian)",
                "Saudi Arabia (Arabic)",
                "Senegal (French)",
                "Serbia (Serbian)",
                "Singapore (English)",
                "Slovakia (Slovak)",
                "Slovenia (Slovenian)",
                "South Africa (English)",
                "South Korea (Korean)",
                "Spain (Spanish)",
                "Sweden (Swedish)",
                "Switzerland (German)",
                "Switzerland (French)",
                "Taiwan (Chinese (Traditional))",
                "Tanzania (English)",
                "Thailand (Thai)",
                "Turkey (Turkish)",
                "Uganda (English)",
                "Ukraine (Russian)",
                "Ukraine (Ukrainian)",
                "United Arab Emirates (Arabic)",
                "United Kingdom (English)",
                "United States (English)",
                "United States (Spanish (Latin America))",
                "Venezuela (Spanish (Latin America))",
                "Vietnam (Vietnamese)",
                "Zimbabwe (English)"
              ]
            }
          },
          "maxArticlesPerQuery": {
            "title": "Max articles per keyword (per edition)",
            "minimum": 0,
            "type": "integer",
            "description": "Google News returns about 100 articles per request. Ask for more and the scraper walks back one day at a time to get past that limit. 0 = no limit.",
            "default": 100
          },
          "timeRange": {
            "title": "Published within",
            "enum": [
              "any",
              "1h",
              "1d",
              "7d",
              "30d",
              "1y"
            ],
            "type": "string",
            "description": "Only articles from the last hour, day, week, month or year. Ignored when you set a date range below.",
            "default": "any"
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "Only articles published on or after this day (YYYY-MM-DD, or relative like '7 days')."
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "Only articles published on or before this day (YYYY-MM-DD, or relative). Leave empty for today."
          },
          "maxDaysBack": {
            "title": "Days to walk back (when no date range)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "When you ask for more than ~100 articles without a date range, how many days back the day-by-day walk goes.",
            "default": 30
          },
          "resolveUrls": {
            "title": "Real publisher URLs",
            "type": "boolean",
            "description": "Turn Google News redirect links (news.google.com/rss/articles/...) into the real article URL on the publisher's site. Included in the article price.",
            "default": true
          },
          "includeFullText": {
            "title": "Full article text (add-on)",
            "type": "boolean",
            "description": "Open each article on the publisher's site and extract the main text as plain text and Markdown, plus author, image and keywords. Sites that refuse datacenter IPs are retried once from a residential IP at no extra cost. Charged only for articles where text was found (hard paywalls and sites that need a login, captcha or browser check are skipped, never bypassed).",
            "default": false
          },
          "includeRelated": {
            "title": "Related coverage",
            "type": "boolean",
            "description": "Keep the cluster of other outlets covering the same story (mostly in topic feeds).",
            "default": true
          },
          "onlyNewArticles": {
            "title": "Only new articles (for scheduled runs)",
            "type": "boolean",
            "description": "Skip articles already saved by earlier runs with the same keyword/topic and edition. Use it with a schedule to get a feed of new stories only.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel feeds",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many keyword/topic feeds are read at the same time.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed. The scraper uses the run's own IP and switches to Apify datacenter proxies by itself if Google throttles it."
          },
          "compact": {
            "title": "Compact output (for AI agents)",
            "type": "boolean",
            "description": "Short rows with the main fields only (no related coverage, no empty values; the Markdown text stays when full text is on). Handy when an AI agent reads the results.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}