Skip to main content

MARGIN INFO API

This API is used to fetch margin details in multiple formats based on the specified type. It provides flexibility to retrieve periodicity lists, limit utilization, token-wise margins, and product-type-wise margins.

📌 Path Parameters

ParameterTypeRequiredDescriptionExample / Enum
typestringYesType of margin data to fetch"list" / "limit" / "tokenwise" / "producttypewise"

🔍 Query Parameters

ParameterTypeRequiredDescriptionExample
client_idstringNoClient ID to fetch margin details for an end userclient_id=VISHAL1

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringSpecifies the media type of the request payloadapplication/json
AuthorizationstringDealer authentication tokenBearer {{access_token}}
x-api-keystringAPI key used to authorize the request{{x-api-key}}

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code to user request"s-112"
messagestringSuccess message"Margin info fetched successfully"
dataobject[]Array of margin detailsRefer below

📦 Data Object Fields (for type = list)

FieldTypeDescriptionExample
PeriodicityNamestringName of the periodicity"T+1 Balance"
nPeriodicitystringPeriodicity ID"30847"