Skip to main content
GET
/
v1
/
accounts
/
{account_id}
/
onchain-quotes
List on-chain quotes
curl --request GET \
  --url https://api.services.payward.com/v1/accounts/{account_id}/onchain-quotes \
  --header 'api-key: <api-key>' \
  --header 'api-nonce: <api-key>' \
  --header 'api-otp: <api-key>' \
  --header 'api-sign: <api-key>'
{
  "data": [
    {
      "id": "XQAAAAAAAAAAA3",
      "status": "offered",
      "expires_at": "2026-04-23T16:20:30Z",
      "from": {
        "symbol": "USDC",
        "name": "USD Coin",
        "type": "stablecoin",
        "amount": "1853.40"
      },
      "to": {
        "symbol": "TSLAx",
        "name": "Tesla xStock",
        "type": "xstock",
        "amount": "10"
      }
    },
    {
      "id": "XQAAAAAAAAAAA2",
      "status": "executed",
      "expires_at": "2026-04-23T16:10:30Z",
      "from": {
        "symbol": "TSLAx",
        "name": "Tesla xStock",
        "type": "xstock",
        "amount": "10"
      },
      "to": {
        "symbol": "USDC",
        "name": "USD Coin",
        "type": "stablecoin",
        "amount": "1853.40"
      }
    },
    {
      "id": "XQAAAAAAAAAAA1",
      "status": "expired",
      "expires_at": "2026-04-23T16:00:30Z",
      "from": {
        "symbol": "USDC",
        "name": "USD Coin",
        "type": "stablecoin",
        "amount": "1853.40"
      },
      "to": {
        "symbol": "TSLAx",
        "name": "Tesla xStock",
        "type": "xstock",
        "amount": "10"
      }
    }
  ],
  "next_page_token": "AAZUbz9WQAAAAAAAACrUqPGCRjzHZvqDr8PUyYwbx41j4AuH"
}

Authorizations

api-key
string
header
required
api-sign
string
header
required
api-nonce
string
header
required
api-otp
string
header
required

Path Parameters

account_id
string
required

ID of the account the request applies to. This refers to one of the accounts held by the user the request is acting on behalf of (typically the user's main account, but any of the user's accounts is accepted). Routes the request to that specific account container. Canonical identifier for an account in the Payward public API.

Required string length: 14 - 42

Query Parameters

page_token
string

Opaque page token returned by a previous response's next_page_token. Omit to start from the beginning.

Required string length: 1 - 256
page_size
integer<int32>
default:50

Maximum number of onchain quotes to return. Defaults to 50 if omitted. Maximum 200.

Required range: 1 <= x <= 200

Response

Successful response

data
object[]

On-chain quotes for the requested page.

next_page_token
string

Opaque token for the next page of results. Absent when there are no more pages.

Required string length: 1 - 64