PeumeAPI

Social publishing & inbox · Google

Query search analytics

Clicks, impressions, CTR and average position from Google Search for a connected Search Console site, through Google's `searchAnalytics.query`.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/google-query-search-analytics \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "fromDate": "2026-10-01",
    "toDate": "2026-10-31"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-query-search-analytics.

Parameters

accountIdRequiredstring

account ID of the connection.

fromDatestring

Example: 2026-10-01

toDatestring

Example: 2026-10-31

dimensionsarray
typestring

Which Google surface to read. Defaults to `web`. `webMultimodal` is Google Lens, Circle to Search and image uploads.

web · image · video · news · discover · googleNews · webMultimodal

dimensionFilterGroupsarray
aggregationTypestring

byNewsShowcasePanel needs a NEWS_SHOWCASE searchAppearance filter and type discover or googleNews.

auto · byPage · byProperty · byNewsShowcasePanel

rowLimitinteger

Defaults to 1000.

startRowinteger

Row offset for paging past `rowLimit`.

dataStatestring

`final` (default) leaves out the last two or three days; `all` includes them while Google is still filling them in; `hourly_all` is required with the `hour` dimension.

final · all · hourly_all

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.