数据 API / DataForSEO / Business Data
Get Google My Business Info Results by id
Retrieves a queued Google Business Profile lookup by id. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. ⚠️ The response size was fixed by the depth or limit set at submit time and cannot be narrowed here; if it is too large, resubmit smaller rather than paging.
参数
路径
idstring必填DataForSEO task ID.
请求示例
curl -X GET "https://openapi.felo.ai/v1/beta/dataforseo/business_data/google/my_business_info/task_get/{id}" \
-H "Authorization: Bearer $FELO_API_KEY"响应
响应字段
versionstring可选the current version of the API
status_codeinteger可选general status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_messagestring可选general informational message you can find the full list of general informational messages here
timestring可选execution time, seconds
costnumber可选*total tasks cost, USD*
tasks_countinteger可选*the number of tasks in the
tasksarray*tasks_errorinteger可选*the number of tasks in the
tasksarray that were returned an error*tasksstring[]可选array of tasks
idstring可选task identifier unique task identifier in our system in the UUID format
status_codeinteger可选status code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of the response codes here
status_messagestring可选informational message of the task you can find the full list of general informational messages here
timestring可选execution time, seconds
costnumber可选cost of the task, USD
result_countinteger可选number of elements in the
resultarraypathstring[]可选URL path
dataobject可选contains the same parameters that you specified in the POST request
resultstring[]可选array of results
keywordstring可选keyword received in a POST array keyword is returned with decoded %## (plus character ‘+’ will be decoded to a space character) this field will contain the
cidparameter if you specified it in thekeywordfield when setting a task; example:cid:2946633002421908862learn more about the parameter in this help center articlese_domainstring可选search engine domain as specified in a POST array
location_codeinteger可选location code in a POST array
language_codestring可选language code in a POST array
check_urlstring可选direct URL to search engine results you can use it to make sure that we provided accurate results
datetimestring可选date and time when the result was received in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example:
2019-11-15 12:57:46 +00:00item_typesstring[]可选item types types of search engine results encountered in the
itemsarray; possible item types:google_business_infoitems_countinteger可选item types the number of items in the
itemsarrayitemsstring[]可选encountered item types types of search engine results encountered in the
itemsarray; possible item types:google_business_infotypestring可选*type of element = ‘google\_business\_info’*
rank_groupinteger可选position within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted fromrank_grouprank_absoluteinteger可选absolute rank among all the elements
positionstring可选the alignment in SERP
titlestring可选title of the element in SERP the name of the business entity for which the results are collected
original_titlestring可选original title of the element original title not translated by Google
descriptionstring可选description of the element in SERP the description of the business entity for which the results are collected
categorystring可选business category Google My Business general category that best describes the services provided by the business entity
category_idsstring[]可选global category IDs universal category IDs that do not change based on the selected country
additional_categoriesstring[]可选additional business categories additional Google My Business categories that describe the services provided by the business entity in more detail
cidstring可选google-defined client id unique id of a local establishment learn more about the identifier in this help center article
feature_idstring可选the unique identifier of the element in SERP learn more about the identifier in this help center article
addressstring可选street address of the business entity
address_infoobject可选object containing address components of the business entity
boroughstring可选administrative unit or district the business entity location belongs to
citystring可选name of the city where the business entity is located
zipstring可选ZIP code of the business entity
regionstring可选DMA region of the business entity location
country_codestring可选ISO country code of the business entity location
place_idstring可选unique place identifier place id of the local establishment featured in the element learn more about the identifier in this help center article
phonestring可选phone number of the business entity
urlstring可选absolute url of the business entity
contact_urlstring可选URL of the preferred contact page
contributor_urlstring可选URL of the user’s or entity’s Local Guides profile, if available
book_online_urlstring可选URL in the ‘book online’ button of the element URL directing users to the online booking or order page of the business entity
domainstring可选domain of the business entity
logostring可选URL of the logo featured in Google My Business profile
main_imagestring可选URL of the main image featured in Google My Business profile
total_photosinteger可选total count of images featured in Google My Business profile
snippetstring可选additional information on the business entity
latitudenumber可选latitude coordinate of the local establishments in google maps example:
"latitude": 51.584091longitudenumber可选longitude coordinate of the local establishment in google maps example:
"longitude": -0.31365919999999997is_claimedboolean可选shows whether the entity is verified by its owner on Google Maps
attributesobject可选service details in a form of user-reviewed checks; service details of a business entity displayed in a form of checks and based on user feedback and business
categoryavailable_attributesobject可选available attributes indicates attributes a business entity can offer
unavailable_attributesobject可选unavailable attributes indicates attributes a business entity cannot offer
place_topicsobject可选keywords mentioned in customer reviews contains most popular keywords related to products/services mentioned in customer reviews of a business entity and the number of reviews mentioning each keyword example:
"place_topics": {"egg roll": 48,"birthday": 33}ratingobject可选the element’s rating the popularity rate based on reviews and displayed in SERP
rating_typestring可选the type of rating here you can find the following elements:
Max5,Percents,CustomMaxvalueinteger可选the value of the rating
votes_countinteger可选the amount of feedback
rating_maxinteger可选the maximum value for a
rating_typerating_distributionobject可选the distribution of ratings of the business entity the object displays the number of 1-star to 5-star ratings, as reviewed by users
1integer可选the number of 1-star ratings
2integer可选the number of 2-star ratings
3integer可选the number of 3-star ratings
4integer可选the number of 4-star ratings
5integer可选the number of 5-star ratings
people_also_searchstring[]可选related business entities
work_timeobject可选work time details information related to operational hours of the business entity
work_hoursobject可选open hours information about work hours of the local establishment
timetableobject可选work hours timetable
sundaystring[]可选work hours on Sundays
openobject可选opening time
hourinteger可选hours in the 24-hour format
minuteinteger可选minutes
closeobject可选closing time
mondaystring[]可选work hours on Mondays
tuesdaystring[]可选work hours on Tuesdays
wednesdaystring[]可选work hours on Wednesdays
thursdaystring[]可选work hours on Thursdays
fridaystring[]可选work hours on Fridays
saturdaystring[]可选work hours on Saturday
current_statusstring可选current status of the establishment possible values:
opened,closed,temporarily_closed,closed_foreverpopular_timesobject可选popular times information related to busy hours of the business entity
popular_times_by_daysobject可选popular hours information about busy hours of the local establishment on each day of the week
sundaystring[]可选busy hours on sunday can take values of the corresponding days of the week
timeobject可选busy hours
hourinteger可选hours in a 24-hour format
minuteinteger可选minutes
popular_indexinteger可选popularity index relative time-bound popularity index measured from
0to100; higher value corresponds to a busier time of a daylocal_business_linksstring[]可选available interactions with the business list of options to interact with the business directly from search results
typestring可选*type of element = ‘menu’*
titlestring可选title of the element domain of the online menu system
urlstring可选URL to view the menu
delivery_servicesstring[]可选lists available delivery services
is_directory_itemboolean可选business establishment is a part of the directory indicates whether the business establishment is a part of the directory; if
true, the item is a part of the larger directory of businesses with the same address (e.g., a mall or a business centre); note: if the business establishment is a parent item in the directory, the value will benulldirectorystring[]可选items of the directory includes information about businesses that are located within the target business establishment and have the same address
titlestring可选title of the element in SERP the name of the business entity
itemsstring[]可选*array of directory items*
typestring可选*type of element = ‘maps\_search’*
rank_groupinteger可选position within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted from therank_grouprank_absoluteinteger可选absolute rank among all the elements
domainstring可选domain of the business entity
urlstring可选absolute url of the business entity
ratingobject可选the element’s rating the popularity rate based on reviews and displayed in SERP
rating_typestring可选the type of rating here you can find the following elements:
Max5,Percents,CustomMaxvalueinteger可选the value of the rating
votes_countinteger可选the amount of feedback
rating_maxinteger可选the maximum value for a
rating_typerating_distributionobject可选the distribution of ratings of the business entity the object displays the number of 1-star to 5-star ratings, as reviewed by users
1integer可选the number of 1-star ratings
2integer可选the number of 2-star ratings
3integer可选the number of 3-star ratings
4integer可选the number of 4-star ratings
5integer可选the number of 5-star ratings
snippetstring可选additional information about the business entity
addressstring可选street address of the business entity
address_infoobject可选object containing address components of the business entity
boroughstring可选administrative unit or district the business entity location belongs to
citystring可选name of the city where the business entity is located
zipstring可选ZIP code of the business entity
regionstring可选DMA region of the business entity location
country_codestring可选ISO country code of the business entity location
place_idstring可选unique place identifier place id of the local establishment featured in the element learn more about the identifier in this help center article
phonestring可选phone number of the business entity
main_imagestring可选URL of the main image featured in Google My Business profile
total_photosinteger可选total count of images featured in Google My Business profile
categorystring可选business category Google My Business general category that best describes the services provided by the business entity
category_idsstring[]可选global category IDs universal category IDs that do not change based on the selected country
work_hoursobject可选work hours information about work hours of the local establishment
feature_idstring可选the unique identifier of the element in SERP learn more about the identifier in this help center article
cidstring可选google-defined client id unique id of a local establishment; can be used with Google Reviews API to get a full list of reviews learn more about the identifier in this help center article
latitudenumber可选latitude coordinate of the local establishments in google maps example:
"latitude": 51.584091longitudenumber可选longitude coordinate of the local establishment in google maps example:
"longitude": -0.31365919999999997is_claimedboolean可选shows whether the entity is verified by its owner on Google Maps
local_justificationsstring[]可选Google local justifications snippets of text that “justify” why the business is showing up for search query
is_directory_itemboolean可选business establishment is a part of the directory indicates whether the business establishment is a part of the directory; if
true, the item is a part of the larger directory of businesses with the same address (e.g., a mall or a business centre); note: if the business establishment is a parent item in the directory, the value will benullprice_levelstring可选property price level can take values:
inexpensive,moderate,expensive,very_expensiveif there is no price level information, the value will benullhotel_ratinginteger可选hotel class rating class ratings range between 1-5 stars, learn more if there is no hotel class rating information, the value will be
null