Skip to content

Google量统一搜索数据库

概述

Google量统一搜索数据库是两类数据的组合:

  • 高级 Google SERP 数据库:覆盖 67 个地区,数百万条搜索结果页(SERP)数据,并支持大量高级 SERP 特性,如精选摘要、知识图谱、People Also Ask、Top Stories 等;
  • Google 数据库:覆盖数十亿搜索词,并附带搜索量趋势、CPC、竞争度等广告指标。

该数据库提供 JSON 格式

  • 示例数据下载:可下载美国地区、英文语言的 JSON 示例文件
  • 地区/语言列表:可通过位置与语言接口获取,或使用官方提供的 CSV 列表

获取可用地区与语言代码,请调用:

/v3/dataforseo_labs/locations_and_languages

数据格式说明

数据库中的每条记录,表示一个在指定地区与语言下的指标和 SERP 数据集合。

顶层字段

字段类型说明
keywordstring,使用 UTF-8 编码
locationinteger地区代码,唯一标识对应地区,例如 2840 表示美国
languagestring语言代码,例如 en 表示英文
spellstring搜索引擎自动纠正后的;若原词被纠正,会返回纠正词及纠正类型
spell_typestring自动纠正类型,可选值:did_you_meanshowing_results_forno_results_found_forincluding_results_for
keyword_infoobject当前的指标数据
serp_infoobject当前对应的 SERP 数据
extraobject补信息
search_intent_infoobject搜索意图信息

获取地区与语言代码

可以通过以下接口获取支持的地区与语言及对应代码:

/v3/dataforseo_labs/locations_and_languages

示例基础地址:

https://api.seermartech.cn/v3/dataforseo_labs/locations_and_languages


keyword_info 字段说明

字段类型说明
search_volumeinteger平均月搜索量,表示在 google.com 上该的大致搜索次数
cpcfloat平均点击成本。该值基于广告顶部出价数据推算
competitionfloat竞争度,取值范围 01
competition_levelstring付费搜索竞争等级:LOWMEDIUMHIGH;未知时为 null
low_top_of_page_bidfloat首页顶部最低出价参考值,约高于最低出价的 20%
high_top_of_page_bidfloat首页顶部较高出价参考值,约高于最低出价的 80%
time_updatestring数据最后更新时间,ISO 8601 格式,如 2020-09-12T00:07:43.0733218Z
categoriesarray产品与服务分类
historyobject历史月搜索量,通常可追溯过去 4 年

history 示例

json
{
 "202203": 210,
 "202204": 170,
 "202205": 210
}

serp_info 字段说明

字段类型说明
check_urlstring直达搜索结果页的链接,用于核对结果
items_countintegerserp 数组中返回的数量
keyword_difficultyinteger排名难度,范围 0-100,表示自然结果前 10 的难度
se_results_countintegerSERP 总结果数
time_updatestringSERP 数据最新更新时间,ISO 8601 格式
previous_updated_timestring上一次 SERP 更新时间,ISO 8601 格式
item_typesarray本次 SERP 中出现的结果类型列表
serparray该采集到的 SERP素数据

item_types 可选值

answer_box, app, carousel, multi_carousel, featured_snippet, google_flights, google_reviews, google_posts, google_hotels, images, jobs, knowledge_graph, local_pack, hotels_pack, map, organic, paid, people_also_ask, related_searches, people_also_search, shopping, top_stories, twitter, video, events, mention_carousel, recipes, top_sights, scholarly_articles, popular_products, podcasts, questions_and_answers, find_results_on, stocks_box, visual_stories, commercial_units, local_services, math_solver, currency_box, product_considerations, short_videos, refine_products, explore_brands, perspectives, discussions_and_forums, compare_sites, courses, third_party_reviews, ai_overview


SERP 通用字段

大多数 serp素都以下通用字段:

字段类型说明
typestring素类型
positionstring素在页面中的侧边位置,可为 leftright
xpathstring素的 XPath
traffic_costfloat预估将同等自然流量转化为付费流量所需成本,或按 etv × cpc 推算的流量价值
rank_groupinteger同类型组排名
rank_absoluteintegerSERP局绝对排名
etvfloat预估自然流量

主要 SERP素结构

由于支持的 SERP 类型非常多,以下保留最核心、最常用的结构说明。余类型遵循相同模式:类型标识、字段以及通用排名字段。

1. organic 自然结果

字段类型说明
titlestring标题
pre_snippetstring描述前附加信息
descriptionstring描述文本
breadcrumbstring面屑
imagesarray图片列表
is_imageboolean是否图片
is_videoboolean是否视频
is_featured_snippetboolean是否为精选摘要来源
extended_snippetstring描述后附加信息
amp_versionboolean是否有 AMP 版本
ratingobject评分信息
highlightedarray描述中加粗词
linksarray站点链接
domainstring完整域名
main_domainstring主域名,不含子域
urlstring结果绝对 URL
relative_urlstring相对 URL
is_maliciousboolean是否被标记为恶意
faqobjectFAQ 扩展信息
is_newboolean相比上次数据库版本是否为新结果
is_upboolean相比上次是否上升
is_downboolean相比上次是否下降
previous_rank_absoluteinteger上次绝对排名
extended_people_also_searcharray扩展搜索
cache_urlstring页面缓存链接
priceobject价格信息
related_search_urlstring相似搜索链接
related_resultarray同域结果
about_this_resultobject“此结果”面板信息
is_web_storyboolean是否为 Web Story
timestampstring发布时间,UTC 格式
rank_infoobject页面与主域的排名信息

rating 对象

字段类型说明
rating_typestring评分类型:Max5PercentsCustomMax
valueinteger/float评分值
votes_countinteger评价数
rating_maxinteger最大评分值

about_this_result 对象

字段类型说明
typestring固定为 about_this_result_element
urlstring结果 URL
sourcestring附加信息来源
source_infostring来源说明或站点背景信息
source_urlstring来源链接
languagestring结果语言
locationstring结果适用地区
search_termsarray匹搜索词
related_termsarray搜索词

rank_info 对象

字段类型说明
page_rankinteger页面等级分
main_domain_rankinteger主域等级分

2. paid 付费结果

字段类型说明
titlestring广告标题
domainstring广告域名
descriptionstring广告描述
breadcrumbstring广告面屑
urlstring广告目标 URL
main_domainstring主域名
relative_urlstring相对链接
highlightedarray加粗词
extra.ad_aclkstring广告标识符
description_rowsarray扩展描述
linksarray广告附加链接
is_newboolean是否为新广告结果
is_upboolean是否排名上升
is_downboolean是否排名下降
previous_rank_absoluteinteger上次绝对排名
priceobject商品/服务价格
rank_infoobject页面与域名排名信息

字段类型说明
titlestring摘要标题
featured_titlestring来源页面标题
descriptionstring摘要文本
tableobject表格型摘要
domainstring域名
main_domainstring主域名
urlstring结果 URL
relative_urlstring相对 URL
imagesarray图片
timestampstring发布时间
rank_infoobject页面/域名排名信息

4. people_also_ask 人还问

字段类型说明
itemsarray问答项列表
typestring固定为 people_also_ask

people_also_ask_element

字段类型说明
titlestring问题标题
seed_questionstring触发扩展的问题
xpathstring问题 XPath
expanded_elementarray展开后的答案

5. knowledge_graph 知识图谱

字段类型说明
titlestring实体名称
subtitlestring副标题
descriptionstring描述
card_idstring卡片 ID
urlstring网址
logo_urlstringLogo 图片 URL
itemsarray知识图谱子

知识图谱可能以下子类型:

  • knowledge_graph_carousel_item
  • knowledge_graph_description_item
  • knowledge_graph_images_item
  • knowledge_graph_list_item
  • knowledge_graph_row_item
  • knowledge_graph_part_item
  • knowledge_graph_shopping_item
  • knowledge_graph_expanded_item
  • knowledge_graph_ai_overview_item

6. ai_overview AI 概览

字段类型说明
typestring固定为 ai_overview
asynchronous_ai_overviewboolean是否异步加载
markdownstringMarkdown 格式
itemsarrayAI 概览项
referencesarray引用来源
positionstring页面位置
traffic_costfloat流量价值
rank_groupinteger分组排名
rank_absoluteinteger绝对排名
etvfloat预估流量

ai_overview_element

字段类型说明
titlestring标题
textstring文本
markdownstringMarkdown
linksarray链接
imagesarray图片
referencesarray参考来源

ai_overview_reference

字段类型说明
sourcestring来源名称
domainstring来源域名
urlstring来源页面
titlestring来源标题
textstring被引用文本片段

7. 常见 SERP 类型

以下类型也会在数据库中返回,并采用同样的结构化方式:

  • carousel
  • multi_carousel
  • answer_box
  • related_searches
  • people_also_search
  • local_pack
  • top_stories
  • twitter
  • map
  • google_flights
  • google_reviews
  • video
  • images
  • shopping
  • jobs
  • events
  • mention_carousel
  • find_results_on
  • stocks_box
  • currency_box
  • recipes
  • top_sights
  • scholarly_articles
  • popular_products
  • podcasts
  • questions_and_answers
  • hotels_pack
  • google_posts
  • visual_stories
  • commercial_units
  • local_services
  • google_hotels
  • math_solver
  • app
  • product_considerations
  • short_videos
  • refine_products
  • explore_brands
  • perspectives
  • discussions_and_forums
  • compare_sites
  • third_party_reviews
  • courses

extra 字段说明

字段类型说明
core_keywordstring分组中的核心词;若无匹则为 null
synonym_clustering_algorithmstring同义词识别算法:keyword_metricstext_processing
detected_languagestring系统识别出的语言
keyword_difficultyinteger难度,范围 0-100

search_intent_info 字段说明

字段类型说明
main_intentstring主要搜索意图:informationalnavigationalcommercialtransactional
foreign_intentarray补搜索意图,取值同上
last_updated_timestring搜索意图数据更新时间,ISO 8601 格式

计费说明

该数据库的费用取决于数据库大小以及地区参数

原文未提供固定单价,因此无法换算统一参考人民币价格。 扣费以响应头 X-SeerMarTech-Charge-CNY 为准。


认证说明

调用本平台接口时,请使用 Bearer Token:

Authorization: Bearer smt_live_YOUR_KEY


示例:获取地区与语言支持列表

cURL

bash
curl --request GET \
 --url "https://api.seermartech.cn/v3/dataforseo_labs/locations_and_languages" \
 --header "Authorization: Bearer smt_live_YOUR_KEY"

Python

python
import requests

url = "https://api.seermartech.cn/v3/dataforseo_labs/locations_and_languages"
headers = {
 "Authorization": "Bearer smt_live_YOUR_KEY"
}

response = requests.get(url, headers=headers)
print(response.json)

TypeScript

typescript
const response = await fetch(
 "https://api.seermartech.cn/v3/dataforseo_labs/locations_and_languages",
 {
 method: "GET",
 headers: {
 Authorization: "Bearer smt_live_YOUR_KEY",
 },
 }
);

const data = await response.json;
console.log(data);

JSON 记录示例

下面是该数据库单条记录的结构化示例。原始示例极长,这里保留字段结构,便于理解。

json
{
 "keyword": "no deposit cash bonus",
 "location": 2840,
 "language": "en",
 "spell": null,
 "spell_type": null,
 "keyword_info": {
 "search_volume": 90,
 "cpc": 8.948175,
 "competition": 1,
 "competition_level": "HIGH",
 "low_top_of_page_bid": null,
 "high_top_of_page_bid": null,
 "time_update": "2020-09-12T00:07:43.0733218Z",
 "categories": [],
 "history": {
 "202203": 210,
 "202204": 170,
 "202205": 210
 }
 },
 "serp_info": {
 "check_url": "https://www.google.com/search?q=example",
 "items_count": 84,
 "keyword_difficulty": 67,
 "se_results_count": 73,
 "time_update": "2022-04-03T14:23:56.6678836Z",
 "previous_updated_time": "2022-02-05T21:18:02.7517072Z",
 "item_types": [
 "organic",
 "featured_snippet",
 "people_also_ask",
 "ai_overview"
 ],
 "serp": [
 {
 "type": "organic",
 "title": "How to pronounce TENTATIVELY in English",
 "description": "How to pronounce tentatively...",
 "domain": "dictionary.cambridge.org",
 "main_domain": "cambridge.org",
 "url": "https://dictionary.cambridge.org/us/pronunciation/english/tentatively",
 "is_new": false,
 "is_up": true,
 "is_down": false,
 "previous_rank_absolute": 5,
 "position": "left",
 "xpath": "/html/body/div/div/div/div/div/div/div/div/div",
 "traffic_cost": 0,
 "rank_group": 1,
 "rank_absolute": 4,
 "etv": 33.44
 },
 {
 "type": "featured_snippet",
 "title": "BRS Deluxe Carbon & GFO Reactor",
 "domain": "www.youtube.com",
 "main_domain": "youtube.com",
 "url": "https://www.youtube.com/watch?v=RNEZ8H_DLgQ",
 "position": "left",
 "xpath": "/html/body/div/div/div/div/div/div/div/div/div/block-component/div/div/div/div/div",
 "traffic_cost": 0,
 "rank_group": 1,
 "rank_absolute": 1,
 "etv": 6.08
 },
 {
 "type": "ai_overview",
 "asynchronous_ai_overview": false,
 "items": [
 {
 "type": "ai_overview_element",
 "title": "Common Causes:",
 "text": "Ingrown hairs, irritation, folliculitis..."
 }
 ],
 "position": "left",
 "xpath": "/html/body/div/div/div/div/div/div/div/div/div/div/div",
 "traffic_cost": 14.591999999999999,
 "rank_group": 1,
 "rank_absolute": 1,
 "etv": 145.92
 }
 ]
 },
 "extra": {
 "core_keyword": null,
 "detected_language": "en",
 "keyword_difficulty": 22
 },
 "search_intent_info": {
 "main_intent": "navigational",
 "foreign_intent": [],
 "last_updated_time": "2023-03-03T08:19:40.9387576Z"
 }
}

注意事项

  1. 数据库为离线 JSON 数据文件,不是单条查询接口返回格式。
  2. 同一个会同时附带:
  • 维度指标;
  • SERP 结构化结果;
  • 搜索意图与补属性。
  1. 不同 type 的 SERP素字段差异很大,接时建议按 type 分发解析。
  2. 时间字段通常采用:
  • ISO 8601;
  • 或 UTC 时间字符串格式 yyyy-mm-dd hh-mm-ss +00:00
  1. 某些价格、汇率、股票等数据依赖搜索结果展示时点,时效性。

实用场景

  • 构建景库:将搜索量、CPC、竞争度、SERP 特性统一库,支撑 SEO 选词、聚类与机会识别。
  • 识别 SERP 版位机会:分析 item_typesserp 结构,判断某类更容易触发精选摘要、PAA、视频或本地,从而优化策略。
  • 评估自然流量商业价值:结合 etvtraffic_costkeyword_difficulty,判断获取自然流量的产出比。
  • 监控结果页结构变化:基于 is_newis_upis_downprevious_rank_absolute 跟踪排名与 SERP 组件变化,发现竞争格局波动。
  • 分析搜索意图与匹度:利用 search_intent_infoabout_this_resultai_overview 等字段,优化落地页类型与形式,提高覆盖率与转化率。

统一入口:官网 · LLM API · 控制台