Sites
List Sites
/ api/ v1/ sitesThe 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.
# The sites the key can readcurl "https://app.queryrev.com/api/v1/sites?limit=50" \ -H "Authorization: Bearer $QUERYREV_API_KEY"Parameters
limitOptionalQueryinteger, at least 1Rows in the page: 1 to the endpoint's maximum (200 unless stated), 50 by default.cursorOptionalQuerystringThenext_cursorof 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 asinvalid_cursor.
| Name | In | Type | What it is |
|---|---|---|---|
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.
Siteidstring (uuid)namestringurlstringstatusstring, one of active, archivedcreated_atstring (date-time)
| Field | Type and meaning |
|---|---|
id | string (uuid) |
name | string |
url | string |
status | string, one of active, archived |
created_at | string (date-time) |
{ "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
- 400A parameter or the cursor is not valid (
invalid_parameter,invalid_cursor). - 401No key, or a key that is wrong, revoked or expired (
missing_api_key,invalid_api_key). - 403The 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. - 429Over 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 hasRetry-Afteronly. - 500Something went wrong on our side (
internal_error). The answer never carries detail. - 503The 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.
| Status | When |
|---|---|
| 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
# The sites the key can readcurl "https://app.queryrev.com/api/v1/sites?limit=50" \ -H "Authorization: Bearer $QUERYREV_API_KEY"{ "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.