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

# Retrieve Swap

`GET /swaps/{id}`

Returns the status of a specific swap, by the id returned from POST /swaps.

## 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` string, required — Current swap status.
  - `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.dev/whop/apis/whop-api.md) · [All operations](https://skmtc.dev/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/whop/whop-api/revisions/60bbb4a6ffbc/schema)
