---
title: "Retrieve Swap"
method: GET
path: "/swaps/{id}"
tags: ["Swaps"]
---

# Retrieve Swap

`GET /swaps/{id}`

Retrieves a single swap and its status.

## Path parameters

- `id` string, required

## Response `200`

swap status retrieved

- object
  - `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

- `400` — Invalid Parameters
- `403` — Forbidden
- `404` — Resource not found

---

[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)
