API Documentation
⌘K
API Key
Get free key POST
/api/1/derivatives/options/pricePrice Option
Price a custom option using Black-Scholes and binomial tree models. Returns both prices plus full Greeks.
Request Body
required
application/jsonobjectspotnumberCurrent underlying price
strikenumberOption strike price
expirynumberTime to expiry in years
ratenumberRisk-free rate (e.g. 0.045 for 4.5%)
volatilitynumberImplied volatility (e.g. 0.25 for 25%)
typestringAllowed values:
callput
Default:
callstylestringAllowed values:
europeanamerican
Default:
europeanResponses
Was this helpful?
Request
curl -X POST \
'https://api.eulerpool.com/api/1/derivatives/options/price' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json'200 Response
{
"bsPrice": 0,
"binomialPrice": 0,
"earlyExercisePremium": 0,
"greeks": {
"delta": 0,
"gamma": 0,
"theta": 0,
"vega": 0,
"rho": 0
}
}