Skip to main content

Overview

All CAS parsing endpoints return a unified JSON structure regardless of source (CDSL, NSDL, CAMS, KFintech).

Top-Level Structure

Meta Object

Contains metadata about the CAS document and parsing operation.

Investor Object

Contains personal details of the investor extracted from the CAS.

Summary Object

Provides aggregated portfolio metrics and account counts.

Demat Accounts Array

Array of demat (dematerialized) accounts holding equities, bonds, ETFs, and other securities.

Demat Account Fields

Equity Object

Holdings in equities (stocks).

Corporate Bond Object

Holdings in corporate bonds.

Mutual Funds Array

Array of mutual fund folios with schemes and transactions.

Mutual Fund Folio Fields

Scheme Object

Transaction Object

Unified transaction schema for all holdings (mutual funds, equities, bonds, etc.).
Transaction Types: PURCHASE, PURCHASE_SIP, REDEMPTION, SWITCH_IN, SWITCH_IN_MERGER, SWITCH_OUT, SWITCH_OUT_MERGER, DIVIDEND_PAYOUT, DIVIDEND_REINVEST, SEGREGATION, STAMP_DUTY_TAX, TDS_TAX, STT_TAX, MISC, REVERSAL, UNKNOWN

Insurance Object

Contains insurance policies (currently only life insurance).

NPS Array

National Pension System accounts (only available in NSDL CAS).

NPS Fund Object

Error Response

When parsing fails, the API returns a failed status with a descriptive error message.
Note: All responses include an X-Request-ID header (format: req_<alphanumeric>) for debugging and support.

Common Error Messages

Next Steps

Quickstart

Start parsing CAS files

Error Handling

Handle errors gracefully