Rank Tracker Countries
const url = 'https://sitechecker.pro/api/v1/rank_tracker_countries';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://sitechecker.pro/api/v1/rank_tracker_countries \ --header 'Authorization: Bearer <token>'Lists the countries keywords can be tracked in, with the search engines that support each one. Send country_code as geo country_code when adding keywords.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Countries ordered by name
object
A country keywords can be tracked in.
object
ISO 3166-1 alpha-2 code, the value to send as geo country_code.
Search engines that support this country.
Whether city/region locations are available (Google only). See GET /api/v1/rank_tracker_locations.
object
Example
{ "data": [ { "country_code": "US", "country_name": "United States", "search_engines": [ "google", "bing", "yahoo" ], "locations_supported": true } ], "meta": { "total": 249 }}Missing or invalid API key
Returned as INVALID_API_KEY when the key is missing or unknown, and as REVOKED_API_KEY when the key exists but was revoked — the latter needs a new key.
object
object
Example
{ "error": { "code": "INVALID_API_KEY", "message": "Invalid or missing API key." }}No active API entitlement for the account
For endpoints that take no project_id. Returned as MISSING_PUBLIC_API_ACCESS when the account has no active API entitlement, and as ACCOUNT_BLOCKED or ACCOUNT_INACTIVE when the account behind a valid key is blocked or deactivated — a new key will not help, contact support@sitechecker.pro.
object
object
Example
{ "error": { "code": "MISSING_PUBLIC_API_ACCESS", "message": "API access is not available: the account has no active API entitlement." }}Validation error
Rejected query parameters. error.code is VALIDATION_ERROR for parameter validation (including a query parameter the endpoint does not accept), or INVALID_DATE_RANGE / INVALID_FILTER / INVALID_EVENT_TYPE / UNSUPPORTED_FILTER / UNSUPPORTED_DIMENSION / UNSUPPORTED_METRIC / UNSUPPORTED_SCOPE / SEGMENT_FILTER_UNSUPPORTED for module-specific rules. Request-body validation errors also carry error.details, listing every invalid field.
object
object
object
Every invalid field, not only the first one repeated in error.message. Present on request-body validation errors; field is the path inside the body.
object
Path of the invalid field inside the request body, e.g. url, keywords[0], geos[1].country_code.
Example
{ "error": { "code": "VALIDATION_ERROR", "message": "project_id is required." }}Rate limit exceeded — retry after the interval in the Retry-After header
object
object
Example
{ "error": { "code": "RATE_LIMIT_EXCEEDED", "message": "Rate limit exceeded. Try again later." }}Internal server error
object
object
Example
{ "error": { "code": "INTERNAL_ERROR", "message": "Internal server error." }}