Read stored or fresh Search Console performance
/sites/{site_id}/search-console/reports/{report_type}search-console:readLive mode makes one Google request using the selected property's totals for whole-property sites, or the authorized hostname/path for narrower sites, with an optional exact registered page. Leading www and non-www hosts are equivalent. This is fresh retrieval of delayed aggregate reporting, not real-time traffic. Google returns top rows and may omit anonymized queries. query dimensions/filters are unavailable for Discover and Google News. Stored mode supports summary and dates for whole-host domain or URL-prefix properties and matching path properties. Property totals exceeding a narrower site, unsupported dimensions, and missing snapshots return data:null with a reason. Stored daily totals reject page/query/country/device filters and data_state=all. Coverage identifies missing dates without filling them with zero. Live reports consume a shared property budget (default 10/minute); they do not populate Satellite caches.
| Request | GET https://satelliteai.io/api/v1/sites/{site_id}/search-console/reports/{report_type} |
| Permission | search-console:read |
| Response | A single object: data is SearchConsoleReport, or null when nothing is stored. |
| Operation ID | getSearchConsoleReport |
More context and worked examples are in the developer guide.
Example request
curl --fail-with-body \
'https://satelliteai.io/api/v1/sites/123/search-console/reports/sessions_over_time' \
-H "Authorization: Bearer $SATELLITE_API_KEY"Replace the example IDs with values returned by the discovery endpoints. Example values are placeholders, not real records.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
site_idrequired | path | integer | ID from GET /sites. min 1 |
report_typerequired | path | string | one of: summary, dates, queries, pages, query_pages, countries, devices, search_appearance |
source | query | string | one of: stored, live · default stored |
days | query | integer | Inclusive Pacific calendar dates ending today; mutually exclusive with explicit dates. default 28 · min 1 · max 480 |
start_date | query | string (date) | Must be paired with end_date, with an inclusive span of at most 480 dates and neither date in the future. |
end_date | query | string (date) | |
search_type | query | string | one of: web, image, video, news, discover, googleNews · default web |
data_state | query | string | all includes available preliminary data; stored totals require final. one of: final, all · default final |
page_id | query | integer | Optional registered page within this site. min 1 |
query | query | string | Exact query; live only. min length 1 · max length 500 |
country | query | string | ISO alpha-3; live only. pattern ^[A-Za-z]{3}$ |
device | query | string | Live only. one of: desktop, mobile, tablet |
limit | query | integer | Maximum rows per page. default 50 · min 1 · max 100 |
offset | query | integer | default 0 · min 0 · max 100000 |
Unknown or repeated query parameters return 400.
Data dictionary
Results retrieved; consult availability, source, and timestamps.
[] marks an array element. nullable means the value can be null; treat it as unknown, not zero. always present means the key is always included in the object.
| Field | Type | Description |
|---|---|---|
data.site_id | integeralways present | Satellite site ID (from GET /sites). |
data.source | stringalways present | one of: stored, live |
data.report_type | stringalways present | one of: summary, dates, queries, pages, query_pages, countries, devices, search_appearance |
data.property_url | string | |
data.date_range | objectalways present | |
data.date_range.start_date | string (date)always present | |
data.date_range.end_date | string (date)always present | |
data.timezone | string | one of: America/Los_Angeles |
data.search_type | string | one of: web, image, video, news, discover, googleNews |
data.data_state | string | one of: final, all |
data.dimensions | array of string | |
data.metric_definitions | object | |
data.metric_definitions.ctr | string | one of: fraction |
data.metric_definitions.position | string | one of: impression_weighted_average_not_serp_rank |
data.live_data_is_realtime | boolean | one of: False |
data.rows | array of SearchConsoleRowalways present | max items 100 |
data.rows[].date | string | |
data.rows[].query | string | |
data.rows[].page | string | |
data.rows[].country | string | |
data.rows[].device | string | |
data.rows[].searchAppearance | string | |
data.rows[].clicks | numbernullablealways present | min 0 |
data.rows[].impressions | numbernullablealways present | min 0 |
data.rows[].ctr | numbernullablealways present | min 0 · max 1 |
data.rows[].position | numbernullablealways present | min 0 |
data.row_count | integeralways present | |
data.row_count_is_total | booleanalways present | |
data.fetched_at | string (date-time)nullable | When Satellite fetched the data from its source (UTC, RFC 3339). |
data.oldest_fetched_at | string (date-time)nullable | |
data.aggregation_type | stringnullable | one of: auto, byPage, byProperty, None |
data.report_metadata | objectnullable | |
data.report_metadata.first_incomplete_date | string | |
data.report_metadata.first_incomplete_hour | string | |
data.data_may_be_incomplete | boolean | |
data.coverage | objectalways present | |
data.coverage.stored_days | integer | |
data.coverage.requested_days | integer | |
data.coverage.first_date | string (date) | |
data.coverage.last_date | string (date) | |
data.coverage.complete | boolean | |
data.coverage.missing_dates_are_zero | boolean | one of: False |
data.coverage.reason | string |
Response metadata
| Field | Type | Description |
|---|---|---|
meta.request_id | string | Request identifier; also returned in X-Request-ID. Include it in support requests. |
meta.api_version | string | API version that produced the response. |
meta.availability | string | available when stored data exists; not_available when it does not. one of: available, not_available |
meta.reason | string | |
meta.limit | integer | Maximum records per page applied to this request. |
meta.offset | integer | |
meta.has_more | boolean | True when another page is available. |
meta.next_offset | integernullable | |
meta.offset_limit_reached | boolean |
Error responses
Errors return {"error": {"code", "message", "request_id"}}. See error handling for retry guidance.
| HTTP | When |
|---|---|
400 | Invalid, unknown, repeated, or incompatible query parameter. |
401 | Missing, expired, invalid, or revoked client key. |
403 | Required scope or API entitlement is unavailable. |
404 | Missing resource or resource outside the granted site/company. |
409 | Google connection/property, site scope, or live ranking settings require attention. |
413 | The stored payload or response exceeds the retrieval bound. |
429 | Satellite or provider quota exceeded; honor Retry-After. |
502 | Provider request failed or returned an invalid/oversized response. |
503 | A required storage, provider configuration, or quota dependency is unavailable. |
504 | Provider request timed out. |