数据 API / DataForSEO / Business Data
Get Business Data Trustpilot Search Results by id
Retrieves queued Trustpilot businesses matching a query - how to find the id the reviews endpoint needs 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/search/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 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:00items_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 result’s type possible result types:
"trustpilot_search_organic"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
titlestring可选title of the establishment
domainstring可选domain of the establishment
urlstring可选URL to the establishment
reviews_countinteger可选the total number of reviews
ratingobject可选the rating score of the establishment submitted by reviewers
rating_typestring可选the type of the rating can take the following values:
Max5valuenumber可选the value of the rating
votes_countinteger可选the amount of feedback indicates the number of votes the establishment obtained
rating_maxinteger可选the maximum value for a
rating_typethe maximum value forMax5is 5