---
title: "Returns trades based on the given filters"
method: GET
path: "/api/trades"
tags: ["Trade"]
---

# Returns trades based on the given filters

`GET /api/trades`

## Request

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

## Query parameters

- `page` integer
- `pageSize` integer

## Request body

- object

## Response `200`

OK

- TradeRequest[]
  - `id` string, nullable: Gets or sets the unique identifier of the trade request.
  - `playerUuid` string, nullable: Gets or sets the player UUID initiating the trade.
  - `playerName` string, nullable: Gets or sets the player name.
  - `buyerUuid` string, nullable: Gets or sets the buyer UUID.
  - `item` Item
    - `id` integer, nullable
    - `itemName` string, nullable
    - `tag` string, nullable
    - `extraAttributes` object, nullable
    - `enchantments` object, nullable
    - `color` integer, nullable
    - `description` string, nullable
    - `count` integer, nullable
  - `coins` integer, nullable: The amount of coins the player wants to spend
  - `wantedItems` WantedItem[], nullable: Gets or sets the list of wanted items in exchange.
    - `tag` string, nullable: Gets or sets the tag.
    - `itemName` string, nullable: Gets or sets the item name.
    - `filters` object, nullable: Gets or sets the filters.
  - `timestamp` string, date-time, required: Gets or sets the timestamp of the trade request.

## Changes

- **2026-12-03** `c787372dc7a2`: 4 warning
  - for the `query` request parameter `page`, the max was set to `1000.00`
  - for the `query` request parameter `pageSize`, the max was set to `100.00`
  - for the `query` request parameter `page`, the min was set to `0.00`
  - for the `query` request parameter `pageSize`, the min was set to `1.00`
- **2026-08-04** `41f7cdd4406b`: 3 info
  - the response property `items/timestamp` became required for the status `200` (media type: text/plain)
  - the response property `items/timestamp` became required for the status `200` (media type: application/json)
  - the response property `items/timestamp` became required for the status `200` (media type: text/json)
- **2024-01-10** `64a743ab7c2a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coflnet/apis/skyapi/changes/api/trades/get.md)

---

[API](https://skmtc.dev/coflnet/apis/skyapi.md) - [All operations](https://skmtc.dev/coflnet/apis/skyapi/llms.txt) - [OpenAPI document](https://skmtc.dev/coflnet/apis/skyapi/revisions/c787372dc7a2?raw)
