Home/API/Income Tax (India)

API Endpoint

Income Tax (India)

Calculate income tax for India (new regime) with standard deduction.

Endpoint

POST https://likeoptions.com/api/v1/calculate/indiatax

Also supports GET with query parameters.

Parameters

ParameterTypeDefaultDescription
annualIncomenumber—Annual income (₹)
standardDeductionnumber75000Standard deduction (₹)

Request Examples

POST (JSON body)
curl -X POST https://likeoptions.com/api/v1/calculate/indiatax \ -H "Content-Type: application/json" \ -d '{"annualIncome": 100000, "standardDeduction": 75000}'
GET (query parameters)
curl "https://likeoptions.com/api/v1/calculate/indiatax?annualIncome=100000&standardDeduction=75000"

Response

{ "kind": "indiatax", "result": { "primary": 1234.56, "secondary": [ { "label": "Example metric", "value": 100, "format": "money" }, { "label": "Example percent", "value": 5.5, "format": "percent" } ] } }

When to Use

  • Calculate India income tax
  • Estimate tax liability
  • Plan tax efficiency

Error Handling

  • 400 Bad Request — Invalid input parameters or missing required fields
  • 404 Not Found — Unknown calculator kind
  • 429 Too Many Requests — Rate limit exceeded (120 req/hour per IP)
  • 413 Payload Too Large — Request body exceeds 16 KB

Related Endpoints

View request examples in JavaScript, Python, cURL, and more →