Quote

For calls, price is denominated in the base token (ie 0.13 WETH), and for puts price is in denominated in the quote token (USDC). The quote price is inclusive of the trading fee and is represented as a the total cost. To get the price per option, simply divide by the size. To get the quote w/o the fee, simply subtract the fee from the quote price.

get
Authorizations
Query parameters
basestringRequired

base token symbol (ie WETH)

Example: WETH
quotestringRequired

quote token symbol (ie USDC)

Example: USDC
expirationstringRequired

option expiration (ie 03NOV23)

Example: 03NOV23
strikenumberRequired

option strike (ie 1800)

Example: 1800
typestringRequired

C or P

Example: PPattern: ^C$|^P$
sizenumberRequired

number of contracts (ie 4)

Example: 4
directionstringRequired

direction of trade (buy or sell)

Example: buy
Responses
200
Successful operation
application/json
get
GET /vaults/quote?base=WETH&quote=USDC&expiration=03NOV23&strike=1800&type=P&size=4&direction=buy HTTP/1.1
Host: 
x-apikey: YOUR_API_KEY
Accept: */*
{
  "market": {
    "vault": "pSV-WETH/USDCe-C",
    "strike": 2500,
    "expiration": "03NOV23",
    "size": 4,
    "direction": "buy"
  },
  "quote": 0.2356,
  "fee": 0.003
}

Last updated

Was this helpful?