OverviewPlatformsAPI ReferenceResources
Posting Analytics

Get Google Business Profile search keywords

GEThttps://zernio.com/api/v1/analytics/googlebusiness/search-keywords

Returns search keywords that triggered impressions for a Google Business Profile location.

  • Data is aggregated monthly.
  • Keywords Google reports only as below a threshold have impressions 0 and impressionsThreshold set to that threshold.
  • Max 18 months of historical data.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

accountIdstringRequired

The Zernio SocialAccount ID for the Google Business Profile account.

startMonthstring

Start month (YYYY-MM). Defaults to 3 months ago.

endMonthstring

End month (YYYY-MM). Defaults to current month.

pageTokenstring

The nextPageToken from the previous page. Valid only with the same startMonth and endMonth as the request that returned it.

Responses

Success· the request worked

Errors· the request failed

How it behaves

Paging

Returns up to 100 keywords per page. When nextPageToken is not null, pass it as pageToken with the same startMonth and endMonth to get the next page.

GET/v1/analytics/googlebusiness/search-keywords
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,      "impressionsThreshold": null    },    {      "keyword": "best tapas barcelona",      "impressions": 89,      "impressionsThreshold": null    },    {      "keyword": "zernio",      "impressions": 34,      "impressionsThreshold": null    },    {      "keyword": "tapas delivery",      "impressions": 0,      "impressionsThreshold": 15    }  ],  "nextPageToken": null,  "note": "Keywords Google reports only as below a threshold have impressions 0 and impressionsThreshold set"}
OpenAPI specification
Was this page helpful?