---
title: "Get top search queries"
method: GET
path: "/api/v1/metrics/top-queries"
tags: ["metrics"]
---

# Get top search queries

`GET /api/v1/metrics/top-queries`

Get the most popular search queries

## Query parameters

- `start` string, required
- `end` string, required
- `limit` integer

## Response `200`

OK

- QueryCount[]
  - `count` integer
  - `query` string
  - `query_type` string

## Changes

> 56 revisions in range; 1 not diffed.

- **2026-08-24** `0bd802afff21` — 2 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - the endpoint scheme security `BearerAuth` was added to the API
- **2026-05-12** `9c7a801e49dd` — 1 breaking
  - api path removed without deprecation
- **2025-08-28** `1c49d0502590` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/api/v1/metrics/top-queries/get.md)

---

[API](https://skmtc.dev/marmotdata/apis/marmot-api.md) · [All operations](https://skmtc.dev/marmotdata/apis/marmot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/marmotdata/marmot-api/revisions/0bd802afff21/schema)
