Order Book
Order book APY-range exposure
Retrieve orderbook exposure at a chosen timestamp, including each order’s APY range status.
GET
cURL
cURL
Path parameters
string
required
Base58 Solana vault public key.
Query parameters
string
Past or present ISO 8601 timestamp with an explicit timezone and up to three fractional-second digits. Defaults to request time. Use the same explicit timestamp for both snapshot endpoints to align results. URL-encode
+ in timezone offsets or use UTC (Z).number
default:"1"
Inclusive APY buffer, from
0 to 100. A value of 1 means one percentage point, not a 1% relative change.at, regardless of age.
Common response fields
Orderbook response
The common fields are accompanied byopenOrders and filledBalances arrays.
Open orders
Orders outside the buffer remain in the response with
isWithinBuffer=false. Expired, cancelled, fully filled, and below-threshold orders are excluded, following the historical open-orders endpoint. The reference uses only trades at or before the requested timestamp.
Filled balances
Only positive, unclaimed filled balances are returned. Claims reduce or remove them from subsequent snapshots. These balances are separate from the unfilled amounts in
openOrders. Wallet balances and holdings in the vault itself are outside these endpoints’ scope; account for transfers between sources when combining holdings data.
Using snapshots for rewards
Select open orders withisWithinBuffer=true when your rewards policy requires proximity to market APY. Apply your own valuation, points, and multipliers; check balance timestamps, vault maturity, and campaign dates separately.
isWithinBuffer has three possible values:
Assign filled SY and filled YT multipliers separately. The API does not assume that filled SY earns the same multiplier as an eligible resting order. Snapshot responses do not calculate time-weighted balances; repeated snapshots or a separate integration are needed for interval rewards.