Google News Scraper - News API, Articles & RSS
Pricing
from $6.15 / 1,000 results
Google News Scraper - News API, Articles & RSS
Scrape Google News with no API key. Search by keyword, topic or headlines and get article title, publisher, date, snippet, image, author and full text in any country and language. Resolves real publisher URLs. For news, media and brand monitoring. Export JSON, CSV, Excel.
Pricing
from $6.15 / 1,000 results
Rating
5.0
(1)
Developer
Scrapers Lat
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
15 days ago
Last modified
Categories
Share
Google News Scraper: News API, Articles, RSS and Full Text
Scrape Google News with no API key. Search by keyword, read a topic section or the top headlines, in any country and language, and get clean, analysis-ready article records: title, publisher, publish date, snippet, image, author, full article text, related coverage and the real publisher URL (decoded from the Google News redirect link). Built for news monitoring, media monitoring, brand monitoring and building a news dataset or news feed.
This is the most complete Google News scraper on Apify: it accepts everything the popular actors accept and returns more per article, priced pay per result with optional add-ons.
📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples
Table of contents
- What it does
- Why this scraper
- Quickstart
- Input reference
- Output reference
- Example output record
- Comparison with other Google News scrapers
- Run via API and CLI
- Fetch results
- Billing and limits
- FAQ and troubleshooting
What it does
Pick a mode and the actor writes one normalized record per article to the run dataset:
- Search by keyword or a list of keywords, with Google News operators (
intitle:,site:,OR,-exclude) and time filters. - Topic section: World, Nation, Business, Technology, Entertainment, Sports, Science or Health, or a custom topic id.
- Headlines: the top stories for the edition you choose.
Set the language (hl) and country (gl) to read any Google News edition worldwide, for example en-US, es-419 and MX, pt-BR and BR, or en-GB.
With detail enrichment on, the actor decodes each Google News redirect into the publisher's real article URL and pulls the lead image, full description, author, site name, keywords, publish time and best-effort full article text with a word count. Missing values are returned as null, never invented.
Three optional AI add-ons run only on paid plans and charge only when they produce output: an AI summary, a tone/sentiment classification and topic/category tags.
Why this scraper
- No API key and no Google account. Reads public Google News feeds and public article pages.
- Real publisher URLs. Decodes the opaque Google News redirect link to the true article URL.
- Full article text. Best-effort body text plus word count for each article, not just a snippet.
- Worldwide. Any language and country edition through
hlandgl. - Superset of competitors. Accepts their inputs and returns their fields, plus more (see the comparison table).
- Honest data. Fields the source does not provide come back as
null; failed runs are not charged.
Quickstart
Open the actor, paste this into the input, and press Run. It searches recent electric-vehicle news and resolves each article to its real URL.
{"mode": "search","query": "electric vehicles","when": "7d","maxArticles": 25,"withDetails": true,"language": "en-US","country": "US"}
Set mode to topic and pick a topic (for example BUSINESS) to read a section, or headlines for top stories. Use when (1h, 1d, 7d, 1y) or dateFrom / dateTo to limit by time.
Input reference
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
mode | enum | no | search | What to scrape. One of search (keyword query), topic (a news section), headlines (top stories). |
query | string | no | artificial intelligence | Search terms when mode is search. Supports intitle:, site:, OR, -exclude and when: operators. Also accepts q and searchQuery. |
keywords | string[] | no | [] | Alternative to query: a list of keywords combined with OR. |
when | string | no | empty | Recent time window: 1h, 1d, 7d, 1y (blank or all for no limit). Also accepts timeframe. |
dateFrom | string | no | empty | Only articles published on or after this date (YYYY-MM-DD). |
dateTo | string | no | empty | Only articles published before this date (YYYY-MM-DD). |
topic | enum | no | TECHNOLOGY | Section when mode is topic. One of WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH. |
topicHash | string | no | empty | Advanced: a custom Google News topic id to read that exact section feed. |
maxArticles | integer | no | 10 | Maximum articles to collect. Also accepts maxItems. |
withDetails | boolean | no | true | Resolve the real publisher URL and extract image, description, author, keywords and full text. Also accepts fetchArticleDetails, resolveUrls, decodeUrls. Paid add-on. |
language | string | no | en-US | Interface and content language (Google News hl), for example en-US, es-419. Also accepts hl. |
country | string | no | US | Country edition (Google News gl), for example US, MX, GB, ES, BR. Also accepts gl. |
withSummary | boolean | no | false | Paid add-on. AI 1-2 sentence neutral summary. Requires a paid plan. |
withSentiment | boolean | no | false | Paid add-on. AI tone classification with a confidence score. Requires a paid plan. |
withTopics | boolean | no | false | Paid add-on. AI topic tags and a broad news category. Requires a paid plan. |
proxyConfiguration | object | no | off | Optional Apify proxy. The feeds answer cleanly without a proxy. |
Output reference
One dataset item per article. Types: string, number, boolean, string[], object[], or null when the source value is absent.
| Field | Type | Description |
|---|---|---|
position | number | 1-based rank of the article in the feed. |
query | string | The effective search query used (search mode), else null. |
title | string | Article headline. |
source | string | Publisher name as shown in Google News. |
sourceUrl | string | Publisher homepage URL. |
sourceDomain | string | Bare domain of the publisher. |
url | string | Article link. The resolved publisher URL when detail enrichment ran, otherwise the Google News link. |
googleNewsUrl | string | The original Google News redirect link. |
urlResolved | boolean | true when url was decoded to the publisher's real URL. |
publishedAt | string | ISO 8601 publish time from the feed. |
publishedTimestamp | number | Publish time as Unix milliseconds, or null. |
snippet | string | Feed snippet text, or null. |
image | string | Lead image URL from the article (detail add-on), or null. |
description | string | Article description or summary from the page (detail add-on), or null. |
metaDescription | string | Raw meta description from the page (detail add-on), or null. |
fullText | string | Best-effort full article body text (detail add-on), or null. |
wordCount | number | Word count of fullText, or null. |
author | string | Article author (detail add-on), or null. |
articlePublishedAt | string | Publish time read from the article page, or null. |
siteName | string | Site name from the article page, or null. |
keywords | string[] | Keywords declared on the article page. Empty array when none. |
relatedCoverage | object[] | Related coverage cluster (title, source, url) when present, otherwise null. |
guid | string | Stable Google News article GUID. |
language | string | Language edition used for this run. |
country | string | Country edition used for this run. |
aiSummary | string | AI neutral summary (add-on), else null. |
aiSentiment | string | AI tone positive, negative or neutral (add-on), else null. |
aiSentimentScore | number | AI tone confidence score (add-on), else null. |
aiTopics | string[] | AI keyword and topic tags (add-on), else null. |
aiCategory | string | AI broad news category (add-on), else null. |
observedAt | string | ISO 8601 timestamp of when the record was collected. |
error | string | null on success. On a failed run, a single item with a populated error field is written instead. |
Example output record
Real record from a live run with detail enrichment on (resolved publisher URL, image, description and author populated):
{"position": 1,"query": "electric vehicles when:7d","title": "Apify lets AI Agents pay via Coinbase x402 for web tools","source": "TestingCatalog AI News","sourceUrl": "https://www.testingcatalog.com","sourceDomain": "testingcatalog.com","url": "https://www.testingcatalog.com/apify-lets-ai-agents-pay-via-coinbase-x402-for-web-tools/","googleNewsUrl": "https://news.google.com/rss/articles/CBMikgFBVV95cUxOMW9Va0ZZcUxD...?oc=5","urlResolved": true,"publishedAt": "2026-06-30T07:00:00.000Z","publishedTimestamp": 1751266800000,"image": "https://storage.ghost.io/c/2a/1b/content/images/size/w1200/2026/06/image-9.webp","description": "Apify integrates with Coinbase's x402 protocol, letting AI agents pay in USDC and run web automation Actors without accounts or API keys.","author": "Nero Soares","articlePublishedAt": "2026-06-30T15:07:59.000Z","siteName": "TestingCatalog AI News","keywords": [],"guid": "CBMikgFBVV95cUxOMW9Va0ZZcUxDenlwRTMyYWFuVVF4WVc3ejdLRWs...","language": "en-US","country": "US","observedAt": "2026-08-08T21:06:35.180Z","error": null}
Comparison with other Google News scrapers
| Capability | This actor | lhotanova/google-news-scraper | memo23/google-news-scraper | data_xplorer/google-news-scraper |
|---|---|---|---|---|
| Keyword search + operators | Yes | Yes | Yes | Yes |
| Keyword list input | Yes | No | Yes | Yes |
| Topic sections + custom topic id | Yes | Yes | Partial | No |
| Top headlines | Yes | Yes | No | No |
| Country + language editions | Yes | Yes | Yes | Yes |
| Time window / date range | Yes (when, dateFrom, dateTo) | Yes | Yes | Yes |
| Real publisher URL (decoded) | Yes | Yes | Yes | Yes |
| Related coverage cluster | Yes | No | Partial | No |
| Lead image | Yes | Yes | Yes | Yes |
| Author | Yes | No | Yes | No |
| Full article text + word count | Yes | No | Yes | No |
| AI summary / sentiment / topics | Yes | No | No | No |
| Unix timestamp + position + query echo | Yes | No | Partial | Partial |
| No API key required | Yes | Yes | Yes | Yes |
| Pay per result (no monthly rental) | Yes | Monthly rental | Pay per event | Monthly rental |
This actor accepts every input the popular Google News actors accept and returns every field they return, plus related-coverage clusters, full article text, AI enrichment, and a pay-per-result model with no monthly rental.
Run via API and CLI
Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.
Run synchronously and get dataset items in one call:
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~google-news-scraper/run-sync-get-dataset-items?token=<TOKEN>" \-H "Content-Type: application/json" \-d '{"mode":"search","query":"electric vehicles","when":"7d","maxArticles":25,"withDetails":true}'
Start a run asynchronously:
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~google-news-scraper/runs?token=<TOKEN>" \-H "Content-Type: application/json" \-d '{"mode":"topic","topic":"BUSINESS","maxArticles":100,"country":"US"}'
Apify CLI:
apify call scrapers_lat/google-news-scraper \--input '{"mode":"headlines","maxArticles":50,"language":"en-US","country":"US"}'
Fetch results
Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:
# JSONcurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"# CSVcurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"# Paginate large datasetscurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"
<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.
Billing and limits
- Pay per result. You are charged per article returned (
resultevent). See the pricing tab for the current per-result price. - Add-ons. Detail enrichment (
details: real URL, image, author, keywords, full text) and the three AI add-ons are priced separately and charge only when they produce output, after the article row is delivered. - No charge on failure. If a run errors, the actor writes a single item with a populated
errorfield and does not charge for it. Empty runs cost nothing. - Spend cap respected. Set
maxTotalChargeUsdon the run; once reached, the actor stops emitting and charging further billable results. - Free Apify plans are capped at 10 articles per run, and detail and AI enrichment are disabled on free plans. Upgrade for more.
FAQ and troubleshooting
A run returned 0 articles. Why?
The search or topic matched nothing in that edition. Broaden the query, remove the time window, or change language and country. Zero-result runs are not charged.
Why is url a news.google.com link and urlResolved false?
Detail enrichment did not run (it is off, or you are on a free plan), so only the Google News redirect is kept. Enable withDetails on a paid plan to decode the real publisher URL and fill image, author and full text.
How do I limit results to the last day?
Set when to 1d, or use dateFrom and dateTo. You can also type when:1d inside query.
How do I read a different country's news?
Set language and country, for example es-419 and MX for Mexican Spanish coverage.
Why did the AI fields not appear?
The AI add-ons require a paid Apify plan and are off by default. Enable withSummary, withSentiment or withTopics on a paid plan. They charge only when output is produced.
Is this an official Google tool? No. This actor is independent and not affiliated with Google. It reads only publicly available Google News feeds and public article pages.
Related scrapers
- GDELT News Events Scraper: Global news events from the GDELT project.
- Hacker News Scraper: Stories and comments from Hacker News.
- Reddit Posts Scraper: Posts from any subreddit.
- Medium Scraper: Articles from Medium.
- Google Maps Reviews Scraper: Reviews for any Google Maps place.
More scrapers at scrapers.lat
Built and maintained by scrapers.lat, where we publish scrapers for US and Latin American public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at scrapers.lat.
Independent tool, not affiliated with Google. Accesses only publicly available Google News feeds and public article pages.
Scraper de Google News: API de Noticias, Artículos, RSS y Texto Completo
Extrae datos de Google News sin clave de API. Busca por palabra clave, lee una sección temática o los titulares principales, en cualquier país e idioma, y obtén registros de artículos listos para analizar: título, medio, fecha de publicación, resumen, imagen, autor, texto completo del artículo, cobertura relacionada y la URL real del medio (decodificada del enlace de redirección de Google News). Pensado para monitoreo de noticias, monitoreo de medios, monitoreo de marca y para construir un conjunto de datos o un feed de noticias.
Este es el scraper de Google News más completo en Apify: acepta todo lo que aceptan los actores populares y devuelve más por artículo, con precio por resultado y complementos opcionales.
📥 Entrada · 📤 Salida · 💰 Precios · ▶️ Ejemplos
Tabla de contenido
- Qué hace
- Por qué este scraper
- Inicio rápido
- Referencia de entrada
- Referencia de salida
- Registro de ejemplo
- Comparación con otros scrapers de Google News
- Ejecutar vía API y CLI
- Obtener resultados
- Facturación y límites
- Preguntas frecuentes
Qué hace
Elige un modo y el actor escribe un registro normalizado por artículo en el dataset de la ejecución:
- Búsqueda por palabra clave o una lista de palabras clave, con operadores de Google News (
intitle:,site:,OR,-excluir) y filtros de tiempo. - Sección temática: Mundo, Nación, Negocios, Tecnología, Entretenimiento, Deportes, Ciencia o Salud, o un id de tema personalizado.
- Titulares: las noticias principales de la edición que elijas.
Ajusta el idioma (hl) y el país (gl) para leer cualquier edición de Google News del mundo, por ejemplo en-US, es-419 y MX, pt-BR y BR, o en-GB.
Con el enriquecimiento de detalle activado, el actor decodifica cada enlace de redirección de Google News a la URL real del artículo del medio y extrae la imagen principal, la descripción completa, el autor, el nombre del sitio, las palabras clave, la hora de publicación y el texto completo del artículo (con conteo de palabras). Los valores ausentes se devuelven como null, nunca se inventan.
Tres complementos de IA opcionales se ejecutan solo en planes de pago y cobran solo cuando producen resultado: un resumen con IA, una clasificación de tono/sentimiento y etiquetas de tema/categoría.
Por qué este scraper
- Sin clave de API ni cuenta de Google. Lee feeds públicos de Google News y páginas públicas de artículos.
- URLs reales del medio. Decodifica el enlace de redirección opaco de Google News a la URL real del artículo.
- Texto completo del artículo. Cuerpo de texto de mejor esfuerzo más conteo de palabras por artículo, no solo un resumen.
- Mundial. Cualquier idioma y edición de país mediante
hlygl. - Superconjunto de la competencia. Acepta sus entradas y devuelve sus campos, y más (ver la tabla comparativa).
- Datos honestos. Los campos que la fuente no provee se devuelven como
null; las ejecuciones fallidas no se cobran.
Inicio rápido
Abre el actor, pega esto en la entrada y presiona Run. Busca noticias recientes de vehículos eléctricos y resuelve cada artículo a su URL real.
{"mode": "search","query": "vehiculos electricos","when": "7d","maxArticles": 25,"withDetails": true,"language": "es-419","country": "MX"}
Ajusta mode a topic y elige un topic (por ejemplo BUSINESS) para leer una sección, o headlines para las noticias principales. Usa when (1h, 1d, 7d, 1y) o dateFrom / dateTo para limitar por tiempo.
Referencia de entrada
| Campo | Tipo | Obligatorio | Predeterminado | Descripción |
|---|---|---|---|---|
mode | enum | no | search | Qué extraer. Uno de search (consulta), topic (sección), headlines (titulares). |
query | string | no | artificial intelligence | Términos de búsqueda cuando mode es search. Admite intitle:, site:, OR, -excluir y when:. También acepta q y searchQuery. |
keywords | string[] | no | [] | Alternativa a query: una lista de palabras clave combinadas con OR. |
when | string | no | vacío | Ventana de tiempo reciente: 1h, 1d, 7d, 1y (vacío o all para sin límite). También acepta timeframe. |
dateFrom | string | no | vacío | Solo artículos publicados en o después de esta fecha (YYYY-MM-DD). |
dateTo | string | no | vacío | Solo artículos publicados antes de esta fecha (YYYY-MM-DD). |
topic | enum | no | TECHNOLOGY | Sección cuando mode es topic. Uno de WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH. |
topicHash | string | no | vacío | Avanzado: un id de tema personalizado de Google News para leer esa sección exacta. |
maxArticles | integer | no | 10 | Máximo de artículos a recolectar. También acepta maxItems. |
withDetails | boolean | no | true | Resuelve la URL real del medio y extrae imagen, descripción, autor, palabras clave y texto completo. También acepta fetchArticleDetails, resolveUrls, decodeUrls. Complemento de pago. |
language | string | no | en-US | Idioma de interfaz y contenido (Google News hl), por ejemplo en-US, es-419. También acepta hl. |
country | string | no | US | Edición de país (Google News gl), por ejemplo US, MX, GB, ES, BR. También acepta gl. |
withSummary | boolean | no | false | Complemento de pago. Resumen neutral de IA de 1-2 frases. Requiere plan de pago. |
withSentiment | boolean | no | false | Complemento de pago. Clasificación de tono de IA con puntuación. Requiere plan de pago. |
withTopics | boolean | no | false | Complemento de pago. Etiquetas de tema de IA y una categoría amplia. Requiere plan de pago. |
proxyConfiguration | object | no | apagado | Proxy de Apify opcional. Los feeds responden bien sin proxy. |
Referencia de salida
Un elemento del dataset por artículo. Tipos: string, number, boolean, string[], object[], o null cuando el valor de la fuente está ausente.
| Campo | Tipo | Descripción |
|---|---|---|
position | number | Rango del artículo en el feed (empieza en 1). |
query | string | La consulta efectiva usada (modo búsqueda), o null. |
title | string | Titular del artículo. |
source | string | Nombre del medio tal como aparece en Google News. |
sourceUrl | string | URL de la página principal del medio. |
sourceDomain | string | Dominio simple del medio. |
url | string | Enlace del artículo. La URL real del medio cuando corrió el enriquecimiento, si no el enlace de Google News. |
googleNewsUrl | string | El enlace de redirección original de Google News. |
urlResolved | boolean | true cuando url se decodificó a la URL real del medio. |
publishedAt | string | Hora de publicación en ISO 8601 desde el feed. |
publishedTimestamp | number | Hora de publicación en milisegundos Unix, o null. |
snippet | string | Texto del resumen del feed, o null. |
image | string | URL de la imagen principal del artículo (complemento de detalle), o null. |
description | string | Descripción o resumen del artículo desde la página (complemento de detalle), o null. |
metaDescription | string | Meta descripción cruda de la página (complemento de detalle), o null. |
fullText | string | Texto completo del cuerpo del artículo, de mejor esfuerzo (complemento de detalle), o null. |
wordCount | number | Conteo de palabras de fullText, o null. |
author | string | Autor del artículo (complemento de detalle), o null. |
articlePublishedAt | string | Hora de publicación leída de la página del artículo, o null. |
siteName | string | Nombre del sitio desde la página del artículo, o null. |
keywords | string[] | Palabras clave declaradas en la página del artículo. Arreglo vacío si no hay. |
relatedCoverage | object[] | Grupo de cobertura relacionada (title, source, url) cuando existe, si no null. |
guid | string | GUID estable del artículo en Google News. |
language | string | Edición de idioma usada en esta ejecución. |
country | string | Edición de país usada en esta ejecución. |
aiSummary | string | Resumen neutral de IA (complemento), si no null. |
aiSentiment | string | Tono de IA positive, negative o neutral (complemento), si no null. |
aiSentimentScore | number | Puntuación de confianza del tono de IA (complemento), si no null. |
aiTopics | string[] | Etiquetas de tema y palabras clave de IA (complemento), si no null. |
aiCategory | string | Categoría amplia de noticias de IA (complemento), si no null. |
observedAt | string | Marca de tiempo ISO 8601 de cuándo se recolectó el registro. |
error | string | null en éxito. En una ejecución fallida se escribe un único elemento con el campo error poblado. |
Registro de ejemplo
Registro real de una ejecución en vivo con el enriquecimiento de detalle activado (URL real del medio, imagen, descripción y autor poblados):
{"position": 1,"query": "electric vehicles when:7d","title": "Apify lets AI Agents pay via Coinbase x402 for web tools","source": "TestingCatalog AI News","sourceUrl": "https://www.testingcatalog.com","sourceDomain": "testingcatalog.com","url": "https://www.testingcatalog.com/apify-lets-ai-agents-pay-via-coinbase-x402-for-web-tools/","googleNewsUrl": "https://news.google.com/rss/articles/CBMikgFBVV95cUxOMW9Va0ZZcUxD...?oc=5","urlResolved": true,"publishedAt": "2026-06-30T07:00:00.000Z","publishedTimestamp": 1751266800000,"image": "https://storage.ghost.io/c/2a/1b/content/images/size/w1200/2026/06/image-9.webp","description": "Apify integrates with Coinbase's x402 protocol, letting AI agents pay in USDC and run web automation Actors without accounts or API keys.","author": "Nero Soares","articlePublishedAt": "2026-06-30T15:07:59.000Z","siteName": "TestingCatalog AI News","keywords": [],"guid": "CBMikgFBVV95cUxOMW9Va0ZZcUxDenlwRTMyYWFuVVF4WVc3ejdLRWs...","language": "en-US","country": "US","observedAt": "2026-08-08T21:06:35.180Z","error": null}
Comparación con otros scrapers de Google News
| Capacidad | Este actor | lhotanova/google-news-scraper | memo23/google-news-scraper | data_xplorer/google-news-scraper |
|---|---|---|---|---|
| Búsqueda por palabra clave + operadores | Sí | Sí | Sí | Sí |
| Entrada de lista de palabras clave | Sí | No | Sí | Sí |
| Secciones temáticas + id de tema | Sí | Sí | Parcial | No |
| Titulares principales | Sí | Sí | No | No |
| Ediciones por país + idioma | Sí | Sí | Sí | Sí |
| Ventana de tiempo / rango de fechas | Sí (when, dateFrom, dateTo) | Sí | Sí | Sí |
| URL real del medio (decodificada) | Sí | Sí | Sí | Sí |
| Grupo de cobertura relacionada | Sí | No | Parcial | No |
| Imagen principal | Sí | Sí | Sí | Sí |
| Autor | Sí | No | Sí | No |
| Texto completo + conteo de palabras | Sí | No | Sí | No |
| Resumen / sentimiento / temas con IA | Sí | No | No | No |
| Timestamp Unix + posición + eco de consulta | Sí | No | Parcial | Parcial |
| Sin clave de API | Sí | Sí | Sí | Sí |
| Pago por resultado (sin renta mensual) | Sí | Renta mensual | Pago por evento | Renta mensual |
Este actor acepta todas las entradas que aceptan los actores populares de Google News y devuelve todos sus campos, más grupos de cobertura relacionada, texto completo del artículo, enriquecimiento con IA y un modelo de pago por resultado sin renta mensual.
Ejecutar vía API y CLI
Inicia una ejecución y espera a que termine, luego lee el dataset. Reemplaza <TOKEN> con tu token de API de Apify.
Ejecuta de forma síncrona y obtén los elementos del dataset en una llamada:
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~google-news-scraper/run-sync-get-dataset-items?token=<TOKEN>" \-H "Content-Type: application/json" \-d '{"mode":"search","query":"vehiculos electricos","when":"7d","maxArticles":25,"withDetails":true}'
Inicia una ejecución de forma asíncrona:
curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~google-news-scraper/runs?token=<TOKEN>" \-H "Content-Type: application/json" \-d '{"mode":"topic","topic":"BUSINESS","maxArticles":100,"country":"US"}'
Apify CLI:
apify call scrapers_lat/google-news-scraper \--input '{"mode":"headlines","maxArticles":50,"language":"en-US","country":"US"}'
Obtener resultados
Cada ejecución escribe en un dataset. Obtén los elementos como JSON, CSV o Excel cambiando format:
# JSONcurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"# CSVcurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"# Paginar datasets grandescurl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"
<DATASET_ID> se devuelve como defaultDatasetId en el objeto de la ejecución. Usa offset y limit para paginar. clean=true descarta campos vacíos e internos.
Facturación y límites
- Pago por resultado. Se cobra por artículo devuelto (evento
result). Consulta la pestaña de precios para el precio actual por resultado. - Complementos. El enriquecimiento de detalle (
details: URL real, imagen, autor, palabras clave, texto completo) y los tres complementos de IA se cobran por separado y solo cuando producen resultado, después de entregar la fila del artículo. - Sin cargo por fallo. Si una ejecución falla, el actor escribe un único elemento con el campo
errorpoblado y no lo cobra. Las ejecuciones vacías no cuestan nada. - Límite de gasto respetado. Define
maxTotalChargeUsden la ejecución; al alcanzarlo, el actor deja de emitir y cobrar más resultados facturables. - Los planes gratuitos de Apify están limitados a 10 artículos por ejecución, y el enriquecimiento de detalle e IA está desactivado en planes gratuitos. Mejora tu plan para más.
Preguntas frecuentes
Una ejecución devolvió 0 artículos. ¿Por qué?
La búsqueda o el tema no coincidió con nada en esa edición. Amplía la consulta, quita la ventana de tiempo o cambia language y country. Las ejecuciones con cero resultados no se cobran.
¿Por qué url es un enlace news.google.com y urlResolved es false?
El enriquecimiento de detalle no corrió (está apagado o estás en un plan gratuito), así que solo se conserva la redirección de Google News. Activa withDetails en un plan de pago para decodificar la URL real del medio y poblar imagen, autor y texto completo.
¿Cómo limito los resultados al último día?
Ajusta when a 1d, o usa dateFrom y dateTo. También puedes escribir when:1d dentro de query.
¿Cómo leo noticias de otro país?
Ajusta language y country, por ejemplo es-419 y MX para cobertura en español de México.
¿Por qué no aparecieron los campos de IA?
Los complementos de IA requieren un plan de pago de Apify y están apagados por defecto. Activa withSummary, withSentiment o withTopics en un plan de pago. Solo cobran cuando producen resultado.
¿Es una herramienta oficial de Google? No. Este actor es independiente y no está afiliado a Google. Lee solo feeds públicos de Google News y páginas públicas de artículos.
Más scrapers
- GDELT News Events Scraper: Eventos de noticias globales del proyecto GDELT.
- Hacker News Scraper: Historias y comentarios de Hacker News.
- Reddit Posts Scraper: Publicaciones de cualquier subreddit.
- Medium Scraper: Artículos de Medium.
- Google Maps Reviews Scraper: Reseñas de cualquier lugar de Google Maps.
Más scrapers en scrapers.lat
Construido y mantenido por scrapers.lat, donde publicamos scrapers para plataformas públicas de EE. UU. y América Latina: registros de empresas, datos de gobierno, finanzas, comercio electrónico y más. Explora el catálogo o solicita un scraper a medida en scrapers.lat.
Herramienta independiente, no afiliada a Google. Accede solo a feeds públicos de Google News y páginas públicas de artículos.
