Project-specific allowed values for GSC Insights filters.
const url = 'https://sitechecker.pro/api/v1/gsc-insights/filter-values?project_id=12345';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/gsc-insights/filter-values?project_id=12345' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
12345Project ID.
Responses
Section titled “Responses”Available filter values and source availability flags
object
Project-specific values accepted by GSC Insights filters plus source availability.
object
Countries present in GSC data for this project, not a global country list.
object
Country code.
Display name.
Available GSC devices.
Supported position buckets for rankings filters.
Brand / non_brand values.
Whether Brand / Non-brand filtering is configured for the project.
Available metrics for history/selectors.
Daily / weekly / monthly.
Source connection/data availability statuses (gsc, ga4, site_audit).
object
object
Example
{ "data": { "countries": [ { "code": "usa", "name": "United States Of America" } ], "devices": [ "desktop", "mobile", "tablet" ], "position_buckets": [ "top_1", "top_2_3", "top_4_10", "top_11_30", "top_31_50", "top_51_100", "no_position" ], "brand_types": [ "all", "brand", "non_brand" ], "brand_settings_configured": true, "metrics": [ "clicks", "impressions", "ctr", "average_position" ], "ga4_metrics": [ "sessions", "bounce_rate", "average_session_duration", "key_events", "session_key_event_rate" ], "history_grouping": [ "daily", "weekly", "monthly" ] }}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." }}Google Search Console is not connected
Also returned as site_audit_data_unavailable on endpoints that join Site Audit page content.
object
object
Example
{ "error": { "code": "gsc_not_connected", "message": "Google Search Console is not connected for this project." }}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." }}