List a Google login's Business Profile locations
curl --request GET \
--url https://api.social-api.ai/v1/platforms/google/logins/{loginId}/locations \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/google/logins/{loginId}/locations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/google/logins/{loginId}/locations"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 3,
"locations": [
{
"assignable": true,
"assigned_account_id": "<string>",
"assigned_brand_id": "<string>",
"assigned_brand_name": "<string>",
"bio": "Wood-fired pizza since 1998",
"category": "Pizza restaurant",
"details": {
"ad_phone": "<string>",
"additional_categories": [
{
"display_name": "Pizza restaurant",
"name": "categories/gcid:pizza_restaurant"
}
],
"additional_phones": [
"<string>"
],
"can_delete": true,
"can_have_business_calls": true,
"can_have_food_menus": true,
"can_modify_service_list": true,
"can_operate_health_data": true,
"can_operate_local_post": true,
"can_operate_lodging_data": true,
"can_reopen": true,
"duplicate_location": "<string>",
"has_google_updated": true,
"has_pending_edits": true,
"has_voice_of_merchant": true,
"is_particularly_personal_place": true,
"labels": [
"<string>"
],
"language_code": "en",
"latlng": {
"latitude": 48.8566,
"longitude": 2.3522
},
"maps_uri": "https://maps.google.com/?cid=123",
"more_hours": [
{
"hours_type_id": "DRIVE_THROUGH",
"periods": [
{
"close_day": "MONDAY",
"close_time": "17:30",
"open_day": "MONDAY",
"open_time": "09:00"
}
]
}
],
"new_review_uri": "https://g.page/r/abc/review",
"open_status": "OPEN",
"opening_date": "2026-09-01",
"place_id": "ChIJabc",
"primary_category": {
"display_name": "Pizza restaurant",
"name": "categories/gcid:pizza_restaurant"
},
"primary_phone": "+33 1 23 45 67 89",
"regular_hours": [
{
"close_day": "MONDAY",
"close_time": "17:30",
"open_day": "MONDAY",
"open_time": "09:00"
}
],
"relationship_data": {
"children_locations": [
{
"place_id": "<string>",
"relation_type": "DEPARTMENT_OF"
}
],
"parent_chain": "<string>",
"parent_location": {
"place_id": "<string>",
"relation_type": "DEPARTMENT_OF"
}
},
"service_area": {
"business_type": "CUSTOMER_LOCATION_ONLY",
"places": [
{
"place_id": "<string>",
"place_name": "Paris"
}
],
"region_code": "FR"
},
"service_items": [
{
"free_form_service_item": {
"category": "<string>",
"label": {
"description": "<string>",
"display_name": "Emergency unlock",
"language_code": "en"
}
},
"price": {
"currency_code": "EUR",
"nanos": 123,
"units": "80"
},
"structured_service_item": {
"description": "<string>",
"service_type_id": "<string>"
}
}
],
"special_hours": [
{
"close_time": "<string>",
"closed": true,
"end_date": "2026-12-25",
"open_time": "<string>",
"start_date": "2026-12-25"
}
],
"store_code": "JP-01",
"storefront_address": {
"address_lines": [
"<string>"
],
"administrative_area": "Île-de-France",
"locality": "Paris",
"organization": "<string>",
"postal_code": "75001",
"region_code": "FR",
"sorting_code": "<string>",
"sublocality": "<string>"
},
"website_uri": "https://joes.example"
},
"maps_uri": "https://maps.google.com/?cid=123",
"name": "Joe's Pizza (Downtown)",
"platform_account_id": "accounts/123/locations/456"
}
],
"login_email": "joe@example.com",
"login_id": "cred_01J...",
"login_name": "joe@example.com"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Google
List a Google login's Business Profile locations
Lists every Business Profile location this login can manage, live from Google, merged with assignment state. Locations added in Google Business Profile after the last authorization appear here without re-authenticating. assignable reflects ownership only. login_email identifies the Google account itself, and may be empty on older connections.
GET
/
platforms
/
google
/
logins
/
{loginId}
/
locations
List a Google login's Business Profile locations
curl --request GET \
--url https://api.social-api.ai/v1/platforms/google/logins/{loginId}/locations \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/google/logins/{loginId}/locations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/google/logins/{loginId}/locations"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 3,
"locations": [
{
"assignable": true,
"assigned_account_id": "<string>",
"assigned_brand_id": "<string>",
"assigned_brand_name": "<string>",
"bio": "Wood-fired pizza since 1998",
"category": "Pizza restaurant",
"details": {
"ad_phone": "<string>",
"additional_categories": [
{
"display_name": "Pizza restaurant",
"name": "categories/gcid:pizza_restaurant"
}
],
"additional_phones": [
"<string>"
],
"can_delete": true,
"can_have_business_calls": true,
"can_have_food_menus": true,
"can_modify_service_list": true,
"can_operate_health_data": true,
"can_operate_local_post": true,
"can_operate_lodging_data": true,
"can_reopen": true,
"duplicate_location": "<string>",
"has_google_updated": true,
"has_pending_edits": true,
"has_voice_of_merchant": true,
"is_particularly_personal_place": true,
"labels": [
"<string>"
],
"language_code": "en",
"latlng": {
"latitude": 48.8566,
"longitude": 2.3522
},
"maps_uri": "https://maps.google.com/?cid=123",
"more_hours": [
{
"hours_type_id": "DRIVE_THROUGH",
"periods": [
{
"close_day": "MONDAY",
"close_time": "17:30",
"open_day": "MONDAY",
"open_time": "09:00"
}
]
}
],
"new_review_uri": "https://g.page/r/abc/review",
"open_status": "OPEN",
"opening_date": "2026-09-01",
"place_id": "ChIJabc",
"primary_category": {
"display_name": "Pizza restaurant",
"name": "categories/gcid:pizza_restaurant"
},
"primary_phone": "+33 1 23 45 67 89",
"regular_hours": [
{
"close_day": "MONDAY",
"close_time": "17:30",
"open_day": "MONDAY",
"open_time": "09:00"
}
],
"relationship_data": {
"children_locations": [
{
"place_id": "<string>",
"relation_type": "DEPARTMENT_OF"
}
],
"parent_chain": "<string>",
"parent_location": {
"place_id": "<string>",
"relation_type": "DEPARTMENT_OF"
}
},
"service_area": {
"business_type": "CUSTOMER_LOCATION_ONLY",
"places": [
{
"place_id": "<string>",
"place_name": "Paris"
}
],
"region_code": "FR"
},
"service_items": [
{
"free_form_service_item": {
"category": "<string>",
"label": {
"description": "<string>",
"display_name": "Emergency unlock",
"language_code": "en"
}
},
"price": {
"currency_code": "EUR",
"nanos": 123,
"units": "80"
},
"structured_service_item": {
"description": "<string>",
"service_type_id": "<string>"
}
}
],
"special_hours": [
{
"close_time": "<string>",
"closed": true,
"end_date": "2026-12-25",
"open_time": "<string>",
"start_date": "2026-12-25"
}
],
"store_code": "JP-01",
"storefront_address": {
"address_lines": [
"<string>"
],
"administrative_area": "Île-de-France",
"locality": "Paris",
"organization": "<string>",
"postal_code": "75001",
"region_code": "FR",
"sorting_code": "<string>",
"sublocality": "<string>"
},
"website_uri": "https://joes.example"
},
"maps_uri": "https://maps.google.com/?cid=123",
"name": "Joe's Pizza (Downtown)",
"platform_account_id": "accounts/123/locations/456"
}
],
"login_email": "joe@example.com",
"login_id": "cred_01J...",
"login_name": "joe@example.com"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Authorizations
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Path Parameters
Google login (credential) ID