Skip to content
Analytics

Search Console

First-party performance from Google Search Console for connected properties. Data is imported with read-only OAuth access and typically lags two days.

Breakdown rows

With dimension=query, page, country or device, each row also contains prevClicks, clicksChange and positionChange compared with the previous period of equal length.

{ "key": "best hiking boots", "clicks": 812, "impressions": 20114, "ctr": 0.0404, "position": 3.9,
  "prevClicks": 640, "clicksChange": 172, "positionChange": 1.2 }
GET/api/v1/websites/{id}/search-consoleRead key

Totals, daily series or breakdown

Authentication: Bearer API key in the Authorization header.

Parameters
ParameterInTypeDescription
rangequerytoday | 7d | 28d | 3m | 12m | 16m | customDefault 28d
fromqueryYYYY-MM-DDWith range=custom
toqueryYYYY-MM-DDWith range=custom
dimensionquerytotal | date | query | page | country | deviceDefault total
countryqueryISO alpha-2Filter by country
devicequerydesktop | mobile | tabletFilter by device
searchTypequeryweb | image | video | newsDefault web
queryquerystringKeyword or URL contains (query/page dimensions)
Request
curl "https://rankspire.tech/api/v1/websites/cm1site9x0001/search-console" \
  -H "Authorization: Bearer $RANKSPIRE_KEY"
Response
{
  "data": { "current": { "clicks": 48211, "impressions": 1920442, "ctr": 0.0251, "position": 8.7 },
            "previous": { "clicks": 40710, "impressions": 1727100, "ctr": 0.0236, "position": 10.8 } },
  "meta": { "from": "2026-09-03", "to": "2026-09-30", "connected": true }
}
  • 404 not_found website not in workspace