Google News

List Google News publisher articles

List Google News publisher articles with publisher URLs, images, authors and labels.

GET/v1/google-news/publishers/{publicationId}
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
3
publicationIdstringrequiredpath

Google News publication id, from the `topics/resolve` endpoint or an article record's `source.publicationId`.

min 10 chars · max 2048 chars · pattern: ^[A-Za-z0-9_-]+$

languagestringoptionalquery

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

countrystringoptionalquery

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
48

Endpoint-specific response payload.

datalookupStatus
string

`found` when the entity exists, including when it has no articles right now. `not_found` when the id does not exist.

one of: found, not_found

The publisher record; null when the id does not exist.

datapublisherid
string

Topic, tab or publication id.

datapublishername
stringnullable

Topic name. Null when there is none (a publisher stream).

The topic's sub-tabs.

datapublishertabs[]id
string

Tab id, for the topic endpoint's `tab` parameter.

datapublishertabs[]name
string

Tab name as Google News displays it, e.g. `Latest` or `NFL`.

Recent articles, with publisher URLs, images and authors.

dataarticles[]id
string

Article id; the same id on every route.

dataarticles[]title
string

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

dataarticles[]publishedAt
stringnullable

Publication time in UTC, when the record gives one.

dataarticles[]datePrecision
string

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

one of: second, day

dataarticles[]googleUrl
stringnullable

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

dataarticles[]url
stringnullable

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

dataarticles[]ampUrl
stringnullable

AMP form of the publisher URL.

Article image, or null when the record has none.

dataarticles[]imageurl
stringnullable

The publisher's own image URL.

dataarticles[]imagewidth
integernullable

Image width in pixels.

dataarticles[]imageheight
integernullable

Image height in pixels.

The outlet an article is from.

dataarticles[]sourcename
stringnullable

Publisher name, e.g. `Reuters`.

dataarticles[]sourceurl
stringnullable

Publisher root URL, when the record gives one.

dataarticles[]sourcepublicationId
stringnullable

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

dataarticles[]sourceiconUrl
stringnullable

Publisher favicon URL.

Authors of the article.

dataarticles[]authors[]name
string

Author name as Google News displays it.

dataarticles[]authors[]topicId
stringnullable

Author topic id, when the author has one.

dataarticles[]label
stringnullable

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

dataarticles[]storyId
stringnullable

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

dataarticles[]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.

dataarticles[]relatedArticles[]id
string

Article id.

dataarticles[]relatedArticles[]title
string

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

dataarticles[]relatedArticles[]googleUrl
string

Working Google News link for the article.

The outlet an article is from.

dataarticles[]relatedArticles[]sourcename
stringnullable

Publisher name, e.g. `Reuters`.

dataarticles[]relatedArticles[]sourceurl
stringnullable

Publisher root URL, when the record gives one.

dataarticles[]relatedArticles[]sourcepublicationId
stringnullable

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

dataarticles[]relatedArticles[]sourceiconUrl
stringnullable

Publisher favicon URL.

datastreamStatus
stringnullable

Visible state of the publisher stream; null on `not_found`. `unavailable` means the outlet exists but its stream is not available in this edition: pass the outlet's own language and country. `empty` means the outlet has no articles in this edition right now.

one of: live, empty, unreadable, unavailable, null

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`.

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/publishers/CAAqJQgKIh9DQklTRVFnTWFnMEtDM0psZFhSbGNuTXVZMjl0S0FBUAE" \
  -H "x-api-key: YOUR_API_KEY"

Responses

A publisher's recent articles.