Overview
CDSL OTP Fetch retrieves eCAS (electronic Consolidated Account Statement) PDF files directly from CDSL’s CAS portal (https://www.cdslindia.com/cas/) via OTP authentication. What you get:- Download URLs for up to 6 monthly eCAS PDFs
- All holdings: Demat + Non-Demat assets (stocks, bonds, mutual funds, AIFs, etc.)
- Cross-depository: Includes holdings from both CDSL and NSDL accounts
- No manual portal login required
- PAN number
- CDSL BO ID (16-digit Client ID)
- Date of birth
- At least one CDSL demat account (required to access CDSL CAS portal)
Portal access requirement: Only users with at least one CDSL demat account can access the CDSL CAS portal. NSDL does not have an equivalent OTP-based fetch portal yet.
Two-step flow
Step 1: Request OTP
Step 2: Verify OTP and get PDF URLs
Full example
Response format
The response contains download URLs only. To get parsed data, pass each URL to
/v4/smart/parse with pdf_url parameter.Credit usage
You’re only charged when Step 2 succeeds. Failed OTP attempts are not charged.
Error handling
Using with Portfolio Connect SDK
Next steps
CAS Generator
Generate CAS via email
Portfolio Connect SDK
Frontend widget with CDSL fetch

