---
title: "Get Trades"
method: GET
path: "/v1/perps/trades"
tags: ["Market Data"]
---

# Get Trades

`GET /v1/perps/trades`

Returns a paginated list of public trades for a market.

## Query parameters

- `market` string, required
- `limit` integer
- `cursor` string

## Response `200`

Paginated list of trades, most recent first

- object
  - `success` boolean, required — Whether the request was successful
  - `error` string — Error message, present only on failure
  - `error_code` string — Semantic error code. See each endpoint's error responses for the specific codes it can return.
  - `deprecated` string — Deprecation notice, if applicable
  - `result` ApiTrade[]
    - `market` string, required — Trading market
    - `price` string, required — Trade price
    - `size` string, required — Trade size in base currency
    - `cost` string, required — Trade cost in quote currency
    - `aggressor_side` 'buy' | 'sell', required — Side of the aggressing (taker) order
    - `time` string, date-time, required — Time the trade occurred
    - `id` string, required — Trade/fill ID
  - `pageInfo` PageInfo
    - `prevCursor` string — Cursor value to get the previous page of results
    - `nextCursor` string — Cursor value to get the next page of results

## Other responses

- `400` — Bad request. The request was malformed or failed validation.
- `429` — Rate limit exceeded. Slow down request frequency.
- `500` — Internal server error.

---

[API](https://skmtc.net/ondoperps/apis/ondo-perps-rest-api.md) · [All operations](https://skmtc.net/ondoperps/apis/ondo-perps-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ondoperps/ondo-perps-rest-api/revisions/39df6b2fa672/schema)
