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-gainsQuery 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®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 | Required | Months held; 12 or less is short-term (the route defaults to 24, which is long-term, so pass it) |
| 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 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.