---
title: "GET /trades"
method: GET
path: "/trades"
tags: ["Trades"]
---

# GET /trades

`GET /trades`

## Query parameters

- `address` string
- `symbol` string
- `marketAddress` string
- `since` number, double
- `until` number, double
- `actions` string[]
- `limit` number, double
- `cursor` string

## Response `200`

Success

- TradesListResponse
  - `hasMore` boolean, required
  - `nextCursor` string, nullable, required
  - `trades` TradeResponse[], required
    - `reasonBytes` string
    - `reason` string
    - `numberOfParts` number, double
    - `twapGroupId` string
    - `srcChainId` number, double
    - `decreasePositionSwapType` string
    - `proportionalPendingImpactUsd` string
    - `collateralTotalCostAmount` string
    - `swapImpactUsd` string
    - `executionAmountOut` string
    - `totalImpactUsd` string
    - `liquidationFeeAmount` string
    - `swapFeeUsd` string
    - `fundingFeeAmount` string
    - `borrowingFeeAmount` string
    - `traderDiscountAmount` string
    - `positionFeeAmount` string
    - `priceImpactDiffUsd` string
    - `priceImpactUsd` string
    - `basePnlUsd` string
    - `pnlUsd` string
    - `minOutputAmount` string
    - `collateralTokenPriceMax` string
    - `collateralTokenPriceMin` string
    - `indexTokenPriceMax` string
    - `indexTokenPriceMin` string
    - `executionPrice` string
    - `triggerPrice` string
    - `acceptablePrice` string
    - `sizeDeltaInTokens` string
    - `sizeDeltaUsd` string
    - `isLong` boolean
    - `marketAddress` string
    - `shouldUnwrapNativeToken` boolean
    - `initialCollateralDeltaAmount` string, required
    - `initialCollateralTokenAddress` string, required
    - `swapPath` string[], required
    - `transactionHash` string, required
    - `timestamp` number, double, required
    - `orderKey` string, required
    - `orderType` number, double, required
    - `account` string, required
    - `eventName` string, required
    - `id` string, required

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

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