Skip to main content
GET
/
swaps
List Swaps
curl --request GET \
  --url https://{defaultHost}/swaps \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "object": "swap",
      "id": "<string>",
      "account_id": "<string>",
      "status": "<string>",
      "tx_hashes": [
        "<string>"
      ],
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

A company API key, company scoped JWT, app API key, or user OAuth token.

Query Parameters

account_id
string
required

Business or user account ID (biz_* / user_*).

Response

swaps listed

data
object[]
required