Competitor domain aggregates with visibility and ranking distribution.
const url = 'https://sitechecker.pro/api/v1/competitor_domains?project_id=12345&date_from=2026-02-22&date_to=2026-05-22&search_engine=google&device=desktop&location_id=loc_TmV3IFlvcms&language_code=en&group_id=SG9tZSBQYWdlcw&rankings=all&movement_window=1d&serp_feature=ads&limit=50&offset=0';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/competitor_domains?project_id=12345&date_from=2026-02-22&date_to=2026-05-22&search_engine=google&device=desktop&location_id=loc_TmV3IFlvcms&language_code=en&group_id=SG9tZSBQYWdlcw&rankings=all&movement_window=1d&serp_feature=ads&limit=50&offset=0' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
12345Project ID.
Example
2026-02-22Start of the Rank Tracker date range (inclusive, Y-m-d). Clamped to the project’s available indicator dates.
Example
2026-05-22End of the Rank Tracker date range (inclusive, Y-m-d). Visibility-style fields are snapshots for the latest available check within this range (as_of_date).
Example
googleSearch engine machine value from rank_tracker_filter_values (e.g. google).
Device filter.
Example
loc_TmV3IFlvcmsOpaque location id from rank_tracker_filter_values tracking_profiles (loc_… value).
Example
enLanguage code (ISO alpha-2) from rank_tracker_filter_values.
Example
SG9tZSBQYWdlcwKeyword group id from the groups endpoint (opaque value).
Ranking filter. Bucket filters are cumulative (top_10 = positions 1-10); response distribution buckets are exclusive. Movement filters (moved_up/moved_down/not_changed) compare against the movement_window snapshot.
Comparison window for movement rankings filters. Only valid with rankings=moved_up, moved_down or not_changed. Default: 7d.
Filter keywords whose SERP contains the feature.
Minimum search volume.
Maximum search volume.
Page size. Rank Tracker list endpoints cap at 50 rows per request.
Pagination offset.
Responses
Section titled “Responses”Competitor domain rows (main domain first)
object
Competitor/domain aggregate: visibility snapshot and exclusive ranking-distribution buckets with changes computed against the earliest check in the selected range. The main domain row comes first with is_main_domain=true.
object
Pagination meta plus the snapshot date used for visibility-style fields.
object
Example
{ "data": [ { "domain": "semrush.com", "is_main_domain": false, "competitor_id": 456, "visibility": 15.22, "visibility_change": -1.3, "top_1_count": 11, "top_1_change": -17, "top_2_3_count": 43, "top_2_3_change": -15, "top_4_10_count": 126, "top_4_10_change": 15, "top_11_30_count": 118, "top_11_30_change": -10, "top_31_50_count": 49, "top_31_50_change": -17, "top_51_100_count": 42, "top_51_100_change": -3, "no_position_count": 705, "no_position_change": 9 } ], "meta": { "total": 137, "limit": 50, "offset": 0, "as_of_date": "2026-05-22" }}Missing or invalid API key
object
object
Example
{ "error": { "code": "unauthorized", "message": "Invalid or missing API key." }}No active API entitlement for the account, or the project belongs to another account
Returned as api_access_denied when the account has no active API entitlement, and as forbidden when the requested project belongs to another account.
object
object
Example
{ "error": { "code": "api_access_denied", "message": "API access is not available: the account has no active API entitlement." }}Project not found
The exact missing resource is in error.code: project_not_found, segment_not_found, crawl_not_found, keyword_not_found, opportunity_not_found, snapshot_unavailable or not_found.
object
object
Example
{ "error": { "code": "project_not_found", "message": "Project not found." }}Validation error
Rejected query parameters. error.code is validation_error for parameter validation, or invalid_date_range / invalid_filter / invalid_event_type / unsupported_filter / unsupported_dimension / unsupported_scope / segment_filter_unsupported for module-specific rules.
object
object
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." }}