Google Search Console
Read the verified properties of the Google accounts connected to your Mangools account and their clicks, impressions, CTR and position, with KWFinder search volume on every query.
Google Search Console is Google's tool that reports how a site performs in Google Search. These endpoints read it through the Mangools API for the Google accounts connected to your Mangools account, so you get your own clicks, impressions, click-through rate (CTR) and average position per search query, page, country, device, search appearance or day, with the KWFinder search volume added to every query row.
Connect Google Search Console first
Connect a Google account on the Google Search Console page of your Mangools account before you call these endpoints. One Mangools account can connect several Google accounts, and its team members share the connections. The API reads each property through the connected Google account that has access to it and names that account in google_email.
What you can do
- List properties: get the verified properties of every connected Google account, each listed once with its permission level and the Google account that reads it. When the connection of a Google account has expired,
errorsnames that account with the page where you reconnect it, and the list leaves out its properties. - Read performance data: get the clicks, impressions, CTR and average position of one property for a date range, grouped and filtered as in the Performance report of Search Console. When the grouping includes
query, every row also carriessearch_volumefrom KWFinder forlocation_id(default0, Anywhere), ornullwhen KWFinder has no volume for that query.
Grouping
dimensions is a comma-separated list of query (the default), page, country, device, search_appearance and date, each at most once, in any order: query,page gives one row per query and URL, date one row per day. Every row carries a key for each listed dimension:
query: the search query.page: the URL shown in the results.country: a lowercase ISO 3166-1 alpha-3 code such asusa, orzzzwhen Search Console does not know the country.device:desktop,mobileortablet.search_appearance: the search appearance as Search Console names it, such asREVIEW_SNIPPET.date: a Search Console day,YYYY-MM-DD.
Google groups search_appearance only on its own: beside another dimension the answer is 422 InvalidInput. To split one search appearance by query or page, filter by search_appearance instead.
Rows come by clicks, highest first, or oldest day first when grouped by date.
Filters
These optional parameters keep only the matching rows, whatever the grouping: a query filter grouped by page shows the pages those queries lead to. All filters of a request apply together.
search_type: the kind of results counted,web(the default, the All tab of Google Search),image,video,news(the News tab),discover,google_news(news.google.com and the Google News app) orweb_multimodal(Google Lens and Circle to Search). Discover and Google News have no search queries and no position, so withdiscoverorgoogle_newssetdimensionswithoutquery(the default grouping) and leave out thequeryfilter; otherwise the answer is422ValidationError.queryandpage: text the search query or the page URL must match.query_matchandpage_matchsay how:contains(the default, not case-sensitive),not_contains,equals(exact and case-sensitive),not_equals,regexornot_regex(an RE2 regular expression).country: a comma-separated list of countries; a search from any of them matches.device: a comma-separated list ofdesktop,mobileandtablet; a search from any of them matches.search_appearance: one search appearance, such asREVIEW_SNIPPET. Group bysearch_appearancealone to see the values your property has.
country takes ISO 3166-1 codes in alpha-3, as Search Console writes them (usa, deu), or in alpha-2 (us, de), in any case. Only country limits the rows to a country. location_id filters nothing: it only picks the location of the KWFinder search_volume, so for the rows of one country with that country's volumes, pass both.
The answer repeats search_type and, in filters, the filters it applied, with country codes in alpha-3 and each value once. Without a filter, filters is {}.
Example
US searches from mobile devices whose query contains "shoes", one row per query, with the US search volume of each query (location_id 2840 is the United States; GET /mangools/locations lists the others):
curl -G "https://api.mangools.com/v3/mangools/google/search-console/search-analytics" \
-H "X-Access-Token: YOUR_API_KEY" \
--data-urlencode "property=sc-domain:example.com" \
--data-urlencode "from=2026-10-01" \
--data-urlencode "to=2026-10-31" \
--data-urlencode "country=us" \
--data-urlencode "device=mobile" \
--data-urlencode "query=shoes" \
--data-urlencode "location_id=2840"The answer carries "filters": {"query": {"match": "contains", "value": "shoes"}, "country": ["usa"], "device": ["mobile"]}.
Dates and paging
from and to are days in YYYY-MM-DD format, and from cannot be after to. They are Search Console days, which run in Pacific time (UTC-8, or UTC-7 in daylight saving time). Search Console keeps 16 months of data, so from can be at most 16 months before today and to cannot be later than today, where today is the current day in Pacific time. Google returns finalized data only, so the last two or three days are usually empty.
One request returns a page of up to row_limit rows (1 to 25000, default 1000), starting at start_row (default 0). For the next page, raise start_row by row_limit. The last page has fewer rows than row_limit.
A page of 10,000 to 25,000 rows can take 15 to 45 seconds, so ask only for the rows you need, for example row_limit=1000 for the top 1,000 rows, and read the next page with start_row. To read every row with an API key, keep the pages large, because the burst limit below allows 3 requests per 30 seconds: 25 pages of 1,000 rows take about 4 minutes.
Errors
| Status and type | Meaning and what to do |
|---|---|
403 GscNotConnected | No Google account is connected. The message holds the page where you connect one, mangools.com/gsc. |
403 GscConnectionExpired | The connection of every connected Google account has expired: its access was revoked in Google, or it was not used for 6 months. Reconnect them at mangools.com/gsc, the page the message names, and send the request again. |
403 GscPropertyNotAccessible | No connected Google account can read the property. Call GET /mangools/google/search-console/properties and use one of the properties it lists, or connect the Google account that has access. When the connection of another Google account has expired, the message says so: reconnect it if it has access to the property. |
429 RateLimit | Your account sent more than 3 requests per burst window to these endpoints (retry_after 30 for API-key clients, 1 for the hosted MCP server), or, for search analytics only, Google's Search Console quota for the property is spent for now (retry_after 60). Wait retry_after seconds, then send the same request again. |
424 FailedDependencyException | Google Search Console did not answer. Try again later. |
Invalid parameters return 422 ValidationError, for example a from older than 16 months, an unknown dimension or a query_match without query. So does a parameter the endpoint does not know, so a misspelled filter such as countries never returns unfiltered rows. A request Google Search Console itself refuses, such as search_appearance grouped beside another dimension, returns 422 InvalidInput with Google's reason. See Errors.
Quota and limits
These endpoints belong to no quota pool. They spend no lookups and count no keyword lookup, also for the KWFinder search volume on query rows.
A burst limit counts every request to the Google Search Console endpoints together: at most 3 requests per window from one Mangools account, or as many as a higher burst limit of your plan allows. The window is 30 seconds for API-key clients and 1 second for the hosted MCP server, as on the other endpoints. A faster request is answered 429 with "type": "RateLimit" and retry_after set to the window: wait that many seconds, then send it again. The gateway limit applies as well.
MCP tools
The hosted Mangools MCP (Model Context Protocol) server at https://mcp.mangools.com/mcp offers these two endpoints to AI assistants as the tools gsc_list_properties and gsc_search_analytics, which takes the same grouping and filters. Like the API, the tools refuse an argument they do not know, so a misspelled filter returns an error instead of unfiltered rows. When no Google account is connected or the connection has expired, the tool error tells the assistant to send you to mangools.com/gsc to connect or reconnect it.
Authentication
Google Search Console endpoints require an API key passed as the x-access-token header. See Authentication for setup instructions.
Endpoints
| Method | Endpoint | Path | Quota |
|---|---|---|---|
GET | List Google Search Console properties | /mangools/google/search-console/properties | Free |
GET | Get Google Search Console performance data | /mangools/google/search-console/search-analytics | Free |
Endpoints marked Paid consume your lookup quota on every successful call. Free endpoints do not.