Get Google My Business Questions and Answers Results by id
DataForSEO
SEO, search-engine results, keyword research, backlinks and AI visibility data.
Get Google My Business Questions and Answers Results by id
Retrieves queued Google Business Profile questions and answers 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.
- Type: stringidrequired
DataForSEO task ID.
- Type: object200
Successful response
- Type: array string[]items
array of google business question items with answers possible item types:
google_business_question_item - Type: array string[]items
_without _answers array of google business question items without answers
- Type: array string[]items
_without _answers .items array of items items within
google_business_question_item - Type: integeritems
_without _answers .items _count the number of items in the
itemsarray - Type: stringitems
_without _answers .original _question _text original text of the question
- Type: stringitems
_without _answers .profile _image _url URL of the user’s profile image
- Type: stringitems
_without _answers .profile _name displayed name of the user
- Type: stringitems
_without _answers .profile _url URL of the user’s profile
- Type: stringitems
_without _answers .question _id ID of the question
- Type: stringitems
_without _answers .question _text current text of the question
- Type: integeritems
_without _answers .rank _absolute absolute rank among all the elements
- Type: integeritems
_without _answers .rank _group position within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted fromrank_group - Type: stringitems
_without _answers .time _ago estimated time when the question was posted
- Type: stringitems
_without _answers .timestamp exact time when the question was posted
- Type: stringitems
_without _answers .type type of element = ‘google_business_question_item’
- Type: stringitems
_without _answers .url URL of the question
- Type: stringitems
.answer _id ID of the answer
- Type: stringitems
.answer _text current text of the answer
- Type: array string[]items
.items array of items within
google_business_question_itemcontains answers to the google business questions; the maximum number of answers returned for each question:5possible item typesgoogle_business_answer_element - Type: stringitems
.original _answer _text original text of the answer
- Type: stringitems
.original _question _text original text of the question
- Type: stringitems
.profile _image _url URL of the user’s profile image
- Type: stringitems
.profile _name displayed name of the user
- Type: stringitems
.profile _url URL of the user’s profile
- Type: stringitems
.question _id ID of the question
- Type: stringitems
.question _text current text of the question
- Type: integeritems
.rank _absolute absolute rank among all the elements
- Type: integeritems
.rank _group position within a group of elements with identical
typevalues positions of elements with differenttypevalues are omitted fromrank_group - Type: stringitems
.time _ago estimated time when the answer was posted
- Type: stringitems
.timestamp exact time when the answer was posted
- Type: stringitems
.type type of the element = ‘google_business_answer_element’
- Type: stringitems
.url URL of the question
- Type: array string[]result
array of results
- Type: stringresult
.check _url direct URL to search engine results you can use it to make sure that we provided accurate results
- Type: stringresult
.cid google-defined client id unique id of a local establishment; learn more about the identifier in this help center article
- Type: stringresult
.datetime 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:00 - Type: stringresult
.feature _id unique identifier of the SERP feature
- Type: array string[]result
.item _types item types types of search engine results encountered in the
itemsarray; possible item types:google_business_question_item - Type: stringresult
.keyword 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 article - Type: stringresult
.language _code language code in a POST array
- Type: integerresult
.location _code location code in a POST array
- Type: stringresult
.se _domain search engine domain as specified in a POST array
- Type: array string[]tasks
array of tasks
- Type: numbertasks
.cost cost of the task, USD
- Type: objecttasks
.data contains the same parameters that you specified in the POST request
- Type: stringtasks
.id task identifier unique task identifier in our system in the UUID format
- Type: array string[]tasks
.path URL path
- Type: integertasks
.result _count number of elements in the
resultarray - Type: integertasks
.status _code 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
- Type: stringtasks
.status _message informational message of the task you can find the full list of general informational messages here
- Type: stringtasks
.time execution time, seconds
- Type: stringversion
the current version of the API
- Type: numberversion
.cost total tasks cost, USD
- Type: integerversion
.status _code 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
- Type: stringversion
.status _message general informational message you can find the full list of general informational messages here
- Type: integerversion
.tasks _count the number of tasks in the
tasksarray - Type: integerversion
.tasks _error the number of tasks in the
tasksarray that were returned an error - Type: stringversion
.time execution time, seconds
application/json - 400
Bad request
- 401
Unauthorized
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
Rate limit exceeded
- 500
Internal server error
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl 'https://openapi.felo.ai/v1/beta/dataforseo/business_data/google/questions_and_answers/task_get/{id}' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"version": "string",
"version.status_code": 1,
"version.status_message": "string",
"version.time": "string",
"version.cost": 1,
"version.tasks_count": 1,
"version.tasks_error": 1,
"tasks": [
"string"
],
"tasks.id": "string",
"tasks.status_code": 1,
"tasks.status_message": "string",
"tasks.time": "string",
"tasks.cost": 1,
"tasks.result_count": 1,
"tasks.path": [
"string"
],
"tasks.data": {},
"result": [
"string"
],
"result.keyword": "string",
"result.se_domain": "string",
"result.location_code": 1,
"result.language_code": "string",
"result.check_url": "string",
"result.datetime": "string",
"result.cid": "string",
"result.feature_id": "string",
"result.item_types": [
"string"
],
"items_without_answers": [
"string"
],
"items_without_answers.type": "string",
"items_without_answers.rank_group": 1,
"items_without_answers.rank_absolute": 1,
"items_without_answers.question_id": "string",
"items_without_answers.url": "string",
"items_without_answers.profile_image_url": "string",
"items_without_answers.profile_url": "string",
"items_without_answers.profile_name": "string",
"items_without_answers.question_text": "string",
"items_without_answers.original_question_text": "string",
"items_without_answers.time_ago": "string",
"items_without_answers.timestamp": "string",
"items_without_answers.items": [
"string"
],
"items_without_answers.items_count": 1,
"items": [
"string"
],
"items.type": "string",
"items.rank_group": 1,
"items.rank_absolute": 1,
"items.question_id": "string",
"items.url": "string",
"items.profile_image_url": "string",
"items.profile_url": "string",
"items.profile_name": "string",
"items.question_text": "string",
"items.original_question_text": "string",
"items.time_ago": "string",
"items.timestamp": "string",
"items.items": [
"string"
],
"items.answer_id": "string",
"items.answer_text": "string",
"items.original_answer_text": "string"
}