Skip to main content
GET
TypeScript

Authorizations

Authorization
string
header
required

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Headers

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-10-09-2"

Query Parameters

account_id
string

Business account whose swaps to list, prefixed biz_. Provide this or user_id.

user_id
string

The caller's own user ID, prefixed user_, to list swaps in their personal account. Provide this or account_id.

Response

swaps listed

data
object[]
required

Swaps returned for this account.