Prerequisites
- Get an API key from app.casparser.in/developers
- Have a CAS PDF ready, or use our sandbox key for testing
For testing, use
sandbox-with-json-responses as your API key. It returns sample data without consuming credits.Choose your language
What you’ll build
In this quickstart, you’ll parse a CAS PDF and receive structured JSON containing:- Investor details — Name, email, PAN, mobile
- Portfolio summary — Total value, account counts
- Demat holdings — Equities, bonds, AIFs, ETFs
- Mutual funds — Folios with transactions (50+ years of history)
- Insurance & NPS — Policy details and pension accounts
API endpoints
| Endpoint | Description |
|---|---|
POST /v4/smart/parse | Auto-detect CAS type and parse (recommended) |
POST /v4/cdsl/parse | Parse CDSL eCAS specifically |
POST /v4/nsdl/parse | Parse NSDL eCAS specifically |
POST /v4/cams_kfintech/parse | Parse CAMS/KFintech CAS specifically |

