Taxation & Salary APIWeb Calculator UI

Free Short-Term Capital Gains (STCG 20%) Tax API (2026)

API calculating Budget 2024 STCG 20% flat tax on equity trading profits.

Interactive API Playground & Live Test

GET/api/v1/capital-gains

Query Parameters

Total purchase cost in ₹

Total sale value in ₹

Months held; 12 or less is short-term (the route defaults to 24, which is long-term, so pass it)

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=350000&sellValue=500000&holdingMonths=6&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 ₹
holdingMonthsnumberRequiredMonths held; 12 or less is short-term (the route defaults to 24, which is long-term, so pass it)
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 Short-Term Capital Gains (STCG 20%) 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.