Skip to main content

Margin Details

Get margin details for equity delivery orders

curl -X 'POST' \
'https://api.upstox.com/v2/charges/margin' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {your_access_token}' \
-H 'Content-Type: application/json' \
-d '{
"instruments": [
{
"instrument_key": "NSE_EQ|INE669E01016",
"quantity": 1,
"transaction_type": "BUY",
"product": "D"

}
]
}'

Get margin details for future delivery orders

curl -X 'POST' \
'https://api.upstox.com/v2/charges/margin' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {your_access_token}' \
-H 'Content-Type: application/json' \
-d '{
"instruments": [
{
"instrument_key": "NSE_FO|35000",
"quantity": 1,
"transaction_type": "BUY",
"product": "D"

}
]
}'

Get margin details for option delivery orders

curl -X 'POST' \
'https://api.upstox.com/v2/charges/margin' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {your_access_token}' \
-H 'Content-Type: application/json' \
-d '{
"instruments": [
{
"instrument_key": "NSE_FO|54524",
"quantity": 1,
"transaction_type": "BUY",
"product": "D"

}
]
}'

Get margin details for MCX delivery orders

curl -X 'POST' \
'https://api.upstox.com/v2/charges/margin' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {your_access_token}' \
-H 'Content-Type: application/json' \
-d '{
"instruments": [
{
"instrument_key": "MCX_FO|435356",
"quantity": 1,
"transaction_type": "BUY",
"product": "D"

}
]
}'

Get margin details for currency delivery orders

curl -X 'POST' \
'https://api.upstox.com/v2/charges/margin' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {your_access_token}' \
-H 'Content-Type: application/json' \
-d '{
"instruments": [
{
"instrument_key": "NCD_FO|15758",
"quantity": 1,
"transaction_type": "BUY",
"product": "D"

}
]
}'