/google-qa/get


The following API call allows you to get Google QA questions and answers for one or multiple businesses as raw data.


Parameters

Name Type Required Example Description
businessId integer no 6418 Business id.
clientId string(40) yes 04f78...9f9f3 Client id is a unique user identifier provided by GatherUp.
hash string(64) yes bd13a40...303f3c5 Hash is a digital request signature. Learn how to generate hash here.
search string(255) No Do you The string which you are looking for.
locations string(255) No 2,4,124,5678,12 Business IDs separated by a comma.
status string(255) No open,closed,reported,removed Status questions separated by a comma.
labels string(255) No 3,5,678,7864 User labels separated by a comma.
page integer No 2 Page number

Request

{
    "businessId": 6418,
    "clientId": "627d5e234e1a2f503c9e12262cf313d693575895",
    "hash": "b98340caf25c00be59f5bb5405ca8f358edf22c15a4f8527785af047e541f857"
}

Response

{
    "questions": {
        "8": {
            "id": "8",
            "author": "Tom",
            "date": "2017-08-30",
            "upvotes": "3",
            "content": "Do you have a parking?",
            "url_mobile": "https://www.google.com/search?q=Name+Company+LTD&ie=UTF-8&oe=UTF-8...",
            "url_desktop": "https://www.google.com/search?q=Name+Company+LTD...",
            "status": "open",
            "business":
            {
                "id": "6418",
                "name": "Company Name LTD",
                "street_address": "1234 Main St 321",
                "city": "New York",
                "state": "NY",
                "zip": "14224",
            },
            "labels": [
                {
                    "id": "2",
                    "name": "BigCompany"
                }
            ],
            "answers": [
                {
                    "id": "9",
                    "questionId": "8",
                    "author": "Adam Smith",
                    "date": "2017-08-30",
                    "upvotes": "1",
                    "content": "Yes!"
                },
                {
                    "id": "10",
                    "questionId": "8",
                    "author": "Ann Blue",
                    "date": "2017-08-30",
                    "upvotes": "3",
                    "content": "Absolutely!"
                }
            ]
        },
        "25": {
            "id": "25",
            "author": "Mike Kryton",
            "date": "2017-08-30",
            "upvotes": "1",
            "content": "Do you do jewelry repairs?",
            "url_mobile": "https://www.google.com/search?q=Name+Company+LTD&ie=UTF-8&oe=UTF-8...",
            "url_desktop": "https://www.google.com/search?q=Name+Company+LTD...",
            "status": "closed",
            "business":
            {
                "id": "6418",
                "name": "Company Name LTD",
                "street_address": "1234 Main St 321",
                "city": "New York",
                "state": "NY",
                "zip": "14224",
            },
            "labels": [
                {
                    "id": "2",
                    "name": "BigCompany"
                }
            ],
            "answers": [
                {
                    "id": "26",
                    "questionId": "25",
                    "author": "DaVinci 104.06",
                    "date": "2017-08-30",
                    "upvotes": "3",
                    "content": "Yes they do!"
                }
            ]
        }
    },
    "count": 2,
    "page": 1,
    "pages": 1,
    "total": "2",
    "errorCode": 0,
    "errorMessage": "Success"
}

Errors

errorCode errorMessage
-1 Unknown error
1 Invalid hash sign
2 Invalid clientId
3 Server error - please contact support