Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Google News

APIドキュメント
https://api.sandbase.ai/v1/api/google/news

Search Google News by keyword, topic or publication and get headlines with source, date, thumbnail and story clusters, localized by country and language.

料金
$0.01USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 0 件 · 任意 10 件

プレイグラウンド

入力
Parameter defines the query you want to search. You can use anything that you would use in a regular Google News search. e.g. `site:`, `when:`. Parameter can't be used together with any of the `Advanced parameters`.
Parameter defines the country to use for the Google News search. It's a two-letter country code. (e.g., `us` for the United States (default), `uk` for United Kingdom, or `fr` for France). Head to the Google countries page for a full list of supported Google News countries.
Parameter defines the language to use for the Google News search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish). Head to the Google languages page for a full list of supported Google languages.
Parameter defines the Google News topic token. It is used for accessing the news results for a specific topic (e.g., "World", "Business", "Technology"). The token can be found in our JSON response or the URL of the Google News page (in the URL, it is a string of characters preceded by `/topics/`). Parameter can be used together with `section_token`.
Parameter defines the Knowledge Graph ID (`KGMID`) of a topic or location for Google News results. It is a string that starts with `/m/` or `/g/`. You can look up entities on Wikidata and use their "Freebase ID" as the kgmid. For example, `/m/0vzm` is the kgmid for Austin, TX, and `/m/02mjmr` is the kgmid for Barack Obama. Parameter can only be used alone.
Parameter defines the Google News publication token. It is used for accessing the news results from a specific publisher (e.g., "CNN", "BBC", "The Guardian"). The token can be found in our JSON response or the URL of the Google News page (in the URL, it is a string of characters preceded by `/publications/`). Parameter can be used together with `section_token`.
Parameter defines the Google News section token. It is used for accessing the sub-section of a specific topic. (e.g., "Business -> Economy"). The token can be found in our JSON response or the URL of the Google News page (in the URL, it is a string of characters preceded by `/sections/`) Parameter can be used together with `topic_token`, `publication_token`, and `so`.
Parameter defines the Google News story token. It is used for accessing the news results with full coverage of a specific story. The token can be found in our JSON response or the URL of the Google News page (in the URL, it is a string of characters preceded by `/stories/`) Parameter can be used together with `so`.
Parameter defines the sorting method. Results can be sorted by relevance or by date. By default, the results are sorted by relevance. List of supported values are: `0` - Relevance `1` - Date Parameter can be used together with `story_token` and `section_token`.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

Google News

Search Google News by keyword, topic or publication and get headlines with source, date, thumbnail and story clusters, localized by country and language.

Request

curl -X POST "https://api.sandbase.ai/v1/api/google/news" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "artificial intelligence"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
qstringNoParameter defines the query you want to search. You can use anything that you would use in a regular Google News search. e.g. site:, when:. Parameter can't be used together with any of the Advanced parameters.
glstringNoParameter defines the country to use for the Google News search. It's a two-letter country code. (e.g., us for the United States (default), uk for United Kingdom, or fr for France). Head to the Google countries page for a full list of
hlstringNoParameter defines the language to use for the Google News search. It's a two or three-letter language code. (e.g., en for English, es for Spanish, or fr for French), optionally followed by a two-letter or three-digit region code (e.g.
topic_tokenstringNoParameter defines the Google News topic token. It is used for accessing the news results for a specific topic (e.g., "World", "Business", "Technology"). The token can be found in our JSON response or the URL of the Google News page (in the
kgmidstringNoParameter defines the Knowledge Graph ID (KGMID) of a topic or location for Google News results. It is a string that starts with /m/ or /g/. You can look up entities on Wikidata and use their "Freebase ID" as the kgmid. For example, `
publication_tokenstringNoParameter defines the Google News publication token. It is used for accessing the news results from a specific publisher (e.g., "CNN", "BBC", "The Guardian"). The token can be found in our JSON response or the URL of the Google News page (i
section_tokenstringNoParameter defines the Google News section token. It is used for accessing the sub-section of a specific topic. (e.g., "Business -> Economy"). The token can be found in our JSON response or the URL of the Google News page (in the URL, it is
story_tokenstringNoParameter defines the Google News story token. It is used for accessing the news results with full coverage of a specific story. The token can be found in our JSON response or the URL of the Google News page (in the URL, it is a string of c
sostringNoParameter defines the sorting method. Results can be sorted by relevance or by date. By default, the results are sorted by relevance. List of supported values are: 0 - Relevance 1 - Date Parameter can be used together with story_token
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Google Newsこの API
Google
$0.01 / 回JSON
Google$0.01 / 回JSON
Google$0.015 / 回JSON
Google1回あたり $0.002 からJSON
Google1回あたり $0.0015 からJSON
Google$0.01 / 回JSON

ガイド:Best Google API in 2026: Pricing Compared

質問

FAQ

Google News API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/google/news に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Google News API の料金はいくらですか?

1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Google News API はどのパラメータを受け付けますか?

必須パラメータはありません。 任意: q (string), gl (string), hl (string), topic_token (string), kgmid (string) と publication_token (string) と他 4 件。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Google News API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。

Google の開発者アカウントまたは API key は必要ですか?

いいえ。Google News は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Google の API アクセスを別途申請する必要はありません。