---
title: "Get a list of swap transactions"
method: GET
path: "/swap/transactions"
---

# Get a list of swap transactions

`GET /swap/transactions`

[Available in Production/Sandbox environment] Get a list of swap transactions created using Swap API.

## Query parameters

- `filter[customerProfileId]` string
- `filter[transactionId]` string
- `filter[idempotencyId]` string
- `filter[createdAfter]` string
- `filter[createdBefore]` string
- `page[size]` integer
- `page[number]` integer
- `sort` string

## Headers

- `X-XFERS-APP-API-KEY` string, required
- `X-PUBLIC-KEY-ID` string
- `X-TIMESTAMP` string
- `X-NONCE` string
- `X-SIGNATURE` string

## Response `200`

200

- object
  - `data` object[]
    - `id` string — Swap transaction ID.
    - `type` string — Request type.
    - `attributes` object
      - `idempotencyId` string — Idempotency ID of this swap transaction.
      - `quoteId` string — Swap quote ID.
      - `status` string — Status of the swap transaction.
      - `swapPair` string — The currency pair involved in the swap.
      - `sourceCurrency` string — The source currency of requested swap quote.
      - `targetCurrency` string — The target currency of requested swap quote.
      - `fixedSide` string — Indicates which side of the swap has a fixed amount, can be either `source` or `target`.
      - `totalSourceCurrencyAmount` string — The total amount of the source currency that will be deducted for the swap, including any applicable fees.
      - `sourceCurrencyAmount` string — The amount of the source currency being converted, excluding any fees.
      - `targetCurrencyAmount` string — The amount of the target currency that will be received from the swap.
      - `rate` string — The proposed exchange rate.<br><br>Note: The rate is always defined as the first currency in the swap pair quoted against the second currency.
      - `fees` object[] — Additional transaction fees or markup applied on top of the exchange rate.
        - `type` string — Fee type.
        - `amount` string — The amount of the fee charged for the swap, expressed in the specified fee currency.
        - `currency` string — The currency for the fee amount.
      - `createdAt` string — The timestamp indicating when the quoted rate is created.
      - `updatedAt` string — The timestamp indicating when the quoted rate is updated.
      - `customerProfileId` unknown
  - `meta` object — Metadata about the returned list, such as pagination details.
    - `total` integer — Total count.
    - `pages` integer — Page size.
  - `links` object — URLs related to the paginated result set.
    - `self` string — The URL of the current request/page.
    - `next` string — The URL to retrieve the next page of results, if available.
    - `last` string — The URL to retrieve the last page of results.

## Other responses

- `400` — 400

---

[API](https://skmtc.net/straitsx/apis/straitsx-sandbox-base-url.md) · [All operations](https://skmtc.net/straitsx/apis/straitsx-sandbox-base-url/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/straitsx/straitsx-sandbox-base-url/versions/9ceee2969aeb/schema)
