Skip to content
Join the waitlist

Sites

List Site Queries

GET/api/v1/sites/{site_id}/queries

The Search Console queries of a site, most clicks first. A list, paged by cursor.

By QueryRev AI Published Updated 2 min read

Request

Send the key in the Authorization header. Path parameters are written into the address; query parameters are optional.

curl
# The Search Console queries of a site, most clicks firstcurl "https://app.queryrev.com/api/v1/sites/9b2e7d41-0c5a-4f8e-8a63-2d1b6c9e4f07/queries?limit=50" \  -H "Authorization: Bearer $QUERYREV_API_KEY"

Parameters

The parameters of this endpoint
  • site_idRequired
    Path
    string (uuid)
  • limitOptional
    Query
    integer, at least 1
    Rows in the page: 1 to the endpoint's maximum (200 unless stated), 50 by default.
  • cursorOptional
    Query
    string
    The next_cursor of the previous answer, unchanged. Opaque; bound to the endpoint that made it and to the filters of the request (the site or report in the path, site_id, state): used with other filters it is refused as invalid_cursor.

Response

A list of QueryRow, with next_cursor and meta.

The fields of QueryRow
  • id
    string
  • query
    string
  • clicks
    Figure
  • impressions
    Figure
  • average_position
    null or Figure
An example answer, 200
{  "data": [    {      "id": "90314",      "query": "best espresso grinder",      "clicks": {        "kind": "known",        "kind_label": "Known",        "unit": "count",        "value": 312,        "period": {          "from": "2026-10-01",          "to": "2026-10-28"        },        "flags": [],        "confidence": {          "basis": "measured",          "sample_count": null        }      },      "impressions": {        "kind": "known",        "kind_label": "Known",        "unit": "count",        "value": 9840,        "period": {          "from": "2026-10-01",          "to": "2026-10-28"        },        "flags": [],        "confidence": {          "basis": "measured",          "sample_count": null        }      },      "average_position": {        "kind": "known",        "kind_label": "Known",        "unit": "position",        "value": 4.2,        "period": {          "from": "2026-10-01",          "to": "2026-10-28"        },        "flags": [],        "confidence": {          "basis": "measured",          "sample_count": null        }      }    }  ],  "next_cursor": "eyJ2IjoxLCJlIjoic2l0ZXMiLCJmIjoiIn0",  "meta": {    "revenue_view": "full"  }}

Sample values from an example site. Free-form fields, whose entries differ from one item to the next, are shown empty.

Figures and their kinds

The figures in this answer and the kinds each can have
  • data[].clicks
  • data[].impressions
  • data[].average_position
    Or null where there is nothing to measure.

Errors

The refusals this endpoint can answer
  • 400
    A parameter or the cursor is not valid (invalid_parameter, invalid_cursor).
  • 401
    No key, or a key that is wrong, revoked or expired (missing_api_key, invalid_api_key).
  • 403
    The workspace's access is suspended, or its plan is one the limits table does not know (plan_unavailable). The API fails closed. A workspace with no subscription is served at the smallest plan's rate, and a read-only one (payment overdue, canceled or ended) still reads at its plan's rate.
  • 404
    Nothing for this address, or nothing the key may read (not_found). A key never learns whether another workspace has it.
  • 429
    Over the plan's requests a minute (rate_limited), or too many refused requests (401 or 403) from one network in a minute: then the answer has Retry-After only.
  • 500
    Something went wrong on our side (internal_error). The answer never carries detail.
  • 503
    The API cannot answer right now (unavailable): a request that cannot be checked or counted is not served. Try again shortly. The answer never carries detail.

In the MCP server

In @queryrev/mcp this endpoint is the tool list_site_queries, with the same inputs.

Cite this page

A suggested citation. Its link goes to this page, whose address does not change.

QueryRev AI. “List Site Queries.” QueryRev AI, 7 Nov 2026. https://queryrev.com/docs/api/list-site-queries

Related