Quote Resource

The Quote resource is used to initiate a currency exchange by locking in a currency pair exchange Rate, it will expire after a set time.

// --- Buy Quote ---

{
    "data": {
        "id": "quote_0930838bed82ef88cdd9fd0a",
        "side": "buy",
        "price": 57.44466,
        "quote_currency": "USDT",
        "quote_quantity": 17.40805846879414,
        "base_currency": "PHP",
        "base_quantity": 1000,
        "created_at": "2026-01-29T11:01:23.474777082Z",
        "expires_at": "2026-01-29T11:02:23.474777163Z"
    }
}

// --- Sell Quote ---

{
    "data": {
        "id": "quote_863762158f0da75dcaee8ca2",
        "side": "sell",
        "price": 57.93327999999999,
        "quote_currency": "USDT",
        "quote_quantity": 5,
        "base_currency": "PHP",
        "base_quantity": 289.66639999999995,
        "created_at": "2026-01-29T11:16:06.667994354Z",
        "expires_at": "2026-01-29T11:17:06.667994448Z"
    }
}

id string

Unique ID of the resource.


side string

The exchange operation to be done, e.g.

  • side=buy, quote_currency=USDT, base_currency=PHP means to buy USDT using PHP.
  • side=sell, quote_currency=USDT, base_currency=PHP means to sell USDT for PHP.

price float

How much 1 unit of quote_currency costs in terms of paying with base_currency.

e.g. 1 USDT costs 57.4 PHP


quote_currency string

The target currency code. Currently supported are: USDT.


quote_quantity float

The amount of quote_currency that will be used/obtained in the transaction, e.g.

  • side=buy, quote_currency=USDT, quote_quantity=5 means to buy 5 USDT
  • side=sell, quote_currency=USDT, quote_quantity=5 means to sell 5 USDT

base_currency string

The base currency code. Currently supported are: PHP.


base_quantity float

The amount of base_currency that will be used/obtained in the transaction, e.g.

  • side=buy, base_currency=PHP, base_quantity=1000 means to use 1000 PHP to buy quote_currency
  • side=sell, base_currency=PHP, base_quantity=1000 means that upon selling quote_quantity amount of quote_currency, we will obtain 1000 PHP

created_at timestamp

The unix timestamp when the Quote was created.


expires_at timestamp

The unix timestamp when the Quote will expire and can no longer be used.