CLIENT API / V1 KEYWORDS & SERP RANKS

Read stored or fresh SERP ranks

GET/sites/{site_id}/keywords/{keyword_id}/serpkeywords:read

source=stored returns the latest saved snapshot. source=live additionally requires rankings:live and performs one uncached SerpAPI Google first-page search using the tracked locale/country/device/location. It consumes a paid provider request, requires configured provider credentials, and shares company budgets (default 5/minute and 100/day). It does not scan the full top 100 or write tracking history. A null live rank means not found in the returned first search page. Inspect results_checked and search_pages_checked. Stored snapshots exclude raw provider payloads and may have different result coverage. Each new live request requires Idempotency-Key and deducts 1 company credit by default before provider dispatch; successful empty searches are billable. A completed same-key retry replays the saved DTO and original billing receipt without another provider call or debit. Insufficient credit returns 402 before dispatch. Reusing a key with another resource or tracking settings returns 409. Pending/unknown outcomes never redispatch and return 409. Definite unbilled failures reverse the debit within original allocation expiry/period rules; ambiguous timeouts retain the charge for reconciliation. Stored reads are free. data.persisted refers to tracking history; paid response DTOs are saved separately for retries.

RequestGET https://satelliteai.io/api/v1/sites/{site_id}/keywords/{keyword_id}/serp
Permissionkeywords:read; also rankings:live when source=live
ResponseA single object: data is SearchSerpRank.
Operation IDgetKeywordSerpRank

More context and worked examples are in the developer guide.

Example request

cURL · Bash
curl --fail-with-body \
  'https://satelliteai.io/api/v1/sites/123/keywords/789/serp' \
  -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

NameInTypeDescription
site_idrequiredpathintegerID from GET /sites.
min 1
keyword_idrequiredpathintegerTracked keyword ID returned by GET /sites/{site_id}/keywords; distinct from the global keyword_id field.
min 1
sourcequerystring
one of: stored, live · default stored
Idempotency-KeyheaderstringRequired only for source=live. Use a new UUID for each intended refresh and the same value when retrying it. Scoped to the integration across credential rotation. Visible ASCII without spaces or other whitespace. Never silently generate a new key after a timeout.
min length 16 · max length 128

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.

Fields in data
FieldTypeDescription
data.idintegernullableSatellite identifier for this record.
data.site_idintegernullableSatellite site ID (from GET /sites).
data.tracked_keyword_idintegernullable
data.checked_atstring (date-time)nullable
data.providerstringnullable
data.check_typestringnullable
data.our_best_ranknumbernullable
data.our_best_urlstringnullable
data.pages_ranking_countnumbernullable
data.rank_changenumbernullable
data.previous_ranknumbernullable
data.previous_urlstringnullable
data.url_changedbooleannullable
data.ai_overview_presentbooleannullable
data.ai_overview_cites_usbooleannullable
data.featured_snippet_presentbooleannullable
data.we_own_featured_snippetbooleannullable
data.ddg_best_ranknumbernullable
data.ddg_best_urlstringnullable
data.sourcestring
one of: stored, live
data.availableboolean
data.our_pages_in_serparray of SearchOrganicResult
max items 100
data.our_pages_in_serp[].positionintegernullable
data.our_pages_in_serp[].domainstringnullable
data.our_pages_in_serp[].urlstringnullableAbsolute URL as stored by Satellite.
data.our_pages_in_serp[].titlestringnullable
data.our_pages_in_serp[].snippetstringnullable
data.our_pages_in_serp[].is_usboolean
data.top_organic_resultsarray of SearchOrganicResult
max items 100
data.top_organic_results[].positionintegernullable
data.top_organic_results[].domainstringnullable
data.top_organic_results[].urlstringnullableAbsolute URL as stored by Satellite.
data.top_organic_results[].titlestringnullable
data.top_organic_results[].snippetstringnullable
data.top_organic_results[].is_usboolean
data.rank_meaningstring
one of: organic_position_at_check_time
data.search_enginestring
data.localestring
data.country_codestring
data.devicestring
data.location_namestringnullable
data.results_checkedinteger
data.search_pages_checkedinteger
one of: 1
data.effective_locationstringExplicit provider location, from the saved location or Satellite's supported country default.
data.google_domainstringGoogle domain selected for the tracked country.
data.persistedboolean
one of: False
data.not_found_meaningstring
one of: not_found_in_returned_first_search_page
data.arrays_limited_tointeger
one of: 100
data.omitted_fieldsarray of stringStored JSON fields omitted because they exceed 256 KiB; their empty arrays do not mean no results.

Response metadata

Fields in meta
FieldTypeDescription
meta.request_idstringalways presentRequest identifier; also returned in X-Request-ID. Include it in support requests.
meta.api_versionstringalways presentAPI version that produced the response.
one of: v1
meta.limitintegerMaximum records per page applied to this request.
min 1 · max 100
meta.has_morebooleanTrue when another page is available.
meta.next_cursorstringnullableOpaque cursor for the next page; send as cursor. Null on the last page.
meta.availabilitystringavailable when stored data exists; not_available when it does not.
one of: available, not_available
meta.billingobjectPresent for paid live SERP requests; replayed receipts describe the original debit, not an additional charge.
meta.billing.operationstringalways present
one of: client_api_serp_refresh
meta.billing.credits_chargedintegeralways present
min 0
meta.billing.transaction_idintegeralways present
meta.billing.replayedbooleanalways present

Error responses

Errors return {"error": {"code", "message", "request_id"}}. See error handling for retry guidance.

HTTPWhen
400Invalid query or missing/invalid Idempotency-Key for a live request.
401Missing, expired, invalid, or revoked client key.
403Required scope or API entitlement is unavailable.
404Missing resource or resource outside the granted site/company.
409Unsupported live tracking, idempotency conflict, request in progress, or unresolved provider outcome. The same idempotency key cannot cause a second provider call.
413The stored payload or response exceeds the retrieval bound.
429Satellite or provider quota exceeded; honor Retry-After.
502Provider request failed or returned an invalid/oversized response.
503A required storage, provider configuration, or quota dependency is unavailable.
504Provider request timed out.
402insufficient_credits: company balance cannot fund this request; no provider call or debit.