GETapi.synup.com/api/v4/locations/google-verification-stats
Google verification location stats
Returns aggregated Google (Google Business Profile) verification status counts across the filtered set of locations — for example how many are verified, under review, pending verification, suspended, duplicate, or not connected. Use filterInput/selectionType/locationIds to scope the set, identical to Filter locations.
Requires an API key. Send it as
Authorization: API <your-key> — see Getting started.Parameters
Query
| Name | Type | Required | Description |
|---|---|---|---|
filterInput | string | optional | JSON-encoded filter object. Defaults to an empty filter (all locations). |
selectionType | string | optional | Whether to include all matching locations or an explicit selection. |
locationIds | array | optional | Location IDs to include when selectionType is SELECTED_ITEMS. |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Synup-Version | string | required | API version date (YYYY-MM-DD). |
Request
Request
curl -X GET 'https://api.synup.com/api/v4/locations/google-verification-stats?filterInput=&selectionType=&locationIds=' \
-H 'Authorization: API YOUR_API_KEY' \
-H 'Content-Type: application/json'const res = await fetch('https://api.synup.com/api/v4/locations/google-verification-stats?filterInput=&selectionType=&locationIds=', {
method: 'GET',
headers: {
Authorization: 'API YOUR_API_KEY',
'Content-Type': 'application/json',
},
});
const data = await res.json();import requests
res = requests.get(
"https://api.synup.com/api/v4/locations/google-verification-stats?filterInput=&selectionType=&locationIds=",
headers={
"Authorization": "API YOUR_API_KEY",
"Content-Type": "application/json",
},
)
data = res.json()req, _ := http.NewRequest("GET", "https://api.synup.com/api/v4/locations/google-verification-stats?filterInput=&selectionType=&locationIds=", nil)
req.Header.Set("Authorization", "API YOUR_API_KEY")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)Responses
| Status | Description |
|---|---|
200 | Successful response |
401 | Unauthorized - Invalid or missing API key |
Example response (generated from the schema)
{
"data": {
"googleVerificationLocationStats": {
"total": 0,
"verified": 0,
"underReview": 0,
"pendingVerification": 0,
"duplicate": 0,
"suspended": 0,
"notVerified": 0,
"errorWhileFetching": 0,
"notConnected": 0,
"listingNotPresent": 0
}
}
}Response body
| Name | Type | Required | Description |
|---|---|---|---|
data | object | optional | |
data.googleVerificationLocationStats | object | optional | |
data.googleVerificationLocationStats.total | integer | optional | |
data.googleVerificationLocationStats.verified | integer | optional | |
data.googleVerificationLocationStats.underReview | integer | optional | |
data.googleVerificationLocationStats.pendingVerification | integer | optional | |
data.googleVerificationLocationStats.duplicate | integer | optional | |
data.googleVerificationLocationStats.suspended | integer | optional | |
data.googleVerificationLocationStats.notVerified | integer | optional | |
data.googleVerificationLocationStats.errorWhileFetching | integer | optional | |
data.googleVerificationLocationStats.notConnected | integer | optional | |
data.googleVerificationLocationStats.listingNotPresent | integer | optional |