Skip to main content
GET
按 id 获取 Google My Business 信息结果

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

id
string
必填

DataForSEO 任务 ID。

查询参数

id
string

任务标识符 本系统中采用 UUID 格式的唯一任务标识符;你可以在 30 天内随时使用它请求任务结果。

响应

成功响应

version
string

API 的当前版本

version.status_code
integer

常规状态代码 您可以在此处查看完整的响应代码列表。注意:我们强烈建议设计必要的系统来处理相关异常或错误情况

version.status_message
string

一般信息消息 你可以在此处查看一般信息消息的完整列表

version.time
string

执行时间(秒)

version.cost
number

所有任务的总成本(美元)

version.tasks_count
integer

tasks 数组中的任务数量

version.tasks_error
integer

tasks 数组中返回错误的任务数量

tasks
string[]

任务数组

tasks.id
string

任务标识符 我们系统中采用 UUID 格式的唯一任务标识符

tasks.status_code
integer

由 DataForSEO 生成的任务状态码;范围为 10000-60000;你可以在此处查看完整的响应代码列表

tasks.status_message
string

任务的提示信息 你可以在此处查看通用提示信息的完整列表

tasks.time
string

执行时间(秒)

tasks.cost
number

任务成本(美元)

tasks.result_count
integer

result 数组中的元素数量

tasks.path
string[]

URL 路径

tasks.data
object

包含与您在 POST 请求中指定的参数相同的参数

result
string[]

结果数组

result.keyword
string

在 POST 数组中收到的关键词 返回关键词时,将解码 %##(加号字符‘+’将被解码为空格字符)。如果您在设置任务时于 keyword 字段中指定了 cid 参数,此字段将包含该参数;示例:cid:2946633002421908862。有关此参数的更多信息,请参阅此帮助中心文章

result.se_domain
string

POST 数组中指定的搜索引擎域名

result.location_code
integer

POST 数组中的位置代码

result.language_code
string

POST 数组中的语言代码

result.check_url
string

搜索引擎结果的直接 URL,你可以使用它确认我们提供的结果是否准确

result.datetime
string

收到结果的日期和时间,采用 UTC 格式:“yyyy-mm-dd hh-mm-ss +00:00”;示例:2019-11-15 12:57:46 +00:00

result.item_types
string[]

项目类型 items 数组中出现的搜索引擎结果类型;可能的项目类型:google_business_info

result.items_count
integer

项目类型 items 数组中的项目数量

items
string[]

遇到的项目类型 items 数组中出现的搜索引擎结果类型;可能的项目类型:google_business_info

items.type
string

元素类型 = ‘google_business_info’

items.rank_group
integer

在具有相同 type 值的一组元素中的位置 具有不同 type 值的元素的位置不计入 rank_group

items.rank_absolute
integer

在所有元素中的绝对排名

items.position
string

SERP 中的对齐方式

items.title
string

SERP 中元素的标题 收集结果所针对的商业实体名称

items.original_title
string

元素的原标题 未经 Google 翻译的原标题

items.description
string

SERP 中元素的描述 收集结果所针对的商业实体的描述

items.category
string

商家类别 最能描述该商业实体所提供服务的 Google My Business 常规类别

items.category_ids
string[]

全局类别 ID 不随所选国家/地区变化的通用类别 ID

items.additional_categories
string[]

其他业务类别 其他 Google My Business 类别,用于更详细地描述该商业实体提供的服务

items.cid
string

Google 定义的客户端 id 本地商家的唯一 id;有关该标识符的更多信息,请参阅此帮助中心文章

items.feature_id
string

SERP 中元素的唯一标识符 有关该标识符的更多信息,请参阅此帮助中心文章

items.address
string

企业实体的街道地址

items.address_info
object

包含企业实体地址组成部分的对象

items.borough
string

企业实体所在地所属的行政单位或区域

items.city
string

企业实体所在城市的名称

items.zip
string

商业实体的邮政编码

items.region
string

商业实体所在地的 DMA 区域

items.country_code
string

企业实体所在地的 ISO 国家代码

items.place_id
string

唯一地点标识符 元素中所展示本地商家的 place id;有关该标识符的更多信息,请参阅此帮助中心文章

items.phone
string

商业实体的电话号码

items.url
string

业务实体的绝对 URL

items.contact_url
string

首选联系页面的 URL

items.contributor_url
string

用户或实体的本地向导个人资料 URL(如有)

items.book_online_url
string

元素的“在线预订”按钮中的 URL 将用户引导至该商业实体的在线预订或下单页面的 URL

items.domain
string

商业实体的域名

Google My Business 资料中展示的徽标 URL

items.main_image
string

Google My Business 资料中展示的主图片 URL

items.total_photos
integer

Google My Business 资料中展示的图片总数

items.snippet
string

有关企业实体的其他信息

items.latitude
number

Google 地图中本地商家的纬度坐标 示例:"latitude": 51.584091

items.longitude
number

Google 地图中本地商家的经度坐标 示例:"longitude": -0.31365919999999997

items.is_claimed
boolean

指示该实体是否已由其所有者在 Google Maps 上验证

items.attributes
object

以用户审核项形式呈现的服务详情; 以审核项形式显示的商业实体服务详情,基于用户反馈和商家 category

items.available_attributes
object

可用属性表示企业实体可提供的属性

items.unavailable_attributes
object

不可用属性表示企业实体无法提供的属性

items.place_topics
object

客户评论中提及的关键词 包含企业实体的客户评论中与产品/服务相关的最热门关键词,以及提及每个关键词的评论数量 示例:"place_topics": {"egg roll": 48,"birthday": 33}

items.rating
object

元素评分 基于评论得出并显示在 SERP 中的热门程度

items.rating_type
string

评分类型 此处可能包含以下元素:Max5PercentsCustomMax

items.value
integer

评分值

items.votes_count
integer

反馈数量

items.rating_max
integer

rating_type 的最大值

items.rating_distribution
object

商业实体的评分分布,该对象显示用户评价的一星至五星评分数量

items.1
integer

1 星评分的数量

items.2
integer

2 星评分的数量

items.3
integer

3 星评分数量

items.4
integer

4 星评分的数量

items.5
integer

5 星评分数量

相关业务实体

items.work_time
object

工作时间详情 与企业实体营业时间相关的信息

items.work_hours
object

本地场所工作时间的营业时间信息

items.timetable
object

工作时间表

items.sunday
string[]

周日工作时间

items.open
object

开盘时间

items.hour
integer

采用 24 小时制的小时数

items.minute
integer

分钟

items.close
object

关闭时间

items.monday
string[]

星期一的工作时间

items.tuesday
string[]

周二的工作时间

items.wednesday
string[]

周三的工作时间

items.thursday
string[]

周四的工作时间

items.friday
string[]

周五的工作时间

items.saturday
string[]

星期六的工作时间

items.current_status
string

场所的当前状态 可能的值:openedclosedtemporarily_closedclosed_forever

与企业实体繁忙时段相关的热门时段信息

热门时段:本地商家在一周中每天繁忙时段的信息

星期日的繁忙时段 可采用对应星期日期的值

繁忙时段

24 小时制的小时数

分钟

热门程度指数0100 范围内衡量的相对时段热门程度指数;值越高表示一天中的该时段越繁忙

可与商家进行的交互 可直接从搜索结果中与商家进行交互的选项列表

元素类型 = ‘menu’

元素标题 在线菜单系统的域名

查看菜单的 URL

列出可用的配送服务

商家是否属于目录的一部分 表示该商家是否属于目录的一部分;如果为 true,则该项目属于由地址相同的商家组成的更大目录(例如商场或商务中心);注意:如果该商家是目录中的父项目,则值为 null

directory
string[]

目录中的项目包含位于目标商业场所内且地址相同的商家信息

directory.title
string

SERP 中元素的标题,即商业实体的名称

directory.items
string[]

目录项数组

directory.type
string

元素类型 = ‘maps_search’

directory.rank_group
integer

在具有相同 type 值的一组元素中的位置 具有不同 type 值的元素的位置不计入 rank_group

directory.rank_absolute
integer

在所有元素中的绝对排名

directory.domain
string

商业实体的域名

directory.url
string

业务实体的绝对 URL

directory.rating
object

元素评分 基于评论得出并显示在 SERP 中的热门程度

directory.rating_type
string

评分类型 此处可能包含以下元素:Max5PercentsCustomMax

directory.value
integer

评分值

directory.votes_count
integer

反馈数量

directory.rating_max
integer

rating_type 的最大值

directory.rating_distribution
object

商业实体的评分分布,该对象显示用户评价的一星至五星评分数量

directory.1
integer

1 星评分的数量

directory.2
integer

2 星评分的数量

directory.3
integer

3 星评分数量

directory.4
integer

4 星评分的数量

directory.5
integer

5 星评分数量

directory.snippet
string

有关该企业实体的其他信息

directory.address
string

企业实体的街道地址

directory.address_info
object

包含企业实体地址组成部分的对象

directory.borough
string

企业实体所在地所属的行政单位或区域

directory.city
string

企业实体所在城市的名称

directory.zip
string

商业实体的邮政编码

directory.region
string

商业实体所在地的 DMA 区域

directory.country_code
string

企业实体所在地的 ISO 国家代码

directory.place_id
string

唯一地点标识符 元素中所展示本地商家的 place id;有关该标识符的更多信息,请参阅此帮助中心文章

directory.phone
string

商业实体的电话号码

directory.main_image
string

Google My Business 资料中展示的主图片 URL

directory.total_photos
integer

Google My Business 资料中展示的图片总数

directory.category
string

商家类别 最能描述该商业实体所提供服务的 Google My Business 常规类别

directory.category_ids
string[]

全局类别 ID 不随所选国家/地区变化的通用类别 ID

directory.work_hours
object

工作时间 本地商家的工作时间信息

directory.feature_id
string

SERP 中元素的唯一标识符 有关该标识符的更多信息,请参阅此帮助中心文章

directory.cid
string

Google 定义的客户端 ID 本地商家的唯一 ID;可与 Google Reviews API 配合使用,以获取完整的评论列表。有关此标识符的更多信息,请参阅此帮助中心文章

directory.latitude
number

Google 地图中本地商家的纬度坐标 示例:"latitude": 51.584091

directory.longitude
number

Google 地图中本地商家的经度坐标 示例:"longitude": -0.31365919999999997

directory.is_claimed
boolean

指示该实体是否已由其所有者在 Google Maps 上验证

directory.local_justifications
string[]

Google 本地结果依据 用于“说明”该商家为何会出现在搜索查询结果中的文本片段

directory.is_directory_item
boolean

商家是否属于目录的一部分 表示该商家是否属于目录的一部分;如果为 true,则该项目属于由地址相同的商家组成的更大目录(例如商场或商务中心);注意:如果该商家是目录中的父项目,则值为 null

directory.price_level
string

property price level 可取以下值:inexpensivemoderateexpensivevery_expensive;如果没有价格等级信息,则该值为 null

directory.hotel_rating
integer

酒店星级;星级范围为 1-5 星,了解更多;如果没有酒店星级信息,该值将为 null