数据 API / DataForSEO / Business Data
Get Business Data Google Reviews Results by id
Retrieves queued Google Business Profile reviews 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. ⚠️ Size scales with the depth set at submit and cannot be narrowed here.
参数
路径
idstring必填DataForSEO task ID.
请求示例
curl -X GET "https://openapi.felo.ai/v1/beta/dataforseo/business_data/google/reviews/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)
typestring可选search engine type in a POST array
se_domainstring可选search engine domain 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:00titlestring可选title of the ‘reviews’ element in SERP the name of the local establishment for which the reviews are collected
sub_titlestring可选subtitle of the ‘reviews’ element in SERP additional information (e.g., address) on the ‘reviews’ element for which the reviews are collected
ratingobject可选rating of the corresponding local establishment popularity rate based on reviews and displayed in SERP
rating_typestring可选type of rating here you can find the following elements:
Max5,Percents,CustomMaxvaluenumber可选the average rating based on all reviews
votes_countinteger可选the number of votes
rating_maxinteger可选the maximum value for a
rating_typefeature_idstring可选the unique identifier of the ‘reviews’ element in SERP learn more about the identifier in this help center article
place_idstring可选unique identifier of a business location assigned by Google learn more about the identifier in this help center article
cidstring可选google-defined client id unique id of a local establishment learn more about the identifier in this help center article
reviews_countinteger可选the total number of reviews
items_countinteger可选the number of reviews items in the results array you can get more results by using the
depthparameter when setting a taskitemsstring[]可选found reviews you can get more results by using the
depthparameter when setting a tasktypestring可选*type of element = ‘images\_element’*
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 listed reviews absolute position among all reviews on the list
positionstring可选the alignment of the review in SERP can take the following values:
rightxpathstring可选the XPath of the review
review_textstring可选the content of the review
original_review_textstring可选original content of the review the original content of the review, no auto-translate applied
time_agostring可选the time of publication indicates the time (in the ‘time ago’ format) when the review was listed
timestampstring可选date and time when a review was published in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example:
2019-11-15 12:57:46 +00:00ratingobject可选the rating score submitted by the reviewer
rating_typestring可选the type of the rating can take the following values:
Max5valuenumber可选the value of the rating
votes_countinteger可选the amount of feedback indicated the number of votes the review obtained
rating_maxinteger可选the maximum value for a
rating_typethe maximum value forMax5is 5reviews_countinteger可选total number of reviews submitted by the reviewer
photos_countinteger可选total number of photos submitted by the reviewer
local_guideboolean可选indicates whether the reviewer has a ‘local guide’ status
profile_namestring可选profile name of the reviewer
profile_urlstring可选URL of the reviewer’s profile
review_urlstring可选the URL of the review
profile_image_urlstring可选URL of the reviewer’s profile image
owner_answerstring可选text of the owner’s response the owner’s response to the review
original_owner_answerstring可选original text of the owner’s response the original response to the review, no auto-translate applied
owner_time_agostring可选publication time indicates the time (in the ‘time ago’ format) when the owner submitted the response to the review
owner_timestampstring可选date and time of the owner’s reply to the review in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example:
2019-11-15 12:57:46 +00:00review_idstring可选the unique identifier of a review on Google example:
ChZDSUhNMG9nS0VJQ0FnSUMxbHFyMFlnEAEimagesstring[]可选images submitted by the reviewer
altstring可选alt tag of the image
urlstring可选relevant image URL from Google
image_urlstring可选URL of the image featured in the review
review_highlightsstring[]可选review highlights contains highlighted review criteria and assessments
featurestring可选reviewed feature
assessmentstring可选feature assessment