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-gains

Query 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&regime=new" \
  -H "Accept: application/json"
Live JSON Response (HTTP 200 OK)
Click "Execute Live API Request" below...

Request Parameters Schema

ParameterTypeRequiredDescription / Notes
buyValuenumberRequiredTotal purchase cost in ₹
sellValuenumberRequiredTotal sale value in ₹
holdingMonthsnumberOptionalMonths held; over 12 is long-term (default: 24)
claimedExemptionnumberOptionalPart of the ₹1.25 lakh exemption already used this year in ₹ (default: 0)
otherIncomenumberOptionalTaxable income besides these gains, after deductions, in ₹; sets surcharge, basic-exemption set-off and 87A (default: 1500000)
regimestringOptional'new' or 'old' (default: new)

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.