---
title: "Whales Recent Trades"
method: GET
path: "/api/v2/whales/recent-trades"
---

# Whales Recent Trades

`GET /api/v2/whales/recent-trades`

## Request

- Base URL: `https://orcalayer.com` (the document declares no server; this is the origin it was published from)
- URL: `https://orcalayer.com/api/v2/whales/recent-trades`
- Auth: none declared

Most recent trades by smart whales (PnL > $100K). Cached 60s.

Optional category filter for /category/{slug} hub pages. Note SQL is
split into UNION ALL on lower(maker) and lower(taker) — Postgres
cannot use the lower(maker)/lower(taker) functional indexes when the
join condition is `OR`, so we run two index-friendly halves and
UNION ALL them together. ~6x faster (5s vs 32s) for category-filtered
queries.

## Query parameters

- `limit` integer
- `hours` integer
- `min_size_usd` number
- `category` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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