Skip to main content
POST
/
v2
/
portfolio-wallets
/
quote
Quote an optimal portfolio blend
curl --request POST \
  --url https://sandbox.trybraid.xyz/v2/portfolio-wallets/quote \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "requestId": "2a490e3e-2c61-4f7b-9f47-2c0b18a8f238",
  "minApyTargetBps": 525,
  "liquidityConstraints": [
    {
      "maxProcessingTime": "PT0H",
      "minWeightBps": 5000
    }
  ],
  "yieldSourceTypeExclusions": [
    "deltaNeutralStrategy"
  ],
  "yieldSourceExclusions": [
    "tbills"
  ]
}
'
[ { "strategyConfig": { "positions": [ { "positionKey": "tbills", "currentApy": 330, "targetWeightBps": 6000, "maxProcessingTime": "PT0H" }, { "positionKey": "resolvRlp", "currentApy": 850, "targetWeightBps": 4000, "maxProcessingTime": "PT24H" } ] }, "blendedRateBps": 538, "constraintsSatisfied": true } ]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
requestId
string<uuid>
required

Unique idempotency key for this quote request.

minApyTargetBps
number<double>
liquidityConstraints
object[]
yieldSourceTypeExclusions
enum<string>[]

Yield source categories to exclude (omit to allow all).

Available options:
tbills,
overcollateralizedLending,
deltaNeutralStrategy
yieldSourceExclusions
enum<string>[]
Available options:
tbills,
syrupUsdc,
rlp

Response

Quote response (constraintsSatisfied is informational; you can still create a wallet).

strategyConfig
object
required
blendedRateBps
number<double>
required
constraintsSatisfied
boolean
required

Informational only. When false, you can still create a wallet using this strategyConfig.

optimizationMode
enum<string>

Only present when constraintsSatisfied is false. Indicates whether this option prioritized APY or liquidity when no allocation could satisfy all constraints.

Available options:
APY,
LIQUIDITY