Taxation & Salary APIWeb Calculator UI
Free Long-Term Capital Gains (LTCG 12.5%) Tax API (2026)
API calculating Budget 2024 LTCG equity tax with ₹1.25 Lakh statutory annual threshold.
Interactive API Playground & Live Test
GET
/api/v1/capital-gainsQuery Parameters
Total purchase cost in ₹
Total sale value in ₹
Months held; over 12 is long-term (default: 24)
Part of the ₹1.25 lakh exemption already used this year in ₹ (default: 0)
Taxable income besides these gains, after deductions, in ₹; sets surcharge, basic-exemption set-off and 87A (default: 1500000)
'new' or 'old' (default: new)
curl -X GET "https://fincalculator.in/api/v1/capital-gains?buyValue=500000&sellValue=800000&holdingMonths=24&claimedExemption=0&otherIncome=1500000®ime=new" \
-H "Accept: application/json"Live JSON Response (HTTP 200 OK)
Click "Execute Live API Request" below...Request Parameters Schema
| Parameter | Type | Required | Description / Notes |
|---|---|---|---|
| buyValue | number | Required | Total purchase cost in ₹ |
| sellValue | number | Required | Total sale value in ₹ |
| holdingMonths | number | Optional | Months held; over 12 is long-term (default: 24) |
| claimedExemption | number | Optional | Part of the ₹1.25 lakh exemption already used this year in ₹ (default: 0) |
| otherIncome | number | Optional | Taxable income besides these gains, after deductions, in ₹; sets surcharge, basic-exemption set-off and 87A (default: 1500000) |
| regime | string | Optional | 'new' or 'old' (default: new) |
Related Taxation & Salary APIs
Frequently Asked Questions (FAQs)
Is the Free Long-Term Capital Gains (LTCG 12.5%) Tax API free to use in production apps?
Yes! All FinCalculator REST APIs are completely free, zero-auth, open-CORS, and edge-cached for high performance across global web and mobile applications.
What is the rate limit for /api/v1/capital-gains?
Endpoints are cached at the edge for 24 hours. There are no restrictive rate limits for standard web traffic and mobile applications.