The searches on Google Search and Maps that showed one of your business locations, with monthly unique-user impressions per keyword.
curl -X POST "https://api.primaryapi.com/v1/run/google-business.search_keywords" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"locationId":"9876543210","startMonth":"2026-08","endMonth":"2026-10"}'{
"output": {
"found": true,
"data": {
"startMonth": "2026-08",
"endMonth": "2026-10",
"nextCursor": null,
"keywords": [
{
"impressions": 842,
"keyword": "coffee near me",
"impressionsBelow": null
}, …
], …
}
},
"credits": 1
}Input and output
6 fields
9876543210.2026-08.2026-10.5 fields
Good to know
Runs as your connected Google account. Needs the Google Business Profile capability.
Get locationId from google-business.locations.
Months are inclusive. Counts are unique users per month, summed over the range.
Small counts come back only as a threshold.
No keywords for the range is a miss. An unknown location 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.