CLIENT API / V1 KEYWORDS & SERP RANKS
Read stored GSC keyword windows
GET
/sites/{site_id}/keywords/{keyword_id}/gsc/historykeywords:readOVERVIEW
Original window_start/window_end and sync timestamps are preserved. Page breakdowns include at most 100 stored entries; these are not arbitrary-date reports.
| Request | GET https://satelliteai.io/api/v1/sites/{site_id}/keywords/{keyword_id}/gsc/history |
| Permission | keywords:read |
| Response | A list (cursor or offset paginated): data is array of SearchKeywordGscSnapshot. |
| Operation ID | listKeywordGscHistory |
More context and worked examples are in the developer guide.
REQUEST
Example request
curl --fail-with-body \
'https://satelliteai.io/api/v1/sites/123/keywords/789/gsc/history' \
-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 |
keyword_idrequired | path | integer | Tracked keyword ID returned by GET /sites/{site_id}/keywords; distinct from the global keyword_id field. min 1 |
limit | query | integer | Maximum rows per page. default 50 · min 1 · max 100 |
cursor | query | string | Opaque next_cursor from the prior response. Expires after 24 hours; bound to integration, permissions, sites and unchanged filters. Restart pagination if access changes. max length 4096 |
window_days | query | integer | min 1 · max 366 |
Unknown or repeated query parameters return 400.
RESPONSE
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[].id | integernullable | Satellite identifier for this record. |
data[].site_id | integernullable | Satellite site ID (from GET /sites). |
data[].tracked_keyword_id | integernullable | |
data[].window_start | string (date)nullable | |
data[].window_end | string (date)nullable | |
data[].window_days | numbernullable | |
data[].synced_at | string (date-time)nullable | |
data[].total_clicks | numbernullable | |
data[].total_impressions | numbernullable | |
data[].avg_position | numbernullable | |
data[].avg_ctr | numbernullable | |
data[].clicks_change | numbernullable | |
data[].impressions_change | numbernullable | |
data[].position_change | numbernullable | |
data[].ctr_change | numbernullable | |
data[].pages_with_clicks | numbernullable | |
data[].pages_with_impressions | numbernullable | |
data[].potential_cannibalization | booleannullable | |
data[].cannibalization_severity | stringnullable | |
data[].source | string | one of: stored |
data[].rank_meaning | string | one of: impression_weighted_average_position |
data[].arrays_limited_to | integer | one of: 100 |
data[].omitted_fields | array of string | Stored JSON fields omitted because they exceed 256 KiB. |
data[].page_breakdown | array of object | max items 100 |
data[].page_breakdown[].url | string | Absolute URL as stored by Satellite. |
data[].page_breakdown[].clicks | numbernullable | min 0 |
data[].page_breakdown[].impressions | numbernullable | min 0 |
data[].page_breakdown[].ctr | numbernullable | min 0 · max 1 |
data[].page_breakdown[].position | numbernullable | min 0 |
Response metadata
| Field | Type | Description |
|---|---|---|
meta.request_id | stringalways present | Request identifier; also returned in X-Request-ID. Include it in support requests. |
meta.api_version | stringalways present | API version that produced the response. one of: v1 |
meta.limit | integer | Maximum records per page applied to this request. min 1 · max 100 |
meta.has_more | boolean | True when another page is available. |
meta.next_cursor | stringnullable | Opaque cursor for the next page; send as cursor. Null on the last page. |
meta.availability | string | available when stored data exists; not_available when it does not. one of: available, not_available |
meta.billing | object | Present for paid live SERP requests; replayed receipts describe the original debit, not an additional charge. |
meta.billing.operation | stringalways present | one of: client_api_serp_refresh |
meta.billing.credits_charged | integeralways present | min 0 |
meta.billing.transaction_id | integeralways present | |
meta.billing.replayed | booleanalways present |
ERRORS
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. |