---
title: "Top search queries from the workspace's Google Search Console property."
method: GET
path: "/gsc/top-queries"
---

# Top search queries from the workspace's Google Search Console property.

`GET /gsc/top-queries`

## Request

- Base URL: `https://app.seomatic.ai/api/v1`
- URL: `https://app.seomatic.ai/api/v1/gsc/top-queries`
- Auth: HTTP bearer

## Query parameters

- `days` integer
- `limit` integer

## Response `200`

Query rows with clicks/impressions/ctr/position

- object
  - `site` string
  - `window_days` integer
  - `rows` object[]
    - `query` string
    - `clicks` number
    - `impressions` number
    - `ctr` number
    - `position` number

## Other responses

- `401`: Missing or invalid API key
- `403`: Key lacks the 'read:gsc' scope
- `409`: Workspace has no GSC property connected
- `429`: Rate limited (per key). Retry-After header set.

---

[API](https://skmtc.dev/seomatic/apis/seomatic-api.md) · [All operations](https://skmtc.dev/seomatic/apis/seomatic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/seomatic/apis/seomatic-api/revisions/113a2a263604?raw)
