> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Business Profile

> Your Google Business Profile locations and their customer reviews.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/google-business-profile.webp?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=74fbc8571ab6bb7879c9bec23ef35854)

[Web Catalog · Maps](https://docs.webrouter.net/data-apis.md?category=maps)

Needs&#x20;

`GOOGLE_BUSINESS_PROFILE_CLIENT_ID`

,&#x20;

`GOOGLE_BUSINESS_PROFILE_CLIENT_SECRET`

,&#x20;

`GOOGLE_BUSINESS_PROFILE_REFRESH_TOKEN`

Endpoints

3

Auth

OAuth refresh token

[Vendor docs](https://developers.google.com/my-business)

## Setup

| Variable | | What it is |
| - | - | - |
| `GOOGLE_BUSINESS_PROFILE_CLIENT_ID` | required | the OAuth client id of a Google Cloud OAuth app with the Business Profile APIs enabled (Google Cloud console > APIs & Services > Credentials) |
| `GOOGLE_BUSINESS_PROFILE_CLIENT_SECRET` | required | that OAuth app's client secret |
| `GOOGLE_BUSINESS_PROFILE_REFRESH_TOKEN` | required | a refresh token minted with that OAuth app for the scope [https://www.googleapis.com/auth/business.manage](https://www.googleapis.com/auth/business.manage) |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Own-account API: only locations the signed-in Google user manages. Google gates access: the project must be approved for the Business Profile APIs first.
* This file uses the v4 API for locations and reviews. Finding the account id is done by a different Google service (the Account Management API, mybusinessaccountmanagement.googleapis.com/v1/accounts) that this catalog does not cover; the id is also in the Business Profile manager URL.
* Lists page with pageToken/nextPageToken.
* Replies are public: they appear under the review on Google.

## Endpoints

GET

List an account's locations

Business locations in an account.

[Open](#google-business-profile-locations-list)

GET

List a location's reviews

Customer reviews of a location with rating, text and any reply.

[Open](#google-business-profile-reviews-list)

GET

Get one review

One review of a location.

[Open](#google-business-profile-reviews-get)

### List an account's locations

GET

`/accounts/{account_id}/locations`

`google-business-profile.locations.list`

Business locations in an account.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`account_id` required</td><td>string</td><td>path</td><td>Business Profile account id, digits. Example `1234567890`</td></tr>

    <tr>
      <td>
        `pageSize`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        1 to 100; default 100.
      </td>
    </tr>

    <tr>
      <td>
        `pageToken`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        nextPageToken from the previous answer.
      </td>
    </tr>

    <tr>
      <td>
        `filter`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Restrict which locations are returned.
      </td>
    </tr>

    <tr>
      <td>
        `orderBy`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated sort fields, locationName and storeCode; append ' desc' to reverse.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.google.com/my-business/reference/rest/v4/accounts.locations/list)

```python Python theme={null}
router.call_data_api("google-business-profile.locations.list", {'account_id': '1234567890'})
```

```text MCP theme={null}
call_data_api(endpoint="google-business-profile.locations.list", params={"account_id": "1234567890"})
```

> [!NOTE]
>
> * The v4 locations list is documented with a narrow field set; v4 field reads may be limited compared with Google's newer Business Information API.

### List a location's reviews

GET

`/accounts/{account_id}/locations/{location_id}/reviews`

`google-business-profile.reviews.list`

Customer reviews of a location with rating, text and any reply.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`account_id` required</td><td>string</td><td>path</td><td>Business Profile account id, digits. Example `1234567890`</td></tr>
    <tr><td>`location_id` required</td><td>string</td><td>path</td><td>Location id, digits. Example `9876543210`</td></tr>

    <tr>
      <td>
        `pageSize`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        At most 50 per page.
      </td>
    </tr>

    <tr>
      <td>
        `pageToken`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        nextPageToken from the previous answer.
      </td>
    </tr>

    <tr>
      <td>
        `orderBy`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        rating, rating desc or updateTime desc (default).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.google.com/my-business/reference/rest/v4/accounts.locations.reviews/list)

```python Python theme={null}
router.call_data_api("google-business-profile.reviews.list", {'account_id': '1234567890', 'location_id': '9876543210'})
```

```text MCP theme={null}
call_data_api(endpoint="google-business-profile.reviews.list", params={"account_id": "1234567890", "location_id": "9876543210"})
```

### Get one review

GET

`/accounts/{account_id}/locations/{location_id}/reviews/{review_id}`

`google-business-profile.reviews.get`

One review of a location.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`account_id` required</td><td>string</td><td>path</td><td>Business Profile account id, digits. Example `1234567890`</td></tr>
    <tr><td>`location_id` required</td><td>string</td><td>path</td><td>Location id, digits. Example `9876543210`</td></tr>

    <tr>
      <td>
        `review_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Review id, from a reviews list.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://developers.google.com/my-business/reference/rest/v4/accounts.locations.reviews/get)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.