Daily performance of one of your business locations: profile impressions on Google Search and Maps by device, website clicks, calls, direction requests, bookings and more.
curl -X POST "https://api.primaryapi.com/v1/run/google-business.performance" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"locationId":"9876543210","startDate":"2026-11-01","endDate":"2026-11-02","metrics":["WEBSITE_CLICKS","CALL_CLICKS"]}'{
"output": {
"found": true,
"data": {
"startDate": "2026-11-01",
"endDate": "2026-11-02",
"impressions": null,
"metrics": [
"WEBSITE_CLICKS", …
], …
}
},
"credits": 1
}Input and output
5 fields
9876543210.2026-11-01.2026-11-02.["WEBSITE_CLICKS","CALL_CLICKS"].7 fields
Good to know
Runs as your connected Google account. Needs the Google Business Profile capability.
Get locationId from google-business.locations.
Both dates are inclusive.
Impressions count unique users per day.
A location Google has no data for is a miss. An unknown one location_not_found.
Google grants Business Profile API access per Cloud project, on request. Until it has granted PrimaryAPI’s, calls are refused (as a permission error, never charged).
The same key and credits work for every API.