Skip to content
Join the waitlist

Sites

List Sites

GET/api/v1/sites

The sites the key can read. 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 sites the key can readcurl "https://app.queryrev.com/api/v1/sites?limit=50" \  -H "Authorization: Bearer $QUERYREV_API_KEY"

Parameters

The parameters of this endpoint
  • 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 Site, with next_cursor and meta.

The fields of Site
  • id
    string (uuid)
  • name
    string
  • url
    string
  • status
    string, one of active, archived
  • created_at
    string (date-time)
An example answer, 200
{  "data": [    {      "id": "3f6c1a52-8d4e-4b7a-9c21-5e0f7b3d9a14",      "name": "Shop Example",      "url": "https://shop.example",      "status": "active",      "created_at": "2026-10-28T09:14:00Z"    }  ],  "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

This answer holds no figures.

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.
  • 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_sites, with the same inputs.

Cite this page

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

QueryRev AI. “List Sites.” QueryRev AI, 7 Nov 2026. https://queryrev.com/docs/api/list-sites

Related