Home/API/PPF Maturity Value (India)

API Endpoint

PPF Maturity Value (India)

Calculate Public Provident Fund (PPF) maturity value with annual contributions.

Endpoint

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

Also supports GET with query parameters.

Parameters

ParameterTypeDefaultDescription
annualContributionnumber—Annual contribution (₹)
annualRatenumber—Annual interest rate (%)
yearsnumber—Investment period (years)

Request Examples

POST (JSON body)
curl -X POST https://likeoptions.com/api/v1/calculate/ppf \ -H "Content-Type: application/json" \ -d '{"annualContribution": 100000, "annualRate": 50000, "years": 6}'
GET (query parameters)
curl "https://likeoptions.com/api/v1/calculate/ppf?annualContribution=100000&annualRate=50000&years=6"

Response

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

When to Use

  • Plan PPF investment
  • Calculate retirement savings
  • Compare investment returns

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 →