Skip to Content

Ledger Report

This API allows you to fetch the ledger entries of your account.

USE CASE

Check money movements such as funds added, funds withdrawn and trading entries, with the running balance after each.

Details

  • Fetches all ledger for a specified date range. If no date range is provided, it defaults to the current financial year.
  • Filter with transaction_type: 0 all, 1 BR (funds added), 2 BP (funds withdrawn), 3 SJ (trading), 4 JV (non trading) and 5 MTF.
  • The request attributes list no date fields, although the description says the default period is the current financial year.
  • Results are paged: page_size defaults to 100 and page_no to 1. The sample response also returns total_count and a summary_data block with opening and closing balance.
  • segment_type is 0 all, 1 equity, 2 equity derivatives, 3 mutual funds, 4 currency derivatives and 5 commodity derivatives. exchange_type is 0 all, 1 NSE, 2 BSE and 3 MCX.
  • Rate limits differ between the Standard and Prime plans. See Plans & rate limits.

Request Attributes - For fetching ledger history

AttributeData TypeDescription
page_sizestringThe number of records to be fetched in one page (default is 100)
page_nostringThe page number to fetch (default is 1)
segment_typestring
  • 0 → Includes all Segments [default]
  • 1 → Includes only Equity
  • 2 → Includes only Equity Derivatives
  • 3 → Includes Mutal Funds
  • 4 → Includes only Currency Derivatives
  • 5 → Includes only Commodity Derivatives
exchange_typestring
  • 0 → Includes all Exchanges [default]
  • 1 → Includes only NSE
  • 2 → Includes only BSE
  • 3 → Includes only MCX
transaction_typestring
  • 0 → Includes all transaction types [default]
  • 1 → BR(Funds added)
  • 2 → BP(Funds withdrawn)
  • 3 → SJ(Trading)
  • 4 → JV(Non trading)
  • 5 → MTF(Margin Trading Facility)

Response data attributes - For each ledger

AttributeData TypeDescription
dateintDate on which the transaction occurred.
transaction_typeintType of transaction such as fund transfer or charges.
descriptionstringDetails of the transaction performed on that day.
credit_amountstringAmount credited to your account.
debit_amountstringAmount debited from your account.
running_balancestringYour current account balance.

Response summary attributes - For the summary of the ledger

AttributeData TypeDescription
funds_withdrawnfloatTotal amount withdrawn by you from your trading account.
funds_addedfloatTotal amount added by you to your trading account.
opening_balancefloatAccount balance at the beginning of the selected period.
closing_balancefloatAccount balance at the end of the selected period.
Last updated on