Free US Stock, RSU & ESPP Tax Calculator API (India) (2026)
API converting each stage at its own USD-INR rate: the perquisite (vest FMV − price paid) is salary, and the sale is taxed as foreign unlisted shares, long-term when held more than 24 months. Also accepts POST with a JSON body using the long names (numberOfShares, vestDateFmvUsd …). The response is { success, input, data }.
Interactive API Playground & Live Test
/api/v1/us-stock-rsu-taxQuery Parameters
RSU, ESPP or DIRECT_STOCK (default: RSU); equityType also works
Number of shares (default: 100)
FMV per share at vest or purchase, in USD (default: 150)
Price paid per share in USD (default: 0 for RSU, 85% of vestFmv otherwise)
USD-INR rate at vest (default: 86.5)
Sale price per share in USD (default: 200)
USD-INR rate at sale (default: 89)
Months held from vest to sale (default: 30)
Taxable income besides these shares, in ₹. Default ₹15 lakh, as on the page
'new' or 'old' (default: new)
Legacy: a flat marginal rate %, used only when otherIncome is not sent
Set "false" if shares were not sold at vest to pay the tax (default: true)
US tax withheld at vest, in ₹ (default: 0)
US tax withheld at sale, in ₹ (default: 0)
curl -X GET "https://fincalculator.in/api/v1/us-stock-rsu-tax?type=RSU&shares=100&vestFmv=150&vestInr=86.5&salePrice=200&saleInr=89&months=30&otherIncome=1500000®ime=new&sellToCover=true&usTaxVest=0&usTaxSale=0" \
-H "Accept: application/json"Click "Execute Live API Request" below...Request Parameters Schema
| Parameter | Type | Required | Description / Notes |
|---|---|---|---|
| type | string | Optional | RSU, ESPP or DIRECT_STOCK (default: RSU); equityType also works |
| shares | number | Optional | Number of shares (default: 100) |
| vestFmv | number | Optional | FMV per share at vest or purchase, in USD (default: 150) |
| buyPrice | number | Optional | Price paid per share in USD (default: 0 for RSU, 85% of vestFmv otherwise) |
| vestInr | number | Optional | USD-INR rate at vest (default: 86.5) |
| salePrice | number | Optional | Sale price per share in USD (default: 200) |
| saleInr | number | Optional | USD-INR rate at sale (default: 89) |
| months | number | Optional | Months held from vest to sale (default: 30) |
| otherIncome | number | Optional | Taxable income besides these shares, in ₹. Default ₹15 lakh, as on the page |
| regime | string | Optional | 'new' or 'old' (default: new) |
| taxSlab | number | Optional | Legacy: a flat marginal rate %, used only when otherIncome is not sent |
| sellToCover | boolean | Optional | Set "false" if shares were not sold at vest to pay the tax (default: true) |
| usTaxVest | number | Optional | US tax withheld at vest, in ₹ (default: 0) |
| usTaxSale | number | Optional | US tax withheld at sale, in ₹ (default: 0) |