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

DataForSEO Google News SERP

APIドキュメント
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/news/live/advanced

Get live Google News results for any keyword, location and language: headlines, sources, URLs, dates and rank.

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

プレイグラウンド

入力
Search query.
DataForSEO location code, e.g. 2840 for the United States.
Language code, e.g. "en".
Number of results to return.
出力例
レスポンスoutputs · 723 B · 34 行
[
  {
    "cost": 0,
    "status_code": 20000,
    "status_message": "Ok.",
    "tasks": [
      {
        "cost": 0,
        "data": {
          "api": "serp",
          "function": "live",
          "se": "google",
          "se_type": "news"
        },
        "id": "08200931-2190-0139-0000-86da6c337640",
        "path": [
          "v3",
          "serp",
          "google",
          "… 3 more items in the full response"
        ],
        "result": null,
        "result_count": 0,
        "status_code": 40501,
        "status_message": "Invalid Field: 'keyword'.",
        "time": "0 sec."
      }
    ],
    "tasks_count": 1,
    "tasks_error": 1,
    "time": "0.0078 sec.",
    "version": "0.1.20260806"
  }
]

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

API README

Google News SERP API

Returns live Google News results for a keyword, location and language. Each result has its source domain, a text snippet, a publish time, an image URL and its rank. Send keyword, location_code and language_code.

Use cases

  • Track which news sites appear for a brand name or product term in a given country.
  • Collect recent news snippets about a topic to feed a summary or alert.
  • Compare the Google News results for the same keyword in different locations or languages.
  • Check how high a specific publisher ranks for a news query.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/news/live/advanced" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "running shoes", "location_code": 2840, "language_code": "en"}'

The result is returned in outputs[0].

Parameters

NameTypeRequiredDescription
depthintegerNoNumber of results to return.
keywordstringNoSearch query.
language_codestringNoLanguage code, e.g. "en".
location_codeintegerNoDataForSEO location code, e.g. 2840 for the United States.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "data": {
        "api": "serp",
        "device": "desktop",
        "function": "live",
        "keyword": "running shoes",
        "language_code": "en",
        "location_code": 2840,
        "os": "windows",
        "se": "google"
      },
      "id": "11030829-1614-0139-0000-75eda89264ed",
      "path": [
        "v3"
      ],
      "result": [
        {
          "check_url": "https://www.google.com/search?q=running%20shoes&num=10&hl=en&gl=US&gws_rd=cr&tbm…",
          "datetime": "2026-11-03 08:29:31 +00:00",
          "includes_non_news_search_results": false,
          "item_types": [
            "news_search"
          ],
          "items": [
            {
              "domain": "google.com",
              "image_url": "https://api.dataforseo.com/cdn/i/11030829-1614-0139-0000-75eda89264ed:0",
              "rank_absolute": 1,
              "rank_group": 1,
              "rectangle": null,
              "snippet": "New Balance FuelCell Rebel Trail review: We think New Balance made a questionabl…",
              "time_published": "17 hours ago",
              "timestamp": "2026-11-02 15:29:29 +00:00"
            }
          ],
          "items_count": 10,
          "keyword": "running shoes",
          "language_code": "en"
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "3.8170 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "4.0184 sec.",
  "version": "0.1.20261022"
}

Response fields

FieldMeaning
tasks[].result[].items[].domainDomain of the site that published the news result.
tasks[].result[].items[].snippetShort text excerpt shown for the news result.
tasks[].result[].items[].rank_group / rank_absolutePosition of the result in the news list, starting at 1.
tasks[].result[].items[].time_publishedPublish time as relative text, such as 17 hours ago.
tasks[].result[].items[].timestampPublish time as a date and time with a UTC offset, such as 2026-11-02 15:29:29 +00:00.
tasks[].result[].items[].image_urlURL of the thumbnail image for the result.
tasks[].result[].items_countNumber of news items in the result.
tasks[].result[].check_urlThe Google News search URL for this query, location and language.
tasks[].result[].datetimeDate and time of the result set, in UTC.
tasks[].data.keyword / location_code / language_codeThe query settings that were used for the search.

Notes

  • Google now wraps some result links in a google.com/goto redirect. When that happens, domain is google.com and url is the redirect, so read the result's own site from breadcrumb (its first part, e.g. https://example.com). Checked 2026-11-24: every organic result for "deepseek harness vs hermes" (US, English) came back this way.

  • Results sit in tasks[].result[].items[]. Check status_code (20000 means Ok.) at the top level and inside each task.

  • Use location_code for the country or area, for example 2840 for the United States. Use language_code for the language, for example en.

  • Use depth to ask for more results. Send it as a number, for example "depth": 20.

  • timestamp uses the format YYYY-MM-DD HH:MM:SS +00:00, so you can sort results by date.

Pricing

Billed at the actual cost of each call, about $0.002 for the request above. Failed calls are not charged.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
DataForSEO1回あたり $0.002 からJSON
DataForSEO1回あたり $0.0102 からJSON
DataForSEO1回あたり $0.000724 からJSON
DataForSEO$0.004 / 回JSON
DataForSEO1回あたり $0.00162 からJSON
DataForSEO1回あたり $0.001105 からJSON

質問

FAQ

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

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

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

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

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

必須パラメータはありません。 任意: keyword (string), location_code (integer), language_code (string) と depth (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

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

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

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

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