curl --request POST \
--url https://api.scrapeunblocker.com/search/google-news \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/search/google-news"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/search/google-news', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape Google News (search or section)
Searches Google News for q, or lists a section with topic (world, nation, business, technology, entertainment, sports, science, health, top, or a topic id), and returns articles: position, title, url (the publisher’s article URL), source, sourceUrl, publishedAt (ISO 8601 UTC), imageUrl (+ imageWidth/imageHeight), authors, googleNewsId and googleNewsUrl. Metadata only - no article text. Narrow a search with when (e.g. ‘1d’) or after/before dates; pick the edition with hl and gl. Google News answers a search with up to about 100 articles (no paging - use date windows to go further back). One unit per call.
curl --request POST \
--url https://api.scrapeunblocker.com/search/google-news \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/search/google-news"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/search/google-news', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
Search query, e.g. 'tesla' or '"web scraping"'. Google News operators work: quotes, OR, -word, site:reuters.com, intitle:. Pass either q or topic.
A section instead of a search: world, nation, business, technology, entertainment, sports, science, health, or top (the edition's headlines). A Google News topic id (the 'CAAq...' part of a news.google.com/topics/ URL) also works.
Language of the Google News edition, e.g. 'en', 'en-GB', 'de', 'fr', 'pt-BR'.
Country of the Google News edition (2-letter code), e.g. 'us', 'gb', 'de'.
Only articles from the last period: '1h' to '720h', '1d', '7d', '2w', '1m', '1y'. Search (q) only.
Only articles published after this date (YYYY-MM-DD). Search only.
Only articles published before this date (YYYY-MM-DD). Search only.
Most articles to return, 1-250. Google News returns up to about 100 articles for a search and about 250 for a section; one call is billed one unit whatever the count.
Response
JSON with an articles array.

