Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

DataForSEO Google Top Searches

API 文档
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/top_searches/live

Browse popular Google keywords for a location and language with search volume, CPC and competition, filtered and sorted as needed.

价格
起价 $0.0132美元 / 次调用
方法
POST
响应
JSON
参数
0 个必填 · 3 个可选

Playground

输入
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Google Top Searches API

Returns a list of popular Google keywords for a location and language. Each keyword comes with search volume, CPC, competition, keyword difficulty and average backlink data. You send location_code and language_code, and you can set limit to control how many rows come back.

Use cases

  • Pull the highest-volume Google keywords in the US to see what people search for most.
  • Build a keyword list with CPC and competition values to estimate paid search costs for a market.
  • Check the monthly search history of a top keyword to see how its volume changed over recent months.
  • Compare keyword_difficulty and backlink averages across top keywords to judge how hard they are to rank for.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/top_searches/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location_code": 2840, "language_code": "en", "limit": 10}'

The result is returned in outputs[0].

Parameters

NameTypeRequiredDescription
language_codestringNo
limitintegerNo
location_codeintegerNo

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": "dataforseo_labs",
        "function": "top_searches",
        "language_code": "en",
        "limit": 10,
        "location_code": 2840,
        "se_type": "google"
      },
      "id": "11030829-1614-0404-0000-dc861d282e14",
      "path": [
        "v3"
      ],
      "result": [
        {
          "items": [
            {
              "avg_backlinks_info": {
                "backlinks": 323337.2,
                "dofollow": 183183,
                "last_updated_time": "2023-10-12 06:04:23 +00:00",
                "main_domain_rank": 846.3,
                "rank": 268.1,
                "referring_domains": 1969.1,
                "referring_main_domains": 3611.4,
                "referring_pages": 228521.2
              },
              "clickstream_keyword_info": null,
              "keyword": "yout7be",
              "keyword_info": {
                "categories": [
                  10007
                ],
                "competition": 0.01,
                "competition_level": "LOW",
                "cpc": 0.03,
                "high_top_of_page_bid": 0.02,
                "last_updated_time": "2026-10-16 04:37:35 +00:00",
                "low_top_of_page_bid": 0.01,
                "monthly_searches": [
                  {
                    "month": 9,
                    "search_volume": 226000000,
                    "year": 2026
                  }
                ]
              },
              "keyword_info_normalized_with_bing": null,
              "keyword_info_normalized_with_clickstream": null,
              "keyword_properties": {
                "core_keyword": "youtube",
                "detected_language": "fi",
                "is_another_language": true,
                "keyword_difficulty": 100,
                "se_type": "google",
                "synonym_clustering_algorithm": "keyword_metrics",
                "words_count": 1
              },
              "language_code": "en"
            }
          ],
          "items_count": 10,
          "language_code": "en",
          "location_code": 2840,
          "offset": 0,
          "offset_token": "eyJDdXJy…",
          "se_type": "google",
          "total_count": 1244400009
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "6.4702 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "6.4872 sec.",
  "version": "0.1.20261022"
}

Response fields

FieldMeaning
tasks[].result[].items[].keywordThe popular search term.
tasks[].result[].items[].keyword_info.monthly_searches[]Search volume per month. Each row has year, month and search_volume.
tasks[].result[].items[].keyword_info.cpcCost per click for the keyword, as a number.
tasks[].result[].items[].keyword_info.competition / tasks[].result[].items[].keyword_info.competition_levelCompetition as a number and as a label such as LOW.
tasks[].result[].items[].keyword_info.low_top_of_page_bid / tasks[].result[].items[].keyword_info.high_top_of_page_bidLow and high top-of-page bid values for the keyword.
tasks[].result[].items[].keyword_info.categories[]Numeric category IDs assigned to the keyword.
tasks[].result[].items[].keyword_properties.keyword_difficultyDifficulty score for ranking on this keyword. The sample shows 100 for the top rows.
tasks[].result[].items[].keyword_properties.detected_language / tasks[].result[].items[].keyword_properties.is_another_languageThe language detected in the keyword text, and whether it differs from the requested language.
tasks[].result[].items[].avg_backlinks_info.backlinks / tasks[].result[].items[].avg_backlinks_info.referring_domainsAverage backlink and referring domain counts for pages that rank for the keyword.
tasks[].result[].total_countTotal number of keywords available for this location and language.

Notes

  • Use location_code 2840 and language_code en for the example request. The response echoes both values in tasks[].result[].
  • To get the next page, pass the value of tasks[].result[].offset_token from the response. The response also reports offset and items_count.
  • keyword_info.last_updated_time and avg_backlinks_info.last_updated_time use the format YYYY-MM-DD HH:MM:SS +00:00.
  • Some top keywords are misspellings or other-language terms. Check keyword_properties.is_another_language to filter them out.

Pricing

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

探索更多

相关 APIs

全部 APIs
API价格响应
DataForSEO每次调用从 $0.0132 起JSON
DataForSEO每次调用从 $0.0102 起JSON
DataForSEO每次调用从 $0.000724 起JSON
DataForSEO$0.004 每次调用JSON
DataForSEO每次调用从 $0.00162 起JSON
DataForSEO每次调用从 $0.001105 起JSON

问题

常见问题

如何使用 DataForSEO Google Top Searches API?

向 https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/top_searches/live 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

DataForSEO Google Top Searches API 的价格是多少?

起价每次调用 $0.0132,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

DataForSEO Google Top Searches API 接受哪些参数?

无需参数。 可选:location_code (integer), language_code (string) 和 limit (integer)。 Parameters 表和本页的 Playground 列出了每个字段。

DataForSEO Google Top Searches API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 DataForSEO 开发者账户或 API key 吗?

不需要。DataForSEO Google Top Searches 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 DataForSEO API 访问权限。