One publication's latest stories as Google's news results list them: title, source, date, snippet, thumbnail and link, newest first. Pick the publication by its website (url) or by the publisher name Google shows (name); add words to narrow it to a topic. Every /google/v1/news parameter (time, date_from, date_to, country, language, page, limit) also applies.
Every response includes credits_used: the credits this call cost.
Parameters
name
type
description
url
string
The publication's website, e.g. bbc.co.uk or https://www.reuters.com. Either url or name is required. Example: reuters.com
name
string
The publisher as Google names it, e.g. Reuters, The Guardian.
q
string
Optional words: only this publication's stories about them.
sort
date | relevance
date (default, newest first) or relevance.
time
string
hour, day, week, month, year (or e.g. day_3).
country
string
Country code (gl), default us.
language
string
Language (hl), default en.
page
integer
Page number.
limit
integer
Results wanted (each 10 results is one page and is billed as one call).
import os, requests
res = requests.get(
"https://api.api.sh/google/v1/news/publication",
params={"url": "reuters.com"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json()
const url = new URL("https://api.api.sh/google/v1/news/publication");
url.searchParams.set("url", "reuters.com");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json();
Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.