For Engineering Teams

Portfolio Import API for Fintech Platforms

Parse CAS PDFs into structured JSON. 9 asset classes across CDSL, NSDL, CAMS, KFintech. Your engineers build portfolio features in hours instead of months. SEBI-compliant, ₹999/month.

Free sandbox API key: sandbox-with-json-responses

For Product & Business Teams

5 Minutes to First Parse

Not 6-8 months for Account Aggregator. Not 4-6 months to build in-house. curl works in 30 seconds, SDK in 5 minutes.

₹999/month vs ₹15-40 Lakhs

Account Aggregator costs ₹5-25L+ setup. Building in-house costs ₹15-40L (2 engineers × 6 months). Start at ₹999/month with no contract.

Zero Compliance Work

SEBI-compliant and production-ready. No RBI sandbox, no TSP contracts, no lawyer fees. We're the data processor, not you.

All 9 Asset Classes

Equities, bonds, AIFs, insurance, NPS from CDSL/NSDL demat statements + all mutual funds from CAMS/KFintech. One API, one response format.

For Engineering Teams

REST API + Official SDKs

Python, Node.js, TypeScript SDKs. OpenAPI 3.1 spec. Full type safety.

pip install cas-parser-python

Portfolio Connect Widget

Drop-in UI component. Works with React, Next.js, Vue, or any framework via vanilla JS. File upload, Gmail import, CDSL fetch.

npm install @cas-parser/connect

Under 500ms Response Time

Fast enough for real-time UX. 99.7% uptime. We handle CDSL/NSDL/CAMS format changes so you don't have to.

Unified Response Format

Same JSON structure for CDSL, NSDL, CAMS, KFintech. No custom parsing logic per source. Just parse once, support all.

Integrate in 3 Steps

Your engineers are live in under an hour.

1

Get API Key

Sign up at app.casparser.in. Free tier includes 10 credits/month. No credit card required.

Get Started →
2

Install SDK

Python, Node.js, or TypeScript. Or use curl/Postman to test the REST API directly.

npm install cas-parser-node
3

Parse Your First CAS

One API call. Get back investor details, holdings, transactions across 9 asset classes.

View Quickstart →

Try It Now

No signup needed with sandbox key
curl -X POST https://api.casparser.in/v4/smart/parse \
  -H "x-api-key: sandbox-with-json-responses" \
  -F "pdf_file=@cas_statement.pdf" \
  -F "password=encrypted_pan"

# Response (simplified)
{
  "meta": { "cas_type": "CDSL" },
  "investor": { "name": "John Doe", "pan": "..." },
  "summary": {
    "total_value": 2500000,
    "accounts": {
      "demat": { "count": 1, "total_value": 1500000 },
      "mutual_funds": { "count": 3, "total_value": 1000000 }
    }
  },
  "demat_accounts": [...],
  "mutual_funds": [...]
}

Production-Grade Reliability

Built for fintech platforms processing thousands of CAS statements daily.

99.7%
Uptime
Production track record
97%
Parsing Accuracy
Money-back guarantee
<500ms
Response Time
Typical response
100M+
Transactions Parsed
Battle-tested

Built-in Fraud Detection

Rejects tampered or modified PDFs. Only accepts original digital documents from CDSL/NSDL/CAMS/KFintech.

Zero Data Retention

We never store parsed portfolio data. End-to-end encryption. India-hosted infrastructure for data sovereignty.

Format Change Handling

CDSL, NSDL, CAMS change PDF formats regularly. We maintain parsers for all current and legacy formats so you don't have to.

SDKs & Documentation

Choose your stack. We've got you covered.

Python SDK

Official cas-parser-python package with type hints.

pip install cas-parser-python
View Docs →

Node.js / TypeScript

Official TypeScript SDK with full type definitions. Auto-generated from OpenAPI spec.

npm install cas-parser-node
View Docs →

Portfolio Connect SDK

Drop-in widget for React, Vue, Angular, or vanilla HTML/JS.

npm install @cas-parser/connect
View Docs →
Advanced

Also Works with AI Coding Agents

Using Claude Code, Cursor, Windsurf, or Codeium? Install our MCP server for 17 live API tools and Code Mode sandbox.

View AI Agent Integration

Ready to Integrate?

Start with 10 free credits. No credit card required. Live in under an hour.

Questions? Contact our team or read the docs.