---
title: "Get trade history"
method: POST
path: "/trades"
tags: ["Trades"]
---

# Get trade history

`POST /trades`

Please note that the response will contain both "directions" (buys, sells) of the trade. For example, if you input tokenA/tokenB mints for SOL/USDC in the request body, the response will contain trades with (source = SOL, destination = USDC) or (source = USDC, destination = SOL).

## Request body

- object
  - `tokenAMint` string, required — public key of the first mint
  - `tokenBMint` string, required — public key of the second mint
  - `start` string, required — start of the date range to fetch trades from, e.g. date ISO string: "2023-01-01T00:00Z" or epoch in ms: 1678381747854
  - `end` string, required — end of the date range to fetch trades to, e.g. date ISO string: "2023-01-01T00:00Z" or epoch in ms: 1678381747854
  - `paginationToken` string, required — pagination token to use for retrieving results. If the response contains a paginationToken JSON property, you can use that in the next request to fetch more data from the last trade onwards. If the property does not exist, you've reached the end.

## Response `200`

OK

---

[API](https://skmtc.net/kamino/apis/kamino-finance-public-api.md) · [All operations](https://skmtc.net/kamino/apis/kamino-finance-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kamino/kamino-finance-public-api/revisions/f049f5a79b7e/schema)
