searchconsole.performance API
Your own Google Search numbers, read from your Search Console: clicks, impressions, CTR and average position for a site over a range of days, split by query, page, date, country or device, and filtered the same way. These are the real figures for your site, not an estimate: which queries bring clicks, which pages rank on page two, what moved since last month. Needs a connection (searchconsole.account). Free.
Google Search Console:
all inputs ✓
✓ marks a combination proven with a real provider call. Others are wired and unit-tested; their first live run verifies them.
| Provider | Status |
|---|---|
Google Search Console |
live |
Unit: per_call · unmatched results billed: no
Free: reading your own Search Console costs nothing here.
The exact quote is returned by /v1/inspect before every call and held with headroom on execution. The quote is the price floor: if the provider's actual cost overruns it, the run bills the overrun at the same rate, never above the hold. The unused part of every hold is released.
curl https://api.routergrowth.com/v1/run \ -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \ -d '{ "capability": "searchconsole.performance", "input": { }, "routing": {"provider": "auto"} }'
{
"properties": {
"account_id": {
"description": "The connection name from searchconsole.accounts; optional when the workspace has one connection",
"type": "string"
},
"days": {
"default": 28,
"description": "How many days to cover, counted back from end_date, when start_date is left out",
"maximum": 490,
"minimum": 1,
"type": "integer"
},
"dimensions": {
"default": [
"query"
],
"description": "What each row is, up to 4: [\"query\"] for top queries, [\"page\"] for top pages, [\"date\"] for a daily series, [\"query\", \"page\"] for which page ranks for which query. An empty list returns the totals as one row",
"items": {
"enum": [
"query",
"page",
"date",
"country",
"device",
"search_appearance"
],
"type": "string"
},
"type": "array"
},
"end_date": {
"description": "Last day, YYYY-MM-DD; default two days ago, the newest day Search Console has settled",
"type": "string"
},
"filters": {
"description": "Keep only the rows that match all of these, e.g. [{\"dimension\": \"page\", \"operator\": \"contains\", \"expression\": \"/blog/\"}]",
"items": {
"properties": {
"dimension": {
"enum": [
"query",
"page",
"country",
"device",
"search_appearance"
],
"type": "string"
},
"expression": {
"description": "The text, URL or pattern; a country is its 3-letter code (usa, fra), a device is desktop, mobile or tablet",
"type": "string"
},
"operator": {
"default": "contains",
"enum": [
"equals",
"not_equals",
"contains",
"not_contains",
"regex",
"not_regex"
],
"type": "string"
}
},
"required": [
"dimension",
"expression"
],
"type": "object"
},
"maxItems": 10,
"type": "array"
},
"limit": {
"default": 100,
"description": "Rows returned, most clicks first",
"maximum": 5000,
"minimum": 1,
"type": "integer"
},
"offset": {
"default": 0,
"description": "Rows to skip, for the next page",
"minimum": 0,
"type": "integer"
},
"search_type": {
"default": "web",
"enum": [
"web",
"image",
"video",
"news",
"discover",
"google_news"
],
"type": "string"
},
"site": {
"description": "The site to read: a domain (\"acme.com\") or the property\u0027s exact name from searchconsole.sites (\"sc-domain:acme.com\", \"https://www.acme.com/\"). Optional when the connection has one site",
"type": "string"
},
"start_date": {
"description": "First day, YYYY-MM-DD. Leave it out to count days back from end_date",
"type": "string"
}
},
"type": "object"
}
account · site · start_date · end_date · search_type · dimensions · rows · count