
Google News Scraper
3 days trial then $20.00/month - No credit card required now

Google News Scraper
3 days trial then $20.00/month - No credit card required now
Unlock timely news insights with our Google News data retrieval tool. Get the latest news on any news at any time, and more. Effortless and powerful. 📰🔍 #NewsData
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": "NeLbojVHHaIWoSsTz"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/epctex~google-news-scraper/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-epctex-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/epctex~google-news-scraper/runs": {
50 "post": {
51 "operationId": "runs-sync-epctex-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/epctex~google-news-scraper/run-sync": {
93 "post": {
94 "operationId": "run-sync-epctex-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 "proxy"
135 ],
136 "properties": {
137 "startUrls": {
138 "title": "Start URLs",
139 "type": "array",
140 "description": "URLs to start with. It should be search, topic, category, or list URL",
141 "items": {
142 "type": "string"
143 }
144 },
145 "query": {
146 "title": "Search queries",
147 "type": "array",
148 "description": "The keywords that you can search on Google News",
149 "items": {
150 "type": "string"
151 }
152 },
153 "language": {
154 "title": "Region Language Pair",
155 "enum": [
156 "US:en",
157 "AU:en",
158 "BW:en",
159 "CA:en",
160 "ET:en",
161 "GH:en",
162 "IN:en",
163 "ID:en",
164 "IE:en",
165 "IL:en",
166 "KE:en",
167 "LV:en",
168 "MY:en",
169 "NA:en",
170 "NZ:en",
171 "NG:en",
172 "PK:en",
173 "PH:en",
174 "SG:en",
175 "ZA:en",
176 "TZ:en",
177 "UG:en",
178 "GB:en",
179 "ZW:en",
180 "ID:id",
181 "CZ:cs",
182 "DE:de",
183 "AT:de",
184 "CH:de",
185 "AR:es-419",
186 "CL:es-419",
187 "CO:es-419",
188 "CU:es-419",
189 "ES:es",
190 "US:es-419",
191 "MX:es-419",
192 "PE:es-419",
193 "VE:es-419",
194 "BE:fr",
195 "CA:fr",
196 "FR:fr",
197 "MA:fr",
198 "SN:fr",
199 "CH:fr",
200 "IT:it",
201 "LV:lv",
202 "LT:lt",
203 "HU:hu",
204 "BE:nl",
205 "NL:nl",
206 "NO:no",
207 "PL:pl",
208 "BR:pt-419",
209 "PT:pt-150",
210 "RO:ro",
211 "SK:sk",
212 "SI:sl",
213 "SE:sv",
214 "VN:vi",
215 "TR:tr",
216 "GR:el",
217 "BG:bg",
218 "RU:ru",
219 "UA:ru",
220 "RS:sr",
221 "UA:uk",
222 "IL:he",
223 "AE:ar",
224 "SA:ar",
225 "LB:ar",
226 "EG:ar",
227 "IN:mr",
228 "IN:hi",
229 "BD:bn",
230 "IN:bn",
231 "IN:ta",
232 "IN:te",
233 "IN:ml",
234 "TH:th",
235 "CN:zh-Hans",
236 "TW:zh-Hant",
237 "HK:zh-Hant",
238 "JP:ja",
239 "KR:ko"
240 ],
241 "type": "string",
242 "description": "This value determines language and region for the news. This setting only applies to Search queries, not the start URLs.",
243 "default": "US:en"
244 },
245 "date": {
246 "title": "Date",
247 "enum": [
248 "",
249 "1h",
250 "1d",
251 "7d",
252 "30d",
253 "1y"
254 ],
255 "type": "string",
256 "description": "Date of the news. This setting only applies to Search queries, not the start URLs.",
257 "default": ""
258 },
259 "maxItems": {
260 "title": "Maximum number of listing items",
261 "type": "integer",
262 "description": "Maximum number of items that you want as output. Default is all"
263 },
264 "maxNewsPerEachItem": {
265 "title": "Maximum number of news per each listing items",
266 "type": "integer",
267 "description": "Maximum number of news per each items that you want as output. Default is all"
268 },
269 "extendOutputFunction": {
270 "title": "Extend output function",
271 "type": "string",
272 "description": "Function that takes a JQuery handle ($) as argument and returns data that will be merged with the default output"
273 },
274 "customMapFunction": {
275 "title": "Custom map function",
276 "type": "string",
277 "description": "Function that takes each of the objects as argument and returns data that will be mapped by the function itself."
278 },
279 "proxy": {
280 "title": "Proxy configuration",
281 "type": "object",
282 "description": "Select proxies to be used by your crawler."
283 }
284 }
285 },
286 "runsResponseSchema": {
287 "type": "object",
288 "properties": {
289 "data": {
290 "type": "object",
291 "properties": {
292 "id": {
293 "type": "string"
294 },
295 "actId": {
296 "type": "string"
297 },
298 "userId": {
299 "type": "string"
300 },
301 "startedAt": {
302 "type": "string",
303 "format": "date-time",
304 "example": "2025-01-08T00:00:00.000Z"
305 },
306 "finishedAt": {
307 "type": "string",
308 "format": "date-time",
309 "example": "2025-01-08T00:00:00.000Z"
310 },
311 "status": {
312 "type": "string",
313 "example": "READY"
314 },
315 "meta": {
316 "type": "object",
317 "properties": {
318 "origin": {
319 "type": "string",
320 "example": "API"
321 },
322 "userAgent": {
323 "type": "string"
324 }
325 }
326 },
327 "stats": {
328 "type": "object",
329 "properties": {
330 "inputBodyLen": {
331 "type": "integer",
332 "example": 2000
333 },
334 "rebootCount": {
335 "type": "integer",
336 "example": 0
337 },
338 "restartCount": {
339 "type": "integer",
340 "example": 0
341 },
342 "resurrectCount": {
343 "type": "integer",
344 "example": 0
345 },
346 "computeUnits": {
347 "type": "integer",
348 "example": 0
349 }
350 }
351 },
352 "options": {
353 "type": "object",
354 "properties": {
355 "build": {
356 "type": "string",
357 "example": "latest"
358 },
359 "timeoutSecs": {
360 "type": "integer",
361 "example": 300
362 },
363 "memoryMbytes": {
364 "type": "integer",
365 "example": 1024
366 },
367 "diskMbytes": {
368 "type": "integer",
369 "example": 2048
370 }
371 }
372 },
373 "buildId": {
374 "type": "string"
375 },
376 "defaultKeyValueStoreId": {
377 "type": "string"
378 },
379 "defaultDatasetId": {
380 "type": "string"
381 },
382 "defaultRequestQueueId": {
383 "type": "string"
384 },
385 "buildNumber": {
386 "type": "string",
387 "example": "1.0.0"
388 },
389 "containerUrl": {
390 "type": "string"
391 },
392 "usage": {
393 "type": "object",
394 "properties": {
395 "ACTOR_COMPUTE_UNITS": {
396 "type": "integer",
397 "example": 0
398 },
399 "DATASET_READS": {
400 "type": "integer",
401 "example": 0
402 },
403 "DATASET_WRITES": {
404 "type": "integer",
405 "example": 0
406 },
407 "KEY_VALUE_STORE_READS": {
408 "type": "integer",
409 "example": 0
410 },
411 "KEY_VALUE_STORE_WRITES": {
412 "type": "integer",
413 "example": 1
414 },
415 "KEY_VALUE_STORE_LISTS": {
416 "type": "integer",
417 "example": 0
418 },
419 "REQUEST_QUEUE_READS": {
420 "type": "integer",
421 "example": 0
422 },
423 "REQUEST_QUEUE_WRITES": {
424 "type": "integer",
425 "example": 0
426 },
427 "DATA_TRANSFER_INTERNAL_GBYTES": {
428 "type": "integer",
429 "example": 0
430 },
431 "DATA_TRANSFER_EXTERNAL_GBYTES": {
432 "type": "integer",
433 "example": 0
434 },
435 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
436 "type": "integer",
437 "example": 0
438 },
439 "PROXY_SERPS": {
440 "type": "integer",
441 "example": 0
442 }
443 }
444 },
445 "usageTotalUsd": {
446 "type": "number",
447 "example": 0.00005
448 },
449 "usageUsd": {
450 "type": "object",
451 "properties": {
452 "ACTOR_COMPUTE_UNITS": {
453 "type": "integer",
454 "example": 0
455 },
456 "DATASET_READS": {
457 "type": "integer",
458 "example": 0
459 },
460 "DATASET_WRITES": {
461 "type": "integer",
462 "example": 0
463 },
464 "KEY_VALUE_STORE_READS": {
465 "type": "integer",
466 "example": 0
467 },
468 "KEY_VALUE_STORE_WRITES": {
469 "type": "number",
470 "example": 0.00005
471 },
472 "KEY_VALUE_STORE_LISTS": {
473 "type": "integer",
474 "example": 0
475 },
476 "REQUEST_QUEUE_READS": {
477 "type": "integer",
478 "example": 0
479 },
480 "REQUEST_QUEUE_WRITES": {
481 "type": "integer",
482 "example": 0
483 },
484 "DATA_TRANSFER_INTERNAL_GBYTES": {
485 "type": "integer",
486 "example": 0
487 },
488 "DATA_TRANSFER_EXTERNAL_GBYTES": {
489 "type": "integer",
490 "example": 0
491 },
492 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
493 "type": "integer",
494 "example": 0
495 },
496 "PROXY_SERPS": {
497 "type": "integer",
498 "example": 0
499 }
500 }
501 }
502 }
503 }
504 }
505 }
506 }
507 }
508}
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: