Google News Scraper avatar

Google News Scraper

Try for free

This Actor is paid per event

Go to Store
Google News Scraper

Google News Scraper

dan.scraper/google-news-scraper
Try for free

This Actor is paid per event

This actor extracts news articles from Google News. It can extract articles from a specific topics like 'World', 'Nation', 'Business', 'Technology', 'Entertainment'. Also extract articles from a specific news source like 'CNN', 'BBC', 'TechCrunch'. Scrape all elements from Google News page.

You can access the Google News Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "GeqIo1XjQKh8RJQup"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/dan.scraper~google-news-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-dan.scraper-google-news-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/dan.scraper~google-news-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-dan.scraper-google-news-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/dan.scraper~google-news-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-dan.scraper-google-news-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "queries"
135        ],
136        "properties": {
137          "queries": {
138            "title": "Search Queries",
139            "type": "array",
140            "description": "List of Google News search query",
141            "default": [
142              "Nvidia",
143              "Elon Musk"
144            ],
145            "items": {
146              "type": "string"
147            }
148          },
149          "countryCode": {
150            "title": "Country",
151            "enum": [
152              "",
153              "af",
154              "al",
155              "dz",
156              "as",
157              "ad",
158              "ao",
159              "ai",
160              "aq",
161              "ag",
162              "ar",
163              "am",
164              "aw",
165              "au",
166              "at",
167              "az",
168              "bs",
169              "bh",
170              "bd",
171              "bb",
172              "by",
173              "be",
174              "bz",
175              "bj",
176              "bm",
177              "bt",
178              "bo",
179              "ba",
180              "bw",
181              "bv",
182              "br",
183              "io",
184              "bn",
185              "bg",
186              "bf",
187              "bi",
188              "kh",
189              "cm",
190              "ca",
191              "cv",
192              "ky",
193              "cf",
194              "td",
195              "cl",
196              "cn",
197              "cx",
198              "cc",
199              "co",
200              "km",
201              "cg",
202              "cd",
203              "ck",
204              "cr",
205              "ci",
206              "hr",
207              "cu",
208              "cy",
209              "cz",
210              "dk",
211              "dj",
212              "dm",
213              "do",
214              "ec",
215              "eg",
216              "sv",
217              "gq",
218              "er",
219              "ee",
220              "et",
221              "fk",
222              "fo",
223              "fj",
224              "fi",
225              "fr",
226              "gf",
227              "pf",
228              "tf",
229              "ga",
230              "gm",
231              "ge",
232              "de",
233              "gh",
234              "gi",
235              "gr",
236              "gl",
237              "gd",
238              "gp",
239              "gu",
240              "gt",
241              "gn",
242              "gw",
243              "gy",
244              "ht",
245              "hm",
246              "va",
247              "hn",
248              "hk",
249              "hu",
250              "is",
251              "in",
252              "id",
253              "ir",
254              "iq",
255              "ie",
256              "il",
257              "it",
258              "jm",
259              "jp",
260              "jo",
261              "kz",
262              "ke",
263              "ki",
264              "kp",
265              "kr",
266              "kw",
267              "kg",
268              "la",
269              "lv",
270              "lb",
271              "ls",
272              "lr",
273              "ly",
274              "li",
275              "lt",
276              "lu",
277              "mo",
278              "mk",
279              "mg",
280              "mw",
281              "my",
282              "mv",
283              "ml",
284              "mt",
285              "mh",
286              "mq",
287              "mr",
288              "mu",
289              "yt",
290              "mx",
291              "fm",
292              "md",
293              "mc",
294              "mn",
295              "ms",
296              "ma",
297              "mz",
298              "mm",
299              "na",
300              "nr",
301              "np",
302              "nl",
303              "an",
304              "nc",
305              "nz",
306              "ni",
307              "ne",
308              "ng",
309              "nu",
310              "nf",
311              "mp",
312              "no",
313              "om",
314              "pk",
315              "pw",
316              "ps",
317              "pa",
318              "pg",
319              "py",
320              "pe",
321              "ph",
322              "pn",
323              "pl",
324              "pt",
325              "pr",
326              "qa",
327              "re",
328              "ro",
329              "ru",
330              "rw",
331              "sh",
332              "kn",
333              "lc",
334              "pm",
335              "vc",
336              "ws",
337              "sm",
338              "st",
339              "sa",
340              "sn",
341              "cs",
342              "sc",
343              "sl",
344              "sg",
345              "sk",
346              "si",
347              "sb",
348              "so",
349              "za",
350              "gs",
351              "es",
352              "lk",
353              "sd",
354              "sr",
355              "sj",
356              "sz",
357              "se",
358              "ch",
359              "sy",
360              "tw",
361              "tj",
362              "tz",
363              "th",
364              "tl",
365              "tg",
366              "tk",
367              "to",
368              "tt",
369              "tn",
370              "tr",
371              "tm",
372              "tc",
373              "tv",
374              "ug",
375              "ua",
376              "ae",
377              "gb",
378              "us",
379              "um",
380              "uy",
381              "uz",
382              "vu",
383              "ve",
384              "vn",
385              "vg",
386              "vi",
387              "wf",
388              "eh",
389              "ye",
390              "zm",
391              "zw"
392            ],
393            "type": "string",
394            "description": "This param is for the Country (e.g. <code>es</code> for Spain). The values must be lower-cased <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\" target=\"_blank\">ISO 3166</a> country codes supported by Google. By default, the actor uses United States (<code>us</code>).<br><br><b>Notice</b>: To get Google Shopping results from a location, please use UULE code. If you choose <code>countryCode</code> as <code>es</code> without setting <code>locationUule</code>, you will get the results from United States(default search location). To get results from Spain, you need to set <code>locationUule</code> to <code>w+CAIQICIFU3BhaW4=</code>"
395          },
396          "languageCode": {
397            "title": "Language",
398            "enum": [
399              "",
400              "af",
401              "sq",
402              "sm",
403              "ar",
404              "az",
405              "eu",
406              "be",
407              "bn",
408              "bh",
409              "bs",
410              "bg",
411              "ca",
412              "zh-CN",
413              "zh-TW",
414              "hr",
415              "cs",
416              "da",
417              "nl",
418              "en",
419              "eo",
420              "et",
421              "fo",
422              "fi",
423              "fr",
424              "fy",
425              "gl",
426              "ka",
427              "de",
428              "el",
429              "gu",
430              "iw",
431              "hi",
432              "hu",
433              "is",
434              "id",
435              "ia",
436              "ga",
437              "it",
438              "ja",
439              "jw",
440              "kn",
441              "ko",
442              "la",
443              "lv",
444              "lt",
445              "mk",
446              "ms",
447              "ml",
448              "mt",
449              "mr",
450              "ne",
451              "no",
452              "nn",
453              "oc",
454              "fa",
455              "pl",
456              "pt-BR",
457              "pt-PT",
458              "pa",
459              "ro",
460              "ru",
461              "gd",
462              "sr",
463              "si",
464              "sk",
465              "sl",
466              "es",
467              "su",
468              "sw",
469              "sv",
470              "tl",
471              "ta",
472              "te",
473              "th",
474              "ti",
475              "tr",
476              "uk",
477              "ur",
478              "uz",
479              "vi",
480              "cy",
481              "xh",
482              "zu"
483            ],
484            "type": "string",
485            "description": "Language for the search results, which is passed to Google Search as the <code>hl</code> URL query parameter. Only set this if you want to use a non-default language for the selected country. The values must be lower-cased <a href=\"https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\" target=\"_blank\">ISO 639</a> language codes supported by Google.",
486            "default": ""
487          },
488          "topicId": {
489            "title": "Topic ID",
490            "type": "string",
491            "description": "Specify Topic likes Sports, Business, Technology etc. We return topicId in the each response or you can find it in the URL of Google News. If Google News URL is <code>https://news.google.com/topics/CAAqIggKIhxDQkFTRHdvSkwyMHZNRGxqTjNjd0VnSmxiaWdBUAE?hl=en-US&gl=US&ceid=US%3Aen</code>, topicId is <code>CAAqIggKIhxDQkFTRHdvSkwyMHZNRGxqTjNjd0VnSmxiaWdBUAE</code>"
492          },
493          "publicationId": {
494            "title": "Publication ID",
495            "type": "string",
496            "description": "Specify Publication likes The New York Time, CNBC, CNN etc. We return publicationId in the each response or you can find it in the URL of Google News. If Google News URL is <code>https://news.google.com/publications/CAAqBwgKMNjW9wow4r3XAg?hl=en-US&gl=US&ceid=US%3Aen</code>, publicationId is <code>CAAqBwgKMNjW9wow4r3XAg</code>"
497          },
498          "sectionId": {
499            "title": "Section ID",
500            "type": "string",
501            "description": "Specify Section ID. Each Topic has multiple sections likes 'Technology -> Artificial Intelligence', 'Technology -> Mobile', etc. We return sectionId in the each response or you can find it in the URL of Google News. If Google News URL is <code>https://news.google.com/topics/CAAqJggKIiBDQkFTRWdvSUwyMHZNRGRqTVhZU0FtVnVHZ0pWVXlnQVAB/sections/CAQiQ0NCQVNMQW9JTDIwdk1EZGpNWFlTQW1WdUdnSlZVeUlOQ0FRYUNRb0hMMjB2TUcxcmVpb0pFZ2N2YlM4d2JXdDZLQUEqKggAKiYICiIgQ0JBU0Vnb0lMMjB2TURkak1YWVNBbVZ1R2dKVlV5Z0FQAVAB?hl=en-US&gl=US&ceid=US%3Aen, sectionId is <code>CAQiQ0NCQVNMQW9JTDIwdk1EZGpNWFlTQW1WdUdnSlZVeUlOQ0FRYUNRb0hMMjB2TUcxcmVpb0pFZ2N2YlM4d2JXdDZLQUEqKggAKiYICiIgQ0JBU0Vnb0lMMjB2TURkak1YWVNBbVZ1R2dKVlV5Z0FQAVAB</code>"
502          },
503          "storyId": {
504            "title": "Story ID",
505            "type": "string",
506            "description": "Specify Story ID. Each news story has a unique storyId. We return storyId in the each response or you can find it in the URL of Google News. If Google News URL is <code>https://news.google.com/stories/CAAqNggKIjBDQklTSGpvSmMzUnZjbmt0TXpZd1NoRUtEd2pkaHNLdURSSEkzeU1HYWdwQ3VDZ0FQAQ?hl=en-US&gl=US&ceid=US%3Aen</code>, storyId is <code>CAAqNggKIjBDQklTSGpvSmMzUnZjbmt0TXpZd1NoRUtEd2pkaHNLdURSSEkzeU1HYWdwQ3VDZ0FQAQ</code>"
507          },
508          "sort": {
509            "title": "Sort By",
510            "enum": [
511              "relevance",
512              "date"
513            ],
514            "type": "string",
515            "description": "Sort by parameter for Google News search results. The values must be one of the following: <code>relevance</code>, <code>date</code>",
516            "default": "relevance"
517          },
518          "csvFriendlyOutput": {
519            "title": "Output CSV friendly format",
520            "type": "boolean",
521            "description": "Include shopping results data, use for CSV format"
522          }
523        }
524      },
525      "runsResponseSchema": {
526        "type": "object",
527        "properties": {
528          "data": {
529            "type": "object",
530            "properties": {
531              "id": {
532                "type": "string"
533              },
534              "actId": {
535                "type": "string"
536              },
537              "userId": {
538                "type": "string"
539              },
540              "startedAt": {
541                "type": "string",
542                "format": "date-time",
543                "example": "2025-01-08T00:00:00.000Z"
544              },
545              "finishedAt": {
546                "type": "string",
547                "format": "date-time",
548                "example": "2025-01-08T00:00:00.000Z"
549              },
550              "status": {
551                "type": "string",
552                "example": "READY"
553              },
554              "meta": {
555                "type": "object",
556                "properties": {
557                  "origin": {
558                    "type": "string",
559                    "example": "API"
560                  },
561                  "userAgent": {
562                    "type": "string"
563                  }
564                }
565              },
566              "stats": {
567                "type": "object",
568                "properties": {
569                  "inputBodyLen": {
570                    "type": "integer",
571                    "example": 2000
572                  },
573                  "rebootCount": {
574                    "type": "integer",
575                    "example": 0
576                  },
577                  "restartCount": {
578                    "type": "integer",
579                    "example": 0
580                  },
581                  "resurrectCount": {
582                    "type": "integer",
583                    "example": 0
584                  },
585                  "computeUnits": {
586                    "type": "integer",
587                    "example": 0
588                  }
589                }
590              },
591              "options": {
592                "type": "object",
593                "properties": {
594                  "build": {
595                    "type": "string",
596                    "example": "latest"
597                  },
598                  "timeoutSecs": {
599                    "type": "integer",
600                    "example": 300
601                  },
602                  "memoryMbytes": {
603                    "type": "integer",
604                    "example": 1024
605                  },
606                  "diskMbytes": {
607                    "type": "integer",
608                    "example": 2048
609                  }
610                }
611              },
612              "buildId": {
613                "type": "string"
614              },
615              "defaultKeyValueStoreId": {
616                "type": "string"
617              },
618              "defaultDatasetId": {
619                "type": "string"
620              },
621              "defaultRequestQueueId": {
622                "type": "string"
623              },
624              "buildNumber": {
625                "type": "string",
626                "example": "1.0.0"
627              },
628              "containerUrl": {
629                "type": "string"
630              },
631              "usage": {
632                "type": "object",
633                "properties": {
634                  "ACTOR_COMPUTE_UNITS": {
635                    "type": "integer",
636                    "example": 0
637                  },
638                  "DATASET_READS": {
639                    "type": "integer",
640                    "example": 0
641                  },
642                  "DATASET_WRITES": {
643                    "type": "integer",
644                    "example": 0
645                  },
646                  "KEY_VALUE_STORE_READS": {
647                    "type": "integer",
648                    "example": 0
649                  },
650                  "KEY_VALUE_STORE_WRITES": {
651                    "type": "integer",
652                    "example": 1
653                  },
654                  "KEY_VALUE_STORE_LISTS": {
655                    "type": "integer",
656                    "example": 0
657                  },
658                  "REQUEST_QUEUE_READS": {
659                    "type": "integer",
660                    "example": 0
661                  },
662                  "REQUEST_QUEUE_WRITES": {
663                    "type": "integer",
664                    "example": 0
665                  },
666                  "DATA_TRANSFER_INTERNAL_GBYTES": {
667                    "type": "integer",
668                    "example": 0
669                  },
670                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
671                    "type": "integer",
672                    "example": 0
673                  },
674                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
675                    "type": "integer",
676                    "example": 0
677                  },
678                  "PROXY_SERPS": {
679                    "type": "integer",
680                    "example": 0
681                  }
682                }
683              },
684              "usageTotalUsd": {
685                "type": "number",
686                "example": 0.00005
687              },
688              "usageUsd": {
689                "type": "object",
690                "properties": {
691                  "ACTOR_COMPUTE_UNITS": {
692                    "type": "integer",
693                    "example": 0
694                  },
695                  "DATASET_READS": {
696                    "type": "integer",
697                    "example": 0
698                  },
699                  "DATASET_WRITES": {
700                    "type": "integer",
701                    "example": 0
702                  },
703                  "KEY_VALUE_STORE_READS": {
704                    "type": "integer",
705                    "example": 0
706                  },
707                  "KEY_VALUE_STORE_WRITES": {
708                    "type": "number",
709                    "example": 0.00005
710                  },
711                  "KEY_VALUE_STORE_LISTS": {
712                    "type": "integer",
713                    "example": 0
714                  },
715                  "REQUEST_QUEUE_READS": {
716                    "type": "integer",
717                    "example": 0
718                  },
719                  "REQUEST_QUEUE_WRITES": {
720                    "type": "integer",
721                    "example": 0
722                  },
723                  "DATA_TRANSFER_INTERNAL_GBYTES": {
724                    "type": "integer",
725                    "example": 0
726                  },
727                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
728                    "type": "integer",
729                    "example": 0
730                  },
731                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
732                    "type": "integer",
733                    "example": 0
734                  },
735                  "PROXY_SERPS": {
736                    "type": "integer",
737                    "example": 0
738                  }
739                }
740              }
741            }
742          }
743        }
744      }
745    }
746  }
747}

Google News Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Google News Scraper from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 4 monthly users

  • 0 No bookmarks yet

  • >99% runs succeeded

  • Created in Mar 2025

  • Modified 3 days ago