Google News

List Google News headlines by section

List Google News headlines grouped by section for an edition, with publisher URLs.

GET/v1/google-news/headlines
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
languagestringquery

Language and locale of the edition, e.g. `en-US`, `de`, `pt-BR` or `zh-Hant`. Default: `en-US`. The 400 response for an unsupported pair lists every supported pair.

min 2 chars · max 16 chars

countrystringquery

Two-letter country of the edition, e.g. `US`, `GB` or `JP`. Default: `US`. Send it with `language`; an unsupported pair is rejected with every supported pair listed.

min 2 chars · max 2 chars

Response fields
42

Endpoint-specific response payload.

The edition of this result.

dataeditionlanguage
string

Language and locale of the edition, e.g. `en-US`.

dataeditioncountry
string

Two-letter country of the edition, e.g. `US`.

Headline groups, in Google News order. At most 50 groups and 200 articles are returned.

datagroups[]name
string

Group name in the edition's language, e.g. `U.S.`.

Articles in this group, with publisher URLs.

datagroups[]articles[]id
string

Article id; the same id on every route.

datagroups[]articles[]title
string

Headline as the record gives it; a trailing outlet suffix is removed when present.

datagroups[]articles[]publishedAt
stringnullable

Publication time in UTC, when the record gives one.

datagroups[]articles[]datePrecision
string

`day` when the record only gives a date: midnight Pacific in the `en-US` edition. `second` otherwise.

one of: second, day

datagroups[]articles[]googleUrl
stringnullable

Google News link; null on topic, story, publisher and headline results.

datagroups[]articles[]url
stringnullable

Publisher article URL. Null on search and top-stories results; use `articles/resolve` to get it.

datagroups[]articles[]ampUrl
stringnullable

AMP form of the publisher URL.

Article image, or null when the record has none.

datagroups[]articles[]imageurl
stringnullable

The publisher's own image URL.

datagroups[]articles[]imagewidth
integernullable

Image width in pixels.

datagroups[]articles[]imageheight
integernullable

Image height in pixels.

The outlet an article is from.

datagroups[]articles[]sourcename
stringnullable

Publisher name, e.g. `Reuters`.

datagroups[]articles[]sourceurl
stringnullable

Publisher root URL, when the record gives one.

datagroups[]articles[]sourcepublicationId
stringnullable

Stable publisher id from an article record; the input for the publisher endpoint.

datagroups[]articles[]sourceiconUrl
stringnullable

Publisher favicon URL.

Authors of the article.

datagroups[]articles[]authors[]name
string

Author name as Google News displays it.

datagroups[]articles[]authors[]topicId
stringnullable

Author topic id, when the author has one.

datagroups[]articles[]label
stringnullable

Article label, e.g. `Opinion`, in the edition's language.

datagroups[]articles[]storyId
stringnullable

Full Coverage story id, the input for the story endpoint.

datagroups[]articles[]clusterHeadline
stringnullable

Short headline of the story cluster, when the record carries one.

Other outlets in the same story cluster. Empty on topic, story, publisher and headline results.

datagroups[]articles[]relatedArticles[]id
string

Article id.

datagroups[]articles[]relatedArticles[]title
string

Headline as the record gives it; a trailing outlet suffix is removed when present.

datagroups[]articles[]relatedArticles[]googleUrl
string

Working Google News link for the article.

The outlet an article is from.

datagroups[]articles[]relatedArticles[]sourcename
stringnullable

Publisher name, e.g. `Reuters`.

datagroups[]articles[]relatedArticles[]sourceurl
stringnullable

Publisher root URL, when the record gives one.

datagroups[]articles[]relatedArticles[]sourcepublicationId
stringnullable

Stable publisher id from an article record; the input for the publisher endpoint.

datagroups[]articles[]relatedArticles[]sourceiconUrl
stringnullable

Publisher favicon URL.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/google-news/headlines?language=en-US&country=US" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Headlines grouped by section.