Skip to main content

Estimate fee charges

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Bearer {token here}' -d '{
"account_number": "12345678@vision",
"symbol": "TSLA",
"quantity": 50,
"side": "sell",
"price": 230
}' 'https://api.lime.co/pricing/fees'

Response example

[
{
"amount": 0.03,
"type": "ORF"
},
{
"amount": 0.06,
"type": "OCC"
},
{
"amount": 0.45,
"type": "PerShare"
},
{
"amount": 0.03,
"type": "SEC"
}
]

The method returns estimated fees for specified order parameters, breaking down all charges by type

Request

nametyperequirementdescription
account_numberstringrequiredThe account number in the format of 123456578@vision
symbolstringrequiredA stock or an option
quantitynumberrequiredOrder quantity
sidestringrequiredAvailable values are buy, sell, sell_short, buy_to_cover
pricenumberoptionalOrder price

Response

An array of items breaking down all charges

nametypedescription
amountnumberDollar amount
typestringCharge description