Get GBP search keywords
Returns search keywords that triggered impressions for a Google Business Profile location. Data is aggregated monthly. Keywords below a minimum impression threshold set by Google are excluded. Max 18 months of historical data. Requires the Analytics add-on.
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
The Zernio SocialAccount ID for the Google Business Profile account.
Start month (YYYY-MM). Defaults to 3 months ago.
^\d{4}-\d{2}$End month (YYYY-MM). Defaults to current month.
^\d{4}-\d{2}$Response Body
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.analytics.getGoogleBusinessSearchKeywords({ query: { accountId: 'account_abc123', },});console.log(data);{
"success": true,
"accountId": "69300690f43160a0bc999e07",
"platform": "googlebusiness",
"monthRange": {
"startMonth": "2026-01",
"endMonth": "2026-03"
},
"keywords": [
{
"keyword": "restaurant near me",
"impressions": 245
},
{
"keyword": "best tapas barcelona",
"impressions": 89
},
{
"keyword": "zernio",
"impressions": 34
}
],
"note": "Keywords below a minimum impression threshold are excluded by Google"
}{
"error": "Invalid startMonth format. Use YYYY-MM."
}{
"error": "Unauthorized"
}{
"error": "Analytics add-on required",
"code": "analytics_addon_required"
}{
"error": "Access denied to this account"
}Get GBP performance metrics GET
Returns daily performance metrics for a Google Business Profile location. Metrics include impressions (Maps/Search, desktop/mobile), website clicks, call clicks, direction requests, conversations, bookings, and food orders. Data may be delayed 2-3 days. Max 18 months of historical data. Requires the Analytics add-on.
List conversation analytics GET
Per-conversation listing with per-row totals + first/last message timestamps. The inbox analog of GET /v1/analytics (posts listing) — same filter shape, same pagination, same sort/order semantics. Use as the entry point for the per-conversation analytics drawer at /v1/analytics/inbox/conversations/{conversationId}. Rows are enriched with the conversation's participant info (`participantName`, `participantUsername`, `participantPicture`) and last-message preview by joining the Conversation document scoped to the caller's team. Max date range is 365 days.