---
title: "Trending markets by 1h volume"
method: GET
path: "/api/markets/trending"
tags: ["Discover"]
---

# Trending markets by 1h volume

`GET /api/markets/trending`

## Request

- Base URL: `https://data.kairos.trade`
- URL: `https://data.kairos.trade/api/markets/trending`
- Auth: API key in header `X-Client-Id` and API key in header `X-Api-Key` and API key in header `X-Api-Secret`

Returns trending markets ranked by 1-hour volume.

## Query parameters

- `limit` integer
- `provider` string

## Response `200`

Trending markets ranked by 1h volume.

- DiscoverTrendingResponse
  - `markets` DiscoverTrendingMarket[], required
    - `id` string
    - `ticker` string: Same value as id.
    - `title` string
    - `price` number
    - `volume` number: Total volume (TrendingMarket.volume_total).
    - `volume1h` number
    - `provider` string
    - `outcomeLabel` string, nullable
    - `event_id` string, nullable
  - `count` integer, required
  - `timestamp` string, required

## Other responses

- `401`: No valid credential presented — missing/invalid API-key headers, or an invalid/expired session token.
- `403`: Authenticated but not permitted. Three distinct causes: the session user is not invited (`Invite required`), the API key lacks the operation's scope, or API-key access to the requested venue is switched off (`API access is disabled for <provider>`). Admin and API-key callers bypass the invite check; session and admin callers bypass scope and venue checks.
- `422`: Request failed FastAPI parameter validation.
- `429`: Rate limit exceeded for this route's sliding window, keyed on the session `sub` when authenticated and on the trusted client IP otherwise. Honor `Retry-After`. A per-API-key data ceiling (set per credential) rejects with `{"detail": "API key data rate limit exceeded"}` instead of the `error` envelope below.
- `500`: Trending lookup failed.

---

[API](https://skmtc.dev/kairos/apis/kairos-data-api.md) - [All operations](https://skmtc.dev/kairos/apis/kairos-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kairos/apis/kairos-data-api/revisions/cf6b76079e38?raw)
