Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

DataForSEO Google Business Questions and Answers

API 文件
https://api.sandbase.ai/v1/api/dataforseo/v3/business_data/google/questions_and_answers/live

Questions and answers posted on a Google Business Profile, found by business name or place id.

價格
自 $0.0054 起美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 3 個選填

Playground

輸入
Business name, or "cid:<id>" / "place_id:<id>".
Location code, e.g. 2840 for the United States.
Language code, e.g. "en".
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

DataForSEO Google Business Questions and Answers API

Returns the questions and answers posted on a Google Business Profile. Send a business name, or a cid:<id> or place_id:<id> value, as keyword, together with a location_code and a language_code.

Use cases

  • Pull the questions visitors ask about a landmark or store to find gaps in its listing information.
  • Track which questions have no answer yet so a business can reply to them.
  • Collect answer text from many locations to compare what customers ask across branches.
  • Read who answered each question to separate owner replies from visitor replies.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/business_data/google/questions_and_answers/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "Empire State Building", "location_code": 2840, "language_code": "en"}'

The result is returned in outputs[0].

Parameters

NameTypeRequiredDescription
keywordstringNoBusiness name, or "cid:<id>" / "place_id:<id>".
language_codestringNoLanguage code, e.g. "en".
location_codeintegerNoLocation code, e.g. 2840 for the United States.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "data": {
        "api": "business_data",
        "device": "desktop",
        "function": "questions_and_answers",
        "keyword": "Empire State Building",
        "language_code": "en",
        "location_code": 2840,
        "os": "windows",
        "se": "google"
      },
      "id": "11030828-2190-0578-0000-e1057ac5c994",
      "path": [
        "v3"
      ],
      "result": [
        {
          "check_url": "https://www.google.com/maps/place/data=!4m3!3m2!1s0x0:0xd134e199a405a163!10e4?hl…",
          "cid": "15074921902713971043",
          "datetime": "2026-11-03 08:29:06 +00:00",
          "feature_id": "0x0:0xd134e199a405a163",
          "item_types": [
            "google_business_question_item"
          ],
          "items": [
            {
              "items": [
                {
                  "answer_id": "8@1:CAESGUNWX0J6VVpFX0lOOTBSaW9PRFNBQWZ1eGc|",
                  "answer_text": "Yes",
                  "original_answer_text": null,
                  "profile_image_url": "https://lh3.googleusercontent.com/a-/ALV-UjVUYetmCHBLqyjcXerRKBZ6Jmx95DLJ7V0AM-g…",
                  "profile_name": "Marcelo Quinde",
                  "profile_url": "https://www.google.com/maps/contrib/113388248075047475338?hl=en-GB",
                  "time_ago": "9 years ago",
                  "timestamp": "2017-11-03 08:29:05 +00:00"
                }
              ],
              "original_question_text": null,
              "profile_image_url": "https://lh3.googleusercontent.com/a-/ALV-UjUXmLeUaeJFEuosq8vyRvyvIP6OUE0Kp7C2gYf…",
              "profile_name": "Federico Picapietra",
              "profile_url": "https://www.google.com/maps/contrib/103767993357197415632?hl=en-GB",
              "question_id": "8@1:CAESGUNWX0FBVkJVVFFPTnhWaW4tOVRBQVZEa3c|",
              "question_text": "Ir os open  from 8 pm till 2 am?",
              "rank_absolute": 1
            }
          ],
          "items_count": 20,
          "items_without_answers": [
            {
              "items": null,
              "original_question_text": null,
              "profile_image_url": "https://lh3.googleusercontent.com/a-/ALV-UjXn_uHGmorOWySo9DPkswMH4pyisT4_FXWQZt5…",
              "profile_name": "Pastel Milk",
              "profile_url": "https://www.google.com/maps/contrib/102252461306156041986?hl=en-GB",
              "question_id": "8@1:CAESGUNWX0NtUFJSVkVNYU9WaXBJMnFBQWVYWmc|",
              "question_text": "How long did it take? 24 hours or more I’m pretty sure 😂",
              "rank_absolute": 0
            }
          ]
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "18.2704 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "18.2843 sec.",
  "version": "0.1.20261022"
}

Response fields

FieldMeaning
tasks[].result[].cid / feature_idIdentifiers of the matched Google business. cid is a numeric string and feature_id is a hex pair.
tasks[].result[].items_countNumber of question items reported for the business.
tasks[].result[].items[].question_textText of a question that has at least one answer. original_question_text holds the source-language text when the question was translated, and is null otherwise.
tasks[].result[].items[].question_idIdentifier of the question.
tasks[].result[].items[].profile_name / profile_urlName and Google Maps profile link of the person who asked the question.
tasks[].result[].items[].items[].answer_textText of one answer to the question.
tasks[].result[].items[].items[].profile_name / profile_urlName and profile link of the person who answered. profile_url is null for the business owner reply.
tasks[].result[].items[].items[].timestamp / time_agoTime of the answer as a UTC timestamp, and the same time in relative words such as a year ago.
tasks[].result[].items_without_answers[].question_textText of a question that has no answers yet. The items field for these questions is null.
tasks[].result[].check_urlGoogle Maps URL for the business, which you can open to check the result.

Notes

  • For an exact match, pass place_id:<id> or cid:<id> as keyword instead of the business name.
  • Questions with answers are in items[], and questions without answers are in items_without_answers[].
  • Timestamps use the format YYYY-MM-DD HH:MM:SS +00:00.
  • Results sit in tasks[].result, and tasks[].id is the task ID.

Pricing

Billed at the actual cost of each call, about $0.0054 for the request above. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
DataForSEO每次呼叫 $0.0054 起JSON
DataForSEO每次呼叫 $0.0102 起JSON
DataForSEO每次呼叫 $0.000724 起JSON
DataForSEO每次呼叫 $0.004JSON
DataForSEO每次呼叫 $0.00162 起JSON
DataForSEO每次呼叫 $0.001105 起JSON

問題

常見問題

我要如何使用 DataForSEO Google Business Questions and Answers API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/dataforseo/v3/business_data/google/questions_and_answers/live。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

DataForSEO Google Business Questions and Answers API 的費用是多少?

每次起 $0.0054,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

DataForSEO Google Business Questions and Answers API 接受哪些參數?

不需要任何參數。 選填:keyword (string), location_code (integer) 和 language_code (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

DataForSEO Google Business Questions and Answers API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 DataForSEO 開發者帳號或 API 金鑰嗎?

不需要。DataForSEO Google Business Questions and Answers 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 DataForSEO API 存取權。