read
analytics

Queries Google Search Console search analytics for the store's property: clicks, impressions, CTR and average position,

Changed on

Queries Google Search Console search analytics for the store's property: clicks, impressions, CTR and average position, grouped by any of dimensions (date, query, page, country, device, searchAppearance, hour) and narrowed by filters (all must match). Dates are ISO days (2026-11-01) in Pacific time as Google keeps them; the default is the last 28 days to 3 days ago (final data). Google keeps 16 months. data_state "all" includes fresh, not-yet-final data; "hourly_all" with the hour dimension gives hourly rows. Each row's keys follow the order of dimensions. Paged: pass page.next_cursor back as cursor with the same arguments while page.has_more is true.

post/api/v1/tools/gsc_query_search_analytics

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesanalytics:read

Request body

object required
start_date, string

ISO day, e.g. 2026-11-01. Default: 30 days ago.

end_date, string

ISO day, e.g. 2026-11-28. Default: 3 days ago.

dimensions, string[]

Default ["query"]. Empty: one total row.

search_type, 'web' | 'image' | 'video' | 'news' | 'discover' | 'googleNews'

Default web.

filters, object[]
aggregation_type, 'auto' | 'byPage' | 'byProperty'

Default auto.

data_state, 'final' | 'all' | 'hourly_all'

Default final.

cursor, string

The page.next_cursor of the previous page.

limit, integer

Rows per page, default 25, at most 100.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision