---
title: "Top Pages"
method: GET
path: "/api/admin/pages"
tags: ["Admin"]
---

# Top Pages

`GET /api/admin/pages`

## Request

- Base URL: `https://pegarex.com.br` (the document declares no server; this is the origin it was published from)
- URL: `https://pegarex.com.br/api/admin/pages`
- Auth: HTTP bearer

Which pages get seen. Car detail pages are collapsed into one bucket —
there are millions of them and top-viewed-cars already ranks them
individually. Path comes from props.path (set by PageViewTracker); the url
column is the fallback for any older row without it.

## Query parameters

- `days` integer
- `limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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