データ API / DataForSEO / Business Data
Get Business Data Trustpilot Reviews Results by id
Retrieves queued Trustpilot reviews for one business 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/trustpilot/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
domainstring任意domain of the business entity
typestring任意search engine type in a POST array
se_domainstring任意search engine domain 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 on Trustpilot the name of the business entity for which the reviews are collected
locationstring任意location of the business entity as specified on Trustpilot address of the business entity for which the reviews are collected
reviews_countinteger任意the total number of reviews
ratingobject任意rating of the corresponding business entity 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_typeitems_countinteger任意the number of 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任意the review’s type possible review types:
"trustpilot_review_search"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:
righturlstring任意URL to the reviewer’s profile
ratingobject任意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 5verifiedboolean任意indicates whether the review has the “Verified” mark
languageboolean任意the language of the review
timestampstring任意date and time when the response was published in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example:
2019-11-15 12:57:46 +00:00titlestring任意title of the owner’s response
review_textstring任意the content of the review
review_imagesstring[]任意images submitted by the reviewer displays URLs to the images provided by the author of the review; please note that Trustpilot doesn’t allow adding images to reviews, so the
review_imagesparameter will always equalnulluser_profileobject任意user profile of the reviewer
namestring任意the name of the reviewer
image_urlstring任意URL to the reviewer’s profile picture
locationstring任意country of the reviewer
reviews_countinteger任意total number of reviews submitted by the reviewer
responsesstring[]任意owner’s response to the submitted review
textstring任意text of the owner’s response