---
title: "List Swaps"
method: GET
path: "/swaps"
tags: ["Swaps"]
---

# List Swaps

`GET /swaps`

Retrieve the account's completed or pending swaps — currently just the latest one.

## Query parameters

- `account_id` string, required

## Response `200`

swaps listed

- object
  - `data` object[], required — Swaps returned for this account.
    - `account_id` string, required — Account ID that owns the wallet used for the swap.
    - `error` string, nullable — Latest error returned for a failed swap.
    - `id` string, required — Swap ID.
    - `object` 'swap', required
    - `status` 'queued' | 'working' | 'complete' | 'failed', required — Current swap status. `complete` and `failed` are terminal.
    - `tx_hashes` string[], required — On-chain transaction hashes produced by the swap.

## Other responses

- `403` — Forbidden

---

[API](https://skmtc.net/whop/apis/whop-api.md) · [All operations](https://skmtc.net/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whop/whop-api/versions/db0883548bc5/schema)
