Finance Tools: API and MCP
Finance category REST API and MCP reference for 12 tools: input fields, limits, outputs, example requests and real answers. Free, no key.
GET /api/v1/tools?category=finance/mcp/finance/api/v1/openapi.json
Compound Interest Calculator
- Id
finance.compound-interest- Version
- 1.0.0
- Access
- Free
- Tool page
- Compound Interest Calculator
- Schema
GET /api/v1/tools/finance.compound-interest
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
principal (required) | number | > 0, ≤ 1,000,000,000,000,000 | Principal amount | |
rate (required) | number | ≥ 0, ≤ 1,000 | Interest rate (%) | |
rateUnit | string | yearly | monthly | weekly | daily | yearly | Rate period |
years | number | ≥ 0, ≤ 100 | 0 | Years |
months | number | ≥ 0, ≤ 1,200 | 0 | Months |
weeks | number | ≥ 0, ≤ 5,200 | 0 | Weeks |
days | number | ≥ 0, ≤ 36,500 | 0 | Days |
compounding | string | yearly | monthly | weekly | daily | monthly | Compounding frequency |
Output
| Field | Type | Description |
|---|---|---|
finalAmount | number | Final amount |
interestEarned | number | Total interest |
annualRate | number | Nominal annual rate (%) |
effectiveRate | number | Effective annual rate (%) |
termYears | number | Term (years) |
yearly | array | Yearly breakdown |
monthly | array | Monthly breakdown |
truncated | boolean | The monthly breakdown was cut at 1,200 rows. |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.compound-interest/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"principal":10000,"rate":10,"rateUnit":"yearly","years":5,"months":0,"weeks":0,"days":0,"compounding":"monthly"},"locale":"en"}'Example answer
{
"output": {
"finalAmount": 16453.089347785855,
"interestEarned": 6453.089347785855,
"annualRate": 10,
"effectiveRate": 10.471306744129683,
"termYears": 5,
"yearly": [
{
"period": 0,
"interest": 0,
"accruedInterest": 0,
"balance": 10000
},
{
"period": 1,
"interest": 1047.1306744129688,
"accruedInterest": 1047.1306744129688,
"balance": 11047.130674412969
},
{
"period": 2,
"interest": 1156.7789393426228,
"accruedInterest": 2203.9096137555916,
"balance": 12203.909613755592
},
{
"period": 3,
"interest": 1277.908810432682,
"accruedInterest": 3481.8184241882736,
"balance": 13481.818424188274
},
{
"period": 4,
"interest": 1411.7225618833454,
"accruedInterest": 4893.540986071619,
"balance": 14893.540986071619
},
{
"period": 5,
"interest": 1559.5483617142363,
"accruedInterest": 6453.089347785855,
"balance": 16453.089347785855
}
],
"monthly": [
{
"period": 0,
"interest": 0,
"accruedInterest": 0,
"balance": 10000
},
{
"period": 1,
"interest": 83.33333333333394,
"accruedInterest": 83.33333333333394,
"balance": 10083.333333333334
},
{
"period": 2,
"interest": 84.02777777777737,
"accruedInterest": 167.3611111111113,
"balance": 10167.361111111111
},
{
"period": 3,
"interest": 84.7280092592573,
"accruedInterest": 252.08912037036862,
"balance": 10252.089120370369
},
{
"period": 4,
"interest": 85.43407600308637,
"accruedInterest": 337.523196373455,
"balance": 10337.523196373455
},
{
"period": 5,
"interest": 86.14602663644655,
"accruedInterest": 423.66922300990154,
"balance": 10423.669223009902
},
{
"period": 6,
"interest": 86.86391019174698,
"accruedInterest": 510.5331332016485,
"balance": 10510.533133201649
},
{
"period": 7,
"interest": 87.5877761100146,
"accruedInterest": 598.1209093116631,
"balance": 10598.120909311663
},
{
"period": 8,
"interest": 88.31767424426289,
"accruedInterest": 686.438583555926,
"balance": 10686.438583555926
},
{
"period": 9,
"interest": 89.05365486296796,
"accruedInterest": 775.492238418894,
"balance": 10775.492238418894
},
{
"period": 10,
"interest": 89.79576865348827,
"accruedInterest": 865.2880070723822,
"balance": 10865.288007072382
},
{
"period": 11,
"interest": 90.54406672560435,
"accruedInterest": 955.8320737979866,
"balance": 10955.832073797987
},
{
"period": 12,
"interest": 91.2986006149822,
"accruedInterest": 1047.1306744129688,
"balance": 11047.130674412969
},
{
"period": 13,
"interest": 92.05942228677304,
"accruedInterest": 1139.1900966997418,
"balance": 11139.190096699742
},
{
"period": 14,
"interest": 92.82658413916579,
"accruedInterest": 1232.0166808389076,
"balance": 11232.016680838908
},
{
"period": 15,
"interest": 93.6001390069905,
"accruedInterest": 1325.6168198458981,
"balance": 11325.616819845898
},
{
"period": 16,
"interest": 94.38014016538182,
"accruedInterest": 1419.99696001128,
"balance": 11419.99696001128
},
{
"period": 17,
"interest": 95.16664133342601,
"accruedInterest": 1515.163601344706,
"balance": 11515.163601344706
},
{
"period": 18,
"interest": 95.95969667787358,
"accruedInterest": 1611.1232980225795,
"balance": 11611.12329802258
},
{
"period": 19,
"interest": 96.75936081685359,
"accruedInterest": 1707.8826588394331,
"balance": 11707.882658839433
},
{
"period": 20,
"interest": 97.56568882366082,
"accruedInterest": 1805.448347663094,
"balance": 11805.448347663094
},
{
"period": 21,
"interest": 98.37873623052656,
"accruedInterest": 1903.8270838936205,
"balance": 11903.82708389362
},
{
"period": 22,
"interest": 99.1985590324457,
"accruedInterest": 2003.0256429260662,
"balance": 12003.025642926066
},
{
"period": 23,
"interest": 100.02521369105125,
"accruedInterest": 2103.0508566171175,
"balance": 12103.050856617117
},
{
"period": 24,
"interest": 100.85875713847418,
"accruedInterest": 2203.9096137555916,
"balance": 12203.909613755592
},
{
"period": 25,
"interest": 101.69924678129792,
"accruedInterest": 2305.6088605368896,
"balance": 12305.60886053689
},
{
"period": 26,
"interest": 102.54674050447284,
"accruedInterest": 2408.1556010413624,
"balance": 12408.155601041362
},
{
"period": 27,
"interest": 103.4012966753453,
"accruedInterest": 2511.5568977167077,
"balance": 12511.556897716708
},
{
"period": 28,
"interest": 104.2629741476394,
"accruedInterest": 2615.819871864347,
"balance": 12615.819871864347
},
{
"period": 29,
"interest": 105.1318322655352,
"accruedInterest": 2720.9517041298823,
"balance": 12720.951704129882
},
{
"period": 30,
"interest": 106.00793086774866,
"accruedInterest": 2826.959634997631,
"balance": 12826.959634997631
},
{
"period": 31,
"interest": 106.89133029164623,
"accruedInterest": 2933.850965289277,
"balance": 12933.850965289277
},
{
"period": 32,
"interest": 107.78209137741032,
"accruedInterest": 3041.6330566666875,
"balance": 13041.633056666687
},
{
"period": 33,
"interest": 108.680275472223,
"accruedInterest": 3150.3133321389105,
"balance": 13150.31333213891
},
{
"period": 34,
"interest": 109.58594443448783,
"accruedInterest": 3259.8992765733983,
"balance": 13259.899276573398
},
{
"period": 35,
"interest": 110.49916063811179,
"accruedInterest": 3370.39843721151,
"balance": 13370.39843721151
},
{
"period": 36,
"interest": 111.41998697676354,
"accruedInterest": 3481.8184241882736,
"balance": 13481.818424188274
},
{
"period": 37,
"interest": 112.34848686823534,
"accruedInterest": 3594.166911056509,
"balance": 13594.166911056509
},
{
"period": 38,
"interest": 113.284724258805,
"accruedInterest": 3707.451635315314,
"balance": 13707.451635315314
},
{
"period": 39,
"interest": 114.22876362762509,
"accruedInterest": 3821.680398942939,
"balance": 13821.680398942939
},
{
"period": 40,
"interest": 115.18066999119037,
"accruedInterest": 3936.8610689341294,
"balance": 13936.86106893413
},
{
"period": 41,
"interest": 116.14050890778526,
"accruedInterest": 4053.0015778419147,
"balance": 14053.001577841915
},
{
"period": 42,
"interest": 117.1083464820149,
"accruedInterest": 4170.10992432393,
"balance": 14170.10992432393
},
{
"period": 43,
"interest": 118.08424936936717,
"accruedInterest": 4288.194173693297,
"balance": 14288.194173693297
},
{
"period": 44,
"interest": 119.0682847807766,
"accruedInterest": 4407.262458474073,
"balance": 14407.262458474073
},
{
"period": 45,
"interest": 120.0605204872827,
"accruedInterest": 4527.322978961356,
"balance": 14527.322978961356
},
{
"period": 46,
"interest": 121.06102482467941,
"accruedInterest": 4648.3840037860355,
"balance": 14648.384003786035
},
{
"period": 47,
"interest": 122.06986669821526,
"accruedInterest": 4770.453870484251,
"balance": 14770.45387048425
},
{
"period": 48,
"interest": 123.08711558736832,
"accruedInterest": 4893.540986071619,
"balance": 14893.540986071619
},
{
"period": 49,
"interest": 124.11284155059548,
"accruedInterest": 5017.6538276222145,
"balance": 15017.653827622215
},
{
"period": 50,
"interest": 125.14711523018377,
"accruedInterest": 5142.800942852398,
"balance": 15142.800942852398
},
{
"period": 51,
"interest": 126.19000785710341,
"accruedInterest": 5268.990950709502,
"balance": 15268.990950709502
},
{
"period": 52,
"interest": 127.24159125591177,
"accruedInterest": 5396.2325419654135,
"balance": 15396.232541965413
},
{
"period": 53,
"interest": 128.30193784971198,
"accruedInterest": 5524.534479815125,
"balance": 15524.534479815125
},
{
"period": 54,
"interest": 129.371120665126,
"accruedInterest": 5653.905600480251,
"balance": 15653.905600480251
},
{
"period": 55,
"interest": 130.4492133373351,
"accruedInterest": 5784.354813817587,
"balance": 15784.354813817587
},
{
"period": 56,
"interest": 131.5362901151475,
"accruedInterest": 5915.891103932734,
"balance": 15915.891103932734
},
{
"period": 57,
"interest": 132.6324258661025,
"accruedInterest": 6048.5235297988365,
"balance": 16048.523529798837
},
{
"period": 58,
"interest": 133.7376960816582,
"accruedInterest": 6182.261225880495,
"balance": 16182.261225880495
},
{
"period": 59,
"interest": 134.8521768823357,
"accruedInterest": 6317.11340276283,
"balance": 16317.11340276283
},
{
"period": 60,
"interest": 135.9759450230249,
"accruedInterest": 6453.089347785855,
"balance": 16453.089347785855
}
],
"truncated": false
},
"steps": [
{
"id": "annualRate",
"formula": "r = rate × periods per year",
"substitution": "r = 10% × 1",
"value": 10,
"unit": "%"
},
{
"id": "termYears",
"formula": "t = years + months/12 + weeks/52 + days/365",
"substitution": "t = 5 + 0/12 + 0/52 + 0/365",
"value": 5,
"unit": "years"
},
{
"id": "finalAmount",
"formula": "A = P × (1 + r/n)^(n × t)",
"substitution": "A = 10,000 × (1 + 10%/12)^(12 × 5)",
"value": 16453.089347785855
},
{
"id": "effectiveRate",
"formula": "e = (1 + r/n)^n − 1",
"substitution": "e = (1 + 10%/12)^12 − 1",
"value": 10.471306744129683,
"unit": "%"
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/compound-interest-calculator",
"title": "Compound Interest Calculator"
}
}Fixed-Rate Inflation Calculator
- Id
finance.inflation- Version
- 1.0.0
- Access
- Free
- Tool page
- Fixed-Rate Inflation Calculator
- Schema
GET /api/v1/tools/finance.inflation
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
amount (required) | number | > 0, ≤ 1,000,000,000,000,000 | Initial amount | |
rate (required) | number | ≥ 0, ≤ 1,000 | Annual inflation rate (%) | |
years (required) | number | > 0, ≤ 100 | Period (years) |
Output
| Field | Type | Description |
|---|---|---|
futureCost | number | Future cost |
purchasingPower | number | Purchasing power |
cumulativeInflation | number | Total inflation (%) |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.inflation/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"amount":1000,"rate":10,"years":5},"locale":"en"}'Example answer
{
"output": {
"futureCost": 1610.5100000000004,
"purchasingPower": 620.9213230591549,
"cumulativeInflation": 61.05100000000006
},
"steps": [
{
"id": "futureCost",
"formula": "F = A × (1 + r)^t",
"substitution": "F = 1,000 × (1 + 10%)^5",
"value": 1610.5100000000004
},
{
"id": "purchasingPower",
"formula": "P = A / (1 + r)^t",
"substitution": "P = 1,000 / (1 + 10%)^5",
"value": 620.9213230591549
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/inflation-calculator",
"title": "Fixed-Rate Inflation Calculator"
}
}Interest Calculator
- Id
finance.interest- Version
- 1.0.0
- Access
- Free
- Tool page
- Interest Calculator
- Schema
GET /api/v1/tools/finance.interest
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
type | string | simple | compound | simple | Interest type |
principal (required) | number | > 0, ≤ 1,000,000,000,000,000 | Principal amount | |
rate (required) | number | ≥ 0, ≤ 1,000 | Interest rate (%) | |
rateUnit | string | yearly | monthly | weekly | daily | yearly | Rate period |
years | number | ≥ 0, ≤ 100 | 0 | Years |
months | number | ≥ 0, ≤ 1,200 | 0 | Months |
weeks | number | ≥ 0, ≤ 5,200 | 0 | Weeks |
days | number | ≥ 0, ≤ 36,500 | 0 | Days |
compounding | string | yearly | monthly | weekly | daily | monthly | Compounding frequency |
Output
| Field | Type | Description |
|---|---|---|
finalAmount | number | Final amount |
interestEarned | number | Total interest |
annualRate | number | Nominal annual rate (%) |
effectiveRate | number | Effective annual rate (%) |
termYears | number | Term (years) |
yearly | array | Yearly breakdown |
monthly | array | Monthly breakdown |
truncated | boolean | The monthly breakdown was cut at 1,200 rows. |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.interest/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"type":"compound","principal":10000,"rate":10,"rateUnit":"yearly","years":5,"months":0,"weeks":0,"days":0,"compounding":"monthly"},"locale":"en"}'Example answer
{
"output": {
"finalAmount": 16453.089347785855,
"interestEarned": 6453.089347785855,
"annualRate": 10,
"effectiveRate": 10.471306744129683,
"termYears": 5,
"yearly": [
{
"period": 0,
"interest": 0,
"accruedInterest": 0,
"balance": 10000
},
{
"period": 1,
"interest": 1047.1306744129688,
"accruedInterest": 1047.1306744129688,
"balance": 11047.130674412969
},
{
"period": 2,
"interest": 1156.7789393426228,
"accruedInterest": 2203.9096137555916,
"balance": 12203.909613755592
},
{
"period": 3,
"interest": 1277.908810432682,
"accruedInterest": 3481.8184241882736,
"balance": 13481.818424188274
},
{
"period": 4,
"interest": 1411.7225618833454,
"accruedInterest": 4893.540986071619,
"balance": 14893.540986071619
},
{
"period": 5,
"interest": 1559.5483617142363,
"accruedInterest": 6453.089347785855,
"balance": 16453.089347785855
}
],
"monthly": [
{
"period": 0,
"interest": 0,
"accruedInterest": 0,
"balance": 10000
},
{
"period": 1,
"interest": 83.33333333333394,
"accruedInterest": 83.33333333333394,
"balance": 10083.333333333334
},
{
"period": 2,
"interest": 84.02777777777737,
"accruedInterest": 167.3611111111113,
"balance": 10167.361111111111
},
{
"period": 3,
"interest": 84.7280092592573,
"accruedInterest": 252.08912037036862,
"balance": 10252.089120370369
},
{
"period": 4,
"interest": 85.43407600308637,
"accruedInterest": 337.523196373455,
"balance": 10337.523196373455
},
{
"period": 5,
"interest": 86.14602663644655,
"accruedInterest": 423.66922300990154,
"balance": 10423.669223009902
},
{
"period": 6,
"interest": 86.86391019174698,
"accruedInterest": 510.5331332016485,
"balance": 10510.533133201649
},
{
"period": 7,
"interest": 87.5877761100146,
"accruedInterest": 598.1209093116631,
"balance": 10598.120909311663
},
{
"period": 8,
"interest": 88.31767424426289,
"accruedInterest": 686.438583555926,
"balance": 10686.438583555926
},
{
"period": 9,
"interest": 89.05365486296796,
"accruedInterest": 775.492238418894,
"balance": 10775.492238418894
},
{
"period": 10,
"interest": 89.79576865348827,
"accruedInterest": 865.2880070723822,
"balance": 10865.288007072382
},
{
"period": 11,
"interest": 90.54406672560435,
"accruedInterest": 955.8320737979866,
"balance": 10955.832073797987
},
{
"period": 12,
"interest": 91.2986006149822,
"accruedInterest": 1047.1306744129688,
"balance": 11047.130674412969
},
{
"period": 13,
"interest": 92.05942228677304,
"accruedInterest": 1139.1900966997418,
"balance": 11139.190096699742
},
{
"period": 14,
"interest": 92.82658413916579,
"accruedInterest": 1232.0166808389076,
"balance": 11232.016680838908
},
{
"period": 15,
"interest": 93.6001390069905,
"accruedInterest": 1325.6168198458981,
"balance": 11325.616819845898
},
{
"period": 16,
"interest": 94.38014016538182,
"accruedInterest": 1419.99696001128,
"balance": 11419.99696001128
},
{
"period": 17,
"interest": 95.16664133342601,
"accruedInterest": 1515.163601344706,
"balance": 11515.163601344706
},
{
"period": 18,
"interest": 95.95969667787358,
"accruedInterest": 1611.1232980225795,
"balance": 11611.12329802258
},
{
"period": 19,
"interest": 96.75936081685359,
"accruedInterest": 1707.8826588394331,
"balance": 11707.882658839433
},
{
"period": 20,
"interest": 97.56568882366082,
"accruedInterest": 1805.448347663094,
"balance": 11805.448347663094
},
{
"period": 21,
"interest": 98.37873623052656,
"accruedInterest": 1903.8270838936205,
"balance": 11903.82708389362
},
{
"period": 22,
"interest": 99.1985590324457,
"accruedInterest": 2003.0256429260662,
"balance": 12003.025642926066
},
{
"period": 23,
"interest": 100.02521369105125,
"accruedInterest": 2103.0508566171175,
"balance": 12103.050856617117
},
{
"period": 24,
"interest": 100.85875713847418,
"accruedInterest": 2203.9096137555916,
"balance": 12203.909613755592
},
{
"period": 25,
"interest": 101.69924678129792,
"accruedInterest": 2305.6088605368896,
"balance": 12305.60886053689
},
{
"period": 26,
"interest": 102.54674050447284,
"accruedInterest": 2408.1556010413624,
"balance": 12408.155601041362
},
{
"period": 27,
"interest": 103.4012966753453,
"accruedInterest": 2511.5568977167077,
"balance": 12511.556897716708
},
{
"period": 28,
"interest": 104.2629741476394,
"accruedInterest": 2615.819871864347,
"balance": 12615.819871864347
},
{
"period": 29,
"interest": 105.1318322655352,
"accruedInterest": 2720.9517041298823,
"balance": 12720.951704129882
},
{
"period": 30,
"interest": 106.00793086774866,
"accruedInterest": 2826.959634997631,
"balance": 12826.959634997631
},
{
"period": 31,
"interest": 106.89133029164623,
"accruedInterest": 2933.850965289277,
"balance": 12933.850965289277
},
{
"period": 32,
"interest": 107.78209137741032,
"accruedInterest": 3041.6330566666875,
"balance": 13041.633056666687
},
{
"period": 33,
"interest": 108.680275472223,
"accruedInterest": 3150.3133321389105,
"balance": 13150.31333213891
},
{
"period": 34,
"interest": 109.58594443448783,
"accruedInterest": 3259.8992765733983,
"balance": 13259.899276573398
},
{
"period": 35,
"interest": 110.49916063811179,
"accruedInterest": 3370.39843721151,
"balance": 13370.39843721151
},
{
"period": 36,
"interest": 111.41998697676354,
"accruedInterest": 3481.8184241882736,
"balance": 13481.818424188274
},
{
"period": 37,
"interest": 112.34848686823534,
"accruedInterest": 3594.166911056509,
"balance": 13594.166911056509
},
{
"period": 38,
"interest": 113.284724258805,
"accruedInterest": 3707.451635315314,
"balance": 13707.451635315314
},
{
"period": 39,
"interest": 114.22876362762509,
"accruedInterest": 3821.680398942939,
"balance": 13821.680398942939
},
{
"period": 40,
"interest": 115.18066999119037,
"accruedInterest": 3936.8610689341294,
"balance": 13936.86106893413
},
{
"period": 41,
"interest": 116.14050890778526,
"accruedInterest": 4053.0015778419147,
"balance": 14053.001577841915
},
{
"period": 42,
"interest": 117.1083464820149,
"accruedInterest": 4170.10992432393,
"balance": 14170.10992432393
},
{
"period": 43,
"interest": 118.08424936936717,
"accruedInterest": 4288.194173693297,
"balance": 14288.194173693297
},
{
"period": 44,
"interest": 119.0682847807766,
"accruedInterest": 4407.262458474073,
"balance": 14407.262458474073
},
{
"period": 45,
"interest": 120.0605204872827,
"accruedInterest": 4527.322978961356,
"balance": 14527.322978961356
},
{
"period": 46,
"interest": 121.06102482467941,
"accruedInterest": 4648.3840037860355,
"balance": 14648.384003786035
},
{
"period": 47,
"interest": 122.06986669821526,
"accruedInterest": 4770.453870484251,
"balance": 14770.45387048425
},
{
"period": 48,
"interest": 123.08711558736832,
"accruedInterest": 4893.540986071619,
"balance": 14893.540986071619
},
{
"period": 49,
"interest": 124.11284155059548,
"accruedInterest": 5017.6538276222145,
"balance": 15017.653827622215
},
{
"period": 50,
"interest": 125.14711523018377,
"accruedInterest": 5142.800942852398,
"balance": 15142.800942852398
},
{
"period": 51,
"interest": 126.19000785710341,
"accruedInterest": 5268.990950709502,
"balance": 15268.990950709502
},
{
"period": 52,
"interest": 127.24159125591177,
"accruedInterest": 5396.2325419654135,
"balance": 15396.232541965413
},
{
"period": 53,
"interest": 128.30193784971198,
"accruedInterest": 5524.534479815125,
"balance": 15524.534479815125
},
{
"period": 54,
"interest": 129.371120665126,
"accruedInterest": 5653.905600480251,
"balance": 15653.905600480251
},
{
"period": 55,
"interest": 130.4492133373351,
"accruedInterest": 5784.354813817587,
"balance": 15784.354813817587
},
{
"period": 56,
"interest": 131.5362901151475,
"accruedInterest": 5915.891103932734,
"balance": 15915.891103932734
},
{
"period": 57,
"interest": 132.6324258661025,
"accruedInterest": 6048.5235297988365,
"balance": 16048.523529798837
},
{
"period": 58,
"interest": 133.7376960816582,
"accruedInterest": 6182.261225880495,
"balance": 16182.261225880495
},
{
"period": 59,
"interest": 134.8521768823357,
"accruedInterest": 6317.11340276283,
"balance": 16317.11340276283
},
{
"period": 60,
"interest": 135.9759450230249,
"accruedInterest": 6453.089347785855,
"balance": 16453.089347785855
}
],
"truncated": false
},
"steps": [
{
"id": "annualRate",
"formula": "r = rate × periods per year",
"substitution": "r = 10% × 1",
"value": 10,
"unit": "%"
},
{
"id": "termYears",
"formula": "t = years + months/12 + weeks/52 + days/365",
"substitution": "t = 5 + 0/12 + 0/52 + 0/365",
"value": 5,
"unit": "years"
},
{
"id": "finalAmount",
"formula": "A = P × (1 + r/n)^(n × t)",
"substitution": "A = 10,000 × (1 + 10%/12)^(12 × 5)",
"value": 16453.089347785855
},
{
"id": "effectiveRate",
"formula": "e = (1 + r/n)^n − 1",
"substitution": "e = (1 + 10%/12)^12 − 1",
"value": 10.471306744129683,
"unit": "%"
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/interest-calculator",
"title": "Interest Calculator"
}
}Investment Return Calculator
- Id
finance.investment-return- Version
- 1.0.0
- Access
- Free
- Tool page
- Investment Return Calculator
- Schema
GET /api/v1/tools/finance.investment-return
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
initialValue (required) | number | > 0, ≤ 1,000,000,000,000 | Initial value · Purchase amount plus costs. Use the same currency for both values. | |
finalValue (required) | number | ≥ 0, ≤ 1,000,000,000,000 | Final value · Sale amount or current value. | |
years | number | ≥ 0, ≤ 100 | 0 | Years |
months | number | ≥ 0, ≤ 1,200 | 0 | Months |
days | number | ≥ 0, ≤ 36,500 | 0 | Days |
Output
| Field | Type | Description |
|---|---|---|
annualizedReturn | number | Annualized return (CAGR) (%) |
totalReturn | number | Total return (%) |
profit | number | Profit or loss |
termYears | number | Holding period (years) |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.investment-return/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"initialValue":100000,"finalValue":150000,"years":3,"months":0,"days":0},"locale":"en"}'Example answer
{
"output": {
"annualizedReturn": 14.471424255333186,
"totalReturn": 50,
"profit": 50000,
"termYears": 3
},
"steps": [
{
"id": "termYears",
"formula": "t = years + months/12 + days/365",
"substitution": "t = 3 + 0/12 + 0/365",
"value": 3,
"unit": "years"
},
{
"id": "profit",
"formula": "profit = final value − initial value",
"substitution": "profit = 150,000 − 100,000",
"value": 50000
},
{
"id": "totalReturn",
"formula": "total return = (final value − initial value) / initial value × 100",
"substitution": "total return = (150,000 − 100,000) / 100,000 × 100",
"value": 50,
"unit": "%"
},
{
"id": "annualizedReturn",
"formula": "annualized return = ((final value / initial value)^(1/t) − 1) × 100",
"substitution": "annualized return = ((150,000 / 100,000)^(1/3) − 1) × 100",
"value": 14.471424255333186,
"unit": "%"
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/investment-return-calculator",
"title": "Investment Return Calculator"
}
}Profit Margin Calculator
- Id
finance.profit-margin- Version
- 1.0.0
- Access
- Free
- Tool page
- Profit Margin Calculator
- Schema
GET /api/v1/tools/finance.profit-margin
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
mode | string | costPrice | costMargin | costMarkup | priceMargin | costPrice | What to calculate |
cost | number | > 0, ≤ 1,000,000,000,000 | Cost | |
price | number | > 0, ≤ 1,000,000,000,000 | Selling price · Before VAT | |
margin | number | ≥ -1,000, ≤ 1,000 | Profit margin (%) · Profit as a share of the price | |
markup | number | ≥ -100, ≤ 100,000 | Markup (%) · Profit as a share of the cost | |
vatRate | number | ≥ 0, ≤ 100 | VAT or sales tax rate (%) · Added on top of the price |
Output
| Field | Type | Description |
|---|---|---|
result | number | Result |
cost | number | Cost |
price | number | Selling price (before VAT) |
profit | number | Profit per unit |
margin | number | Profit margin (%) |
markup | number | Markup (on cost) (%) |
vat | number | VAT |
priceWithVat | number | Selling price with VAT |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.profit-margin/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"mode":"costPrice","cost":30,"price":45},"locale":"en"}'Example answer
{
"output": {
"result": 33.33333333333333,
"cost": 30,
"price": 45,
"profit": 15,
"margin": 33.33333333333333,
"markup": 50
},
"steps": [
{
"id": "profit",
"formula": "profit = price − cost",
"substitution": "profit = 45.00 − 30.00",
"value": 15
},
{
"id": "margin",
"formula": "margin = profit / price × 100",
"substitution": "margin = 15.00 / 45.00 × 100",
"value": 33.33333333333333,
"unit": "%"
},
{
"id": "markup",
"formula": "markup = profit / cost × 100",
"substitution": "markup = 15.00 / 30.00 × 100",
"value": 50,
"unit": "%"
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/profit-margin-calculator",
"title": "Profit Margin Calculator"
}
}Simple Interest Calculator
- Id
finance.simple-interest- Version
- 1.0.0
- Access
- Free
- Tool page
- Simple Interest Calculator
- Schema
GET /api/v1/tools/finance.simple-interest
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
principal (required) | number | > 0, ≤ 1,000,000,000,000,000 | Principal amount | |
rate (required) | number | ≥ 0, ≤ 1,000 | Interest rate (%) | |
rateUnit | string | yearly | monthly | weekly | daily | yearly | Rate period |
years | number | ≥ 0, ≤ 100 | 0 | Years |
months | number | ≥ 0, ≤ 1,200 | 0 | Months |
weeks | number | ≥ 0, ≤ 5,200 | 0 | Weeks |
days | number | ≥ 0, ≤ 36,500 | 0 | Days |
Output
| Field | Type | Description |
|---|---|---|
finalAmount | number | Final amount |
interestEarned | number | Total interest |
annualRate | number | Nominal annual rate (%) |
effectiveRate | number | Effective annual rate (%) |
termYears | number | Term (years) |
yearly | array | Yearly breakdown |
monthly | array | Monthly breakdown |
truncated | boolean | The monthly breakdown was cut at 1,200 rows. |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.simple-interest/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"principal":10000,"rate":10,"rateUnit":"yearly","years":5,"months":0,"weeks":0,"days":0},"locale":"en"}'Example answer
{
"output": {
"finalAmount": 15000,
"interestEarned": 5000,
"annualRate": 10,
"effectiveRate": 10,
"termYears": 5,
"yearly": [
{
"period": 0,
"interest": 0,
"accruedInterest": 0,
"balance": 10000
},
{
"period": 1,
"interest": 1000,
"accruedInterest": 1000,
"balance": 11000
},
{
"period": 2,
"interest": 1000,
"accruedInterest": 2000,
"balance": 12000
},
{
"period": 3,
"interest": 1000,
"accruedInterest": 3000,
"balance": 13000
},
{
"period": 4,
"interest": 1000,
"accruedInterest": 4000,
"balance": 14000
},
{
"period": 5,
"interest": 1000,
"accruedInterest": 5000,
"balance": 15000
}
],
"monthly": [
{
"period": 0,
"interest": 0,
"accruedInterest": 0,
"balance": 10000
},
{
"period": 1,
"interest": 83.33333333333394,
"accruedInterest": 83.33333333333394,
"balance": 10083.333333333334
},
{
"period": 2,
"interest": 83.33333333333212,
"accruedInterest": 166.66666666666606,
"balance": 10166.666666666666
},
{
"period": 3,
"interest": 83.33333333333394,
"accruedInterest": 250,
"balance": 10250
},
{
"period": 4,
"interest": 83.33333333333394,
"accruedInterest": 333.33333333333394,
"balance": 10333.333333333334
},
{
"period": 5,
"interest": 83.33333333333394,
"accruedInterest": 416.6666666666679,
"balance": 10416.666666666668
},
{
"period": 6,
"interest": 83.33333333333212,
"accruedInterest": 500,
"balance": 10500
},
{
"period": 7,
"interest": 83.33333333333394,
"accruedInterest": 583.3333333333339,
"balance": 10583.333333333334
},
{
"period": 8,
"interest": 83.33333333333212,
"accruedInterest": 666.6666666666661,
"balance": 10666.666666666666
},
{
"period": 9,
"interest": 83.33333333333394,
"accruedInterest": 750,
"balance": 10750
},
{
"period": 10,
"interest": 83.33333333333212,
"accruedInterest": 833.3333333333321,
"balance": 10833.333333333332
},
{
"period": 11,
"interest": 83.33333333333576,
"accruedInterest": 916.6666666666679,
"balance": 10916.666666666668
},
{
"period": 12,
"interest": 83.33333333333212,
"accruedInterest": 1000,
"balance": 11000
},
{
"period": 13,
"interest": 83.33333333333394,
"accruedInterest": 1083.333333333334,
"balance": 11083.333333333334
},
{
"period": 14,
"interest": 83.33333333333212,
"accruedInterest": 1166.666666666666,
"balance": 11166.666666666666
},
{
"period": 15,
"interest": 83.33333333333394,
"accruedInterest": 1250,
"balance": 11250
},
{
"period": 16,
"interest": 83.33333333333394,
"accruedInterest": 1333.333333333334,
"balance": 11333.333333333334
},
{
"period": 17,
"interest": 83.33333333333212,
"accruedInterest": 1416.666666666666,
"balance": 11416.666666666666
},
{
"period": 18,
"interest": 83.33333333333394,
"accruedInterest": 1500,
"balance": 11500
},
{
"period": 19,
"interest": 83.33333333333212,
"accruedInterest": 1583.3333333333321,
"balance": 11583.333333333332
},
{
"period": 20,
"interest": 83.33333333333576,
"accruedInterest": 1666.6666666666679,
"balance": 11666.666666666668
},
{
"period": 21,
"interest": 83.33333333333212,
"accruedInterest": 1750,
"balance": 11750
},
{
"period": 22,
"interest": 83.33333333333394,
"accruedInterest": 1833.333333333334,
"balance": 11833.333333333334
},
{
"period": 23,
"interest": 83.33333333333212,
"accruedInterest": 1916.666666666666,
"balance": 11916.666666666666
},
{
"period": 24,
"interest": 83.33333333333394,
"accruedInterest": 2000,
"balance": 12000
},
{
"period": 25,
"interest": 83.33333333333394,
"accruedInterest": 2083.333333333334,
"balance": 12083.333333333334
},
{
"period": 26,
"interest": 83.33333333333394,
"accruedInterest": 2166.666666666668,
"balance": 12166.666666666668
},
{
"period": 27,
"interest": 83.33333333333212,
"accruedInterest": 2250,
"balance": 12250
},
{
"period": 28,
"interest": 83.33333333333394,
"accruedInterest": 2333.333333333334,
"balance": 12333.333333333334
},
{
"period": 29,
"interest": 83.33333333333212,
"accruedInterest": 2416.666666666666,
"balance": 12416.666666666666
},
{
"period": 30,
"interest": 83.33333333333394,
"accruedInterest": 2500,
"balance": 12500
},
{
"period": 31,
"interest": 83.33333333333394,
"accruedInterest": 2583.333333333334,
"balance": 12583.333333333334
},
{
"period": 32,
"interest": 83.33333333333212,
"accruedInterest": 2666.666666666666,
"balance": 12666.666666666666
},
{
"period": 33,
"interest": 83.33333333333394,
"accruedInterest": 2750,
"balance": 12750
},
{
"period": 34,
"interest": 83.33333333333394,
"accruedInterest": 2833.333333333334,
"balance": 12833.333333333334
},
{
"period": 35,
"interest": 83.33333333333394,
"accruedInterest": 2916.666666666668,
"balance": 12916.666666666668
},
{
"period": 36,
"interest": 83.33333333333212,
"accruedInterest": 3000,
"balance": 13000
},
{
"period": 37,
"interest": 83.33333333333394,
"accruedInterest": 3083.333333333334,
"balance": 13083.333333333334
},
{
"period": 38,
"interest": 83.33333333333212,
"accruedInterest": 3166.666666666666,
"balance": 13166.666666666666
},
{
"period": 39,
"interest": 83.33333333333394,
"accruedInterest": 3250,
"balance": 13250
},
{
"period": 40,
"interest": 83.33333333333394,
"accruedInterest": 3333.333333333334,
"balance": 13333.333333333334
},
{
"period": 41,
"interest": 83.33333333333394,
"accruedInterest": 3416.666666666668,
"balance": 13416.666666666668
},
{
"period": 42,
"interest": 83.33333333333212,
"accruedInterest": 3500,
"balance": 13500
},
{
"period": 43,
"interest": 83.33333333333394,
"accruedInterest": 3583.333333333334,
"balance": 13583.333333333334
},
{
"period": 44,
"interest": 83.33333333333212,
"accruedInterest": 3666.666666666666,
"balance": 13666.666666666666
},
{
"period": 45,
"interest": 83.33333333333394,
"accruedInterest": 3750,
"balance": 13750
},
{
"period": 46,
"interest": 83.33333333333394,
"accruedInterest": 3833.333333333334,
"balance": 13833.333333333334
},
{
"period": 47,
"interest": 83.33333333333212,
"accruedInterest": 3916.666666666666,
"balance": 13916.666666666666
},
{
"period": 48,
"interest": 83.33333333333394,
"accruedInterest": 4000,
"balance": 14000
},
{
"period": 49,
"interest": 83.33333333333212,
"accruedInterest": 4083.333333333332,
"balance": 14083.333333333332
},
{
"period": 50,
"interest": 83.33333333333576,
"accruedInterest": 4166.666666666668,
"balance": 14166.666666666668
},
{
"period": 51,
"interest": 83.33333333333212,
"accruedInterest": 4250,
"balance": 14250
},
{
"period": 52,
"interest": 83.33333333333394,
"accruedInterest": 4333.333333333334,
"balance": 14333.333333333334
},
{
"period": 53,
"interest": 83.33333333333212,
"accruedInterest": 4416.666666666666,
"balance": 14416.666666666666
},
{
"period": 54,
"interest": 83.33333333333394,
"accruedInterest": 4500,
"balance": 14500
},
{
"period": 55,
"interest": 83.33333333333212,
"accruedInterest": 4583.333333333332,
"balance": 14583.333333333332
},
{
"period": 56,
"interest": 83.33333333333576,
"accruedInterest": 4666.666666666668,
"balance": 14666.666666666668
},
{
"period": 57,
"interest": 83.33333333333212,
"accruedInterest": 4750,
"balance": 14750
},
{
"period": 58,
"interest": 83.33333333333394,
"accruedInterest": 4833.333333333334,
"balance": 14833.333333333334
},
{
"period": 59,
"interest": 83.33333333333212,
"accruedInterest": 4916.666666666666,
"balance": 14916.666666666666
},
{
"period": 60,
"interest": 83.33333333333394,
"accruedInterest": 5000,
"balance": 15000
}
],
"truncated": false
},
"steps": [
{
"id": "annualRate",
"formula": "r = rate × periods per year",
"substitution": "r = 10% × 1",
"value": 10,
"unit": "%"
},
{
"id": "termYears",
"formula": "t = years + months/12 + weeks/52 + days/365",
"substitution": "t = 5 + 0/12 + 0/52 + 0/365",
"value": 5,
"unit": "years"
},
{
"id": "finalAmount",
"formula": "A = P × (1 + r × t)",
"substitution": "A = 10,000 × (1 + 10% × 5)",
"value": 15000
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/simple-interest-calculator",
"title": "Simple Interest Calculator"
}
}Tip Calculator
- Id
finance.tip- Version
- 1.0.0
- Access
- Free
- Tool page
- Tip Calculator
- Schema
GET /api/v1/tools/finance.tip
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
bill (required) | number | > 0, ≤ 1,000,000,000 | Bill amount · The amount on the receipt, tax included | |
tipType | string | percent | amount | percent | Tip type |
tipPercent | number | ≥ 0, ≤ 100 | Tip percent (%) | |
tipAmount | number | ≥ 0, ≤ 1,000,000,000 | Tip amount | |
people | integer | ≥ 1, ≤ 100 | 1 | Number of people |
tipBase | string | bill | beforeTax | bill | Tip on |
taxRate | number | ≥ 0, ≤ 100 | Tax rate in the bill (%) · Sales tax or VAT | |
rounding | string | none | up | none | Share per person |
Output
| Field | Type | Description |
|---|---|---|
tip | number | Tip |
tipPercent | number | Tip percent (%) |
total | number | Total (bill + tip) |
share | number | Share per person |
tipPerPerson | number | Tip per person |
taxAmount | number | Tax in the bill |
base | number | Amount before tax |
roundedShare | number | Share per person (rounded) |
roundedTotal | number | Total (rounded) |
roundingDifference | number | Rounding difference |
roundedTip | number | Tip with rounding |
roundedTipPercent | number | Tip percent with rounding (%) |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.tip/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"bill":1200,"tipType":"percent","tipPercent":10,"people":4,"tipBase":"bill","rounding":"none"},"locale":"en"}'Example answer
{
"output": {
"tip": 120,
"tipPercent": 10,
"total": 1320,
"share": 330,
"tipPerPerson": 30
},
"steps": [
{
"id": "tip",
"formula": "tip = bill × tip percent / 100",
"substitution": "tip = 1,200.00 × 10 / 100",
"value": 120
},
{
"id": "total",
"formula": "total = bill + tip",
"substitution": "total = 1,200.00 + 120.00",
"value": 1320
},
{
"id": "share",
"formula": "share per person = total / people",
"substitution": "share per person = 1,320.00 / 4",
"value": 330
},
{
"id": "tipPerPerson",
"formula": "tip per person = tip / people",
"substitution": "tip per person = 120.00 / 4",
"value": 30
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/tip-calculator",
"title": "Tip Calculator"
}
}Türkiye Credit Card Minimum Payment Calculator
- Id
finance.credit-card-minimum.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye Credit Card Minimum Payment Calculator
- Schema
GET /api/v1/tools/finance.credit-card-minimum.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
balance (required) | number | ≥ 0, ≤ 100,000,000 | Statement balance (TRY) | |
limit (required) | number | > 0, ≤ 100,000,000 | Card limit (TRY) · The minimum share is 20% for a limit of 100,000 TRY or less and 40% above. | |
monthlyRate (required) | number | ≥ 0, ≤ 10 | Monthly contractual rate (%) · Your card’s rate. TCMB maximums since 1 January 2026: 3.25% for a statement balance under 30,000 TRY, 3.75% for 30,000–180,000 TRY, 4.25% above. | |
kkdf | number | ≥ 0, ≤ 100 | 15 | KKDF rate (%) · Banks add 15% KKDF to card interest. Enter your statement’s rate if it differs. |
bsmv | number | ≥ 0, ≤ 100 | 15 | BSMV rate (%) · Banks add 15% BSMV to card interest. Enter your statement’s rate if it differs. |
Output
| Field | Type | Description |
|---|---|---|
minimumPayment | number | Minimum payment (TRY) |
share | number | Minimum share (%) |
remainingBalance | number | Balance left after the minimum (TRY) |
interest | number | One month of interest on it (TRY) |
kkdf | number | KKDF (TRY) |
bsmv | number | BSMV (TRY) |
interestWithTaxes | number | One month of interest with taxes (TRY) |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.credit-card-minimum.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"balance":20000,"limit":40000,"monthlyRate":3.25,"kkdf":15,"bsmv":15},"locale":"en"}'Example answer
{
"output": {
"minimumPayment": 4000,
"share": 20,
"remainingBalance": 16000,
"interest": 520,
"kkdf": 78,
"bsmv": 78,
"interestWithTaxes": 676
},
"steps": [
{
"id": "share",
"formula": "minimum share = 20% (limit ≤ 100,000 TRY) or 40% (limit > 100,000 TRY)",
"substitution": "minimum share = 20% (limit 40,000.00 ≤ 100,000.00)",
"value": 20,
"unit": "%"
},
{
"id": "minimumPayment",
"formula": "minimum payment = statement balance × minimum share",
"substitution": "minimum payment = 20,000.00 × 20%",
"value": 4000
},
{
"id": "remainingBalance",
"formula": "remaining balance = statement balance − minimum payment",
"substitution": "remaining balance = 20,000.00 − 4,000.00",
"value": 16000
},
{
"id": "interest",
"formula": "contractual interest = remaining balance × monthly contractual rate",
"substitution": "contractual interest = 16,000.00 × 3.25%",
"value": 520
},
{
"id": "kkdf",
"formula": "KKDF = contractual interest × KKDF rate",
"substitution": "KKDF = 520.00 × 15%",
"value": 78
},
{
"id": "bsmv",
"formula": "BSMV = contractual interest × BSMV rate",
"substitution": "BSMV = 520.00 × 15%",
"value": 78
},
{
"id": "interestWithTaxes",
"formula": "interest with taxes = contractual interest + KKDF + BSMV",
"substitution": "interest with taxes = 520.00 + 78.00 + 78.00",
"value": 676
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/turkey-credit-card-minimum-payment-calculator",
"title": "Türkiye Credit Card Minimum Payment Calculator"
}
}Türkiye Deposit Interest Calculator
- Id
finance.deposit-interest.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye Deposit Interest Calculator
- Schema
GET /api/v1/tools/finance.deposit-interest.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
currency | string | TRY | USD | EUR | GBP | CHF | XAU | TRY | Currency |
principal (required) | number | > 0, ≤ 10,000,000,000 | Principal (TRY) | |
rate (required) | number | ≥ 0, ≤ 200 | Annual gross interest rate (%) · The yearly gross rate the bank offers for the time deposit. | |
years | integer | ≥ 0, ≤ 10 | Years | |
months | integer | ≥ 0, ≤ 120 | Months | |
days | integer | ≥ 0, ≤ 3,650 | Days | |
openDate | string | Opening date · The day the deposit is opened or renewed. Empty means today. The withholding rate follows this day. | ||
withholding | number | ≥ 0, ≤ 100 | Withholding rate (%) · Leave empty for the legal rate on the opening date (today, TL: 17.5% up to 6 months, 15% up to 1 year, 10% beyond; foreign currency: 25%). For a gold account, enter your bank’s rate. |
Output
| Field | Type | Description |
|---|---|---|
netInterest | number | Net interest |
grossInterest | number | Gross interest |
withholdingTax | number | Withholding tax |
finalAmount | number | Final amount |
withholdingRate | number | Withholding rate (%) |
days | number | Term (days) |
maturityDate | string | Maturity day (YYYY-MM-DD): the opening day plus the term |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.deposit-interest.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"currency":"TRY","principal":100000,"rate":40,"days":32},"locale":"en"}'Example answer
{
"output": {
"netInterest": 2893.15,
"grossInterest": 3506.85,
"withholdingTax": 613.7,
"finalAmount": 102893.15,
"withholdingRate": 17.5,
"days": 32,
"maturityDate": "2026-12-28"
},
"steps": [
{
"id": "days",
"formula": "days = maturity − opening",
"substitution": "days = 2026-12-28 − 2026-11-26",
"value": 32
},
{
"id": "grossInterest",
"formula": "gross interest = principal × annual rate × days / 365",
"substitution": "gross interest = 100,000.00 × 40% × 32 / 365",
"value": 3506.85
},
{
"id": "withholdingRate",
"formula": "withholding rate = the rate in force on the opening day, by term and currency type",
"substitution": "withholding rate (TL, 2026-11-26 → 2026-12-28) = 17.5%",
"value": 17.5,
"unit": "%"
},
{
"id": "withholdingTax",
"formula": "withholding = gross interest × withholding rate",
"substitution": "withholding = 3,506.85 × 17.5%",
"value": 613.7
},
{
"id": "netInterest",
"formula": "net interest = gross interest − withholding",
"substitution": "net interest = 3,506.85 − 613.70",
"value": 2893.15
},
{
"id": "finalAmount",
"formula": "final amount = principal + net interest",
"substitution": "final amount = 100,000.00 + 2,893.15",
"value": 102893.15
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"dataVersion": "2025-07-09",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/turkey-deposit-interest-calculator",
"title": "Türkiye Deposit Interest Calculator"
}
}Türkiye Inflation Calculator (CPI)
- Id
finance.inflation.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye Inflation Calculator (CPI)
- Schema
GET /api/v1/tools/finance.inflation.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
amount (required) | number | > 0, ≤ 10,000,000,000,000 | Amount (TRY) | |
from (required) | string | Start month · Any day of the month; only the month and the year count. The data starts in January 2003. | ||
to | string | Target month · Leave it empty for the last month TurkStat has published. Pick a month before the start to carry the amount back in time. |
Output
| Field | Type | Description |
|---|---|---|
value | number | Value in the target month (TRY) |
change | number | Total inflation (%) |
difference | number | Difference (TRY) |
averageAnnualRate | number | Average yearly inflation (%) |
months | number | Period (months) |
fromIndex | number | Start month CPI (2003=100) |
toIndex | number | Target month CPI (2003=100) |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.inflation.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"amount":1000,"from":"2025-01-01","to":"2026-08-01"},"locale":"en"}'Example answer
{
"output": {
"value": 1521.25,
"change": 52.13,
"difference": 521.25,
"averageAnnualRate": 30.34,
"months": 19,
"fromIndex": 2819.65,
"toIndex": 4289.4
},
"steps": [
{
"id": "link-2026-08",
"formula": "CPI on the 2003=100 base (2026-08) = CPI (2025=100) × 2025 average (2003=100) / 100",
"substitution": "134.75 × 31.8322916667",
"value": 4289.4
},
{
"id": "value",
"formula": "value at the target month = amount × CPI (2026-08) / CPI (2025-01)",
"substitution": "value at the target month = 1,000.00 × 4,289.4 / 2,819.65",
"value": 1521.25
},
{
"id": "change",
"formula": "total inflation = CPI (2026-08) / CPI (2025-01) − 1",
"substitution": "total inflation = 4,289.4 / 2,819.65 − 1 = 52.13%",
"value": 52.13,
"unit": "%"
},
{
"id": "averageAnnualRate",
"formula": "average yearly inflation = (1 + total inflation)^(12 / months) − 1",
"substitution": "average yearly inflation = (1 + 52.13%)^(12 / 19) − 1",
"value": 30.34,
"unit": "%"
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"dataVersion": "2026-08-01",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/turkey-inflation-calculator",
"title": "Türkiye Inflation Calculator (CPI)"
}
}Türkiye Loan Calculator
- Id
finance.loan-payment.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye Loan Calculator
- Schema
GET /api/v1/tools/finance.loan-payment.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
mode | string | fromPrincipal | fromInstallment | Calculation | |
loanType | string | consumer | vehicle | housing | commercial | consumer | Loan type · The loan type sets the KKDF and BSMV rates. |
ownsHouse | string | no | yes | no | House in your name · When a house is registered in your name on the loan date, BSMV is 15%. |
principal | number | > 0, ≤ 10,000,000,000 | Loan amount (TRY) | |
installment | number | ≥ 1, ≤ 1,000,000,000 | Monthly installment (TRY) · The installment you can pay; the calculator finds the loan amount it repays. | |
rate (required) | number | ≥ 0, ≤ 100 | Interest rate (%) · The contractual rate of the bank, without KKDF and BSMV. | |
rateUnit | string | monthly | yearly | monthly | Rate period |
months (required) | integer | ≥ 1, ≤ 480 | Term (months) | |
feeRate | number | ≥ 0, ≤ 10 | 0.5 | Allocation fee (%) · In percent of the loan amount. At most 0.5% on consumer loans; enter 0 when there is no fee. |
startDate | string | Loan date · Empty means today. The first installment is due one month later on the same day. | ||
kkdf | number | ≥ 0, ≤ 100 | KKDF rate (%) · Leave empty for the rate of the loan type. Enter it when your contract says otherwise. | |
bsmv | number | ≥ 0, ≤ 100 | BSMV rate (%) · Leave empty for the rate of the loan type. Enter it when your contract says otherwise. |
Output
| Field | Type | Description |
|---|---|---|
installment | number | Monthly installment (TRY) |
principal | number | Loan amount (TRY) |
totalPayment | number | Total repayment (TRY) |
totalCost | number | Total cost of the loan (TRY) |
annualCostRate | number | Annual cost rate (%) |
monthlyCostRate | number | Monthly cost rate (%) |
totalInterest | number | Total interest (TRY) |
totalKkdf | number | Total KKDF (TRY) |
totalBsmv | number | Total BSMV (TRY) |
fee | number | Allocation fee (TRY) |
feeBsmv | number | BSMV on the fee (TRY) |
kkdfRate | number | KKDF rate applied (%) |
bsmvRate | number | BSMV rate applied (%) |
monthlyRate | number | Monthly interest rate (%) |
grossRate | number | Monthly rate with taxes (%) |
schedule | array | Payment plan |
truncated | boolean | The payment plan was cut at 1,200 rows. |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.loan-payment.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"mode":"fromPrincipal","loanType":"consumer","ownsHouse":"no","principal":100000,"rate":3,"rateUnit":"monthly","months":12,"feeRate":0.5},"locale":"en"}'Example answer
{
"output": {
"installment": 10593.48,
"principal": 100000,
"totalPayment": 127121.8,
"totalCost": 27696.8,
"annualCostRate": 60.0892,
"monthlyCostRate": 3.9992,
"totalInterest": 20862.94,
"totalKkdf": 3129.43,
"totalBsmv": 3129.43,
"fee": 500,
"feeBsmv": 75,
"kkdfRate": 15,
"bsmvRate": 15,
"monthlyRate": 3,
"grossRate": 3.8999999999999995,
"schedule": [
{
"month": 1,
"date": "2026-12-26",
"installment": 10593.48,
"principal": 6693.48,
"interest": 3000,
"kkdf": 450,
"bsmv": 450,
"balance": 93306.52
},
{
"month": 2,
"date": "2027-01-26",
"installment": 10593.48,
"principal": 6954.52,
"interest": 2799.2,
"kkdf": 419.88,
"bsmv": 419.88,
"balance": 86352
},
{
"month": 3,
"date": "2027-02-26",
"installment": 10593.48,
"principal": 7225.76,
"interest": 2590.56,
"kkdf": 388.58,
"bsmv": 388.58,
"balance": 79126.24
},
{
"month": 4,
"date": "2027-03-26",
"installment": 10593.48,
"principal": 7507.55,
"interest": 2373.79,
"kkdf": 356.07,
"bsmv": 356.07,
"balance": 71618.69
},
{
"month": 5,
"date": "2027-04-26",
"installment": 10593.48,
"principal": 7800.36,
"interest": 2148.56,
"kkdf": 322.28,
"bsmv": 322.28,
"balance": 63818.33
},
{
"month": 6,
"date": "2027-05-26",
"installment": 10593.48,
"principal": 8104.57,
"interest": 1914.55,
"kkdf": 287.18,
"bsmv": 287.18,
"balance": 55713.76
},
{
"month": 7,
"date": "2027-06-26",
"installment": 10593.48,
"principal": 8420.65,
"interest": 1671.41,
"kkdf": 250.71,
"bsmv": 250.71,
"balance": 47293.11
},
{
"month": 8,
"date": "2027-07-26",
"installment": 10593.48,
"principal": 8749.05,
"interest": 1418.79,
"kkdf": 212.82,
"bsmv": 212.82,
"balance": 38544.06
},
{
"month": 9,
"date": "2027-08-26",
"installment": 10593.48,
"principal": 9090.26,
"interest": 1156.32,
"kkdf": 173.45,
"bsmv": 173.45,
"balance": 29453.8
},
{
"month": 10,
"date": "2027-09-26",
"installment": 10593.48,
"principal": 9444.79,
"interest": 883.61,
"kkdf": 132.54,
"bsmv": 132.54,
"balance": 20009.01
},
{
"month": 11,
"date": "2027-10-26",
"installment": 10593.48,
"principal": 9813.13,
"interest": 600.27,
"kkdf": 90.04,
"bsmv": 90.04,
"balance": 10195.88
},
{
"month": 12,
"date": "2027-11-26",
"installment": 10593.52,
"principal": 10195.88,
"interest": 305.88,
"kkdf": 45.88,
"bsmv": 45.88,
"balance": 0
}
],
"truncated": false
},
"steps": [
{
"id": "grossRate",
"formula": "i = r × (1 + KKDF + BSMV)",
"substitution": "i = 3% × (1 + 15% + 15%)",
"value": 3.8999999999999995,
"unit": "%"
},
{
"id": "installment",
"formula": "A = P × i / (1 − (1 + i)^(−n))",
"substitution": "A = 100,000.00 × 3.9% / (1 − (1 + 3.9%)^(−12))",
"value": 10593.48
},
{
"id": "totalPayment",
"formula": "total payment = sum of the installments",
"substitution": "total payment = 10,593.48 × 11 + 10,593.52",
"value": 127121.8
},
{
"id": "fee",
"formula": "allocation fee = P × fee rate",
"substitution": "allocation fee = 100,000.00 × 0.5%",
"value": 500
},
{
"id": "feeBsmv",
"formula": "BSMV on the fee = allocation fee × BSMV",
"substitution": "BSMV on the fee = 500.00 × 15%",
"value": 75
},
{
"id": "totalCost",
"formula": "total cost = interest + KKDF + BSMV + allocation fee + BSMV on the fee",
"substitution": "total cost = 20,862.94 + 3,129.43 + 3,129.43 + 500.00 + 75.00",
"value": 27696.8
},
{
"id": "monthlyCostRate",
"formula": "Σ installment_k / (1 + m)^k = P − allocation fee − BSMV on the fee",
"substitution": "Σ installment_k / (1 + m)^k = 100,000.00 − 500.00 − 75.00 = 99,425.00",
"value": 3.9992,
"unit": "%"
},
{
"id": "annualCostRate",
"formula": "ACR = (1 + m)^12 − 1",
"substitution": "ACR = (1 + 3.9992%)^12 − 1",
"value": 60.0892,
"unit": "%"
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/turkey-loan-calculator",
"title": "Türkiye Loan Calculator"
}
}Türkiye Loan Early Repayment Calculator
- Id
finance.early-repayment.tr- Version
- 1.0.0
- Access
- Free
- Tool page
- Türkiye Loan Early Repayment Calculator
- Schema
GET /api/v1/tools/finance.early-repayment.tr
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
principal (required) | number | > 0, ≤ 10,000,000,000 | Loan amount (TRY) | |
rate (required) | number | ≥ 0, ≤ 100 | Interest rate (%) · The contractual rate of the bank, without KKDF and BSMV. | |
rateUnit | string | monthly | yearly | monthly | Rate period |
months (required) | integer | ≥ 1, ≤ 480 | Term (months) | |
kkdf | number | ≥ 0, ≤ 100 | 15 | KKDF rate (%) · 15% on consumer and vehicle loans. Usually 0 on housing loans. |
bsmv | number | ≥ 0, ≤ 100 | 15 | BSMV rate (%) · 15% on consumer and vehicle loans. 0 on housing loans of buyers who own no other registered house. |
paidInstallments (required) | integer | ≥ 0, ≤ 479 | Installments paid · Include the installment paid on the payoff day. | |
feeRule | string | none | housingFixed | none | Early repayment fee |
Output
| Field | Type | Description |
|---|---|---|
payoff | number | Payoff amount (TRY) |
remainingPrincipal | number | Remaining principal (TRY) |
fee | number | Early repayment fee (TRY) |
feeRate | number | Fee rate (%) |
remainingPayments | number | Sum of the remaining installments (TRY) |
interestSaved | number | Interest and tax saved (TRY) |
remainingMonths | number | Installments left (months) |
installment | number | Monthly installment (TRY) |
Example request
curl -X POST https://hesaplayici.com/api/v1/tools/finance.early-repayment.tr/execute \
-H 'Content-Type: application/json' \
-d '{"input":{"principal":100000,"rate":3,"rateUnit":"monthly","months":24,"kkdf":15,"bsmv":15,"paidInstallments":12,"feeRule":"none"},"locale":"en"}'Example answer
{
"output": {
"payoff": 61280.14,
"remainingPrincipal": 61280.14,
"fee": 0,
"feeRate": 0,
"remainingPayments": 77900.46,
"interestSaved": 16620.32,
"remainingMonths": 12,
"installment": 6491.71
},
"steps": [
{
"id": "grossRate",
"formula": "i = r × (1 + KKDF + BSMV)",
"substitution": "i = 3% × (1 + 15% + 15%)",
"value": 3.8999999999999995,
"unit": "%"
},
{
"id": "installment",
"formula": "A = P × i / (1 − (1 + i)^(−n))",
"substitution": "A = 100,000.00 × 3.9% / (1 − (1 + 3.9%)^(−24))",
"value": 6491.71
},
{
"id": "remainingPrincipal",
"formula": "remaining principal = loan amount − principal repaid",
"substitution": "remaining principal = 100,000.00 − 38,719.86",
"value": 61280.14
},
{
"id": "fee",
"formula": "early repayment fee = min(remaining principal × fee rate; interest discount)",
"substitution": "early repayment fee = min(61,280.14 × 0%; 16,620.32)",
"value": 0
},
{
"id": "payoff",
"formula": "payoff amount = remaining principal + early repayment fee",
"substitution": "payoff amount = 61,280.14 + 0.00",
"value": 61280.14
},
{
"id": "remainingPayments",
"formula": "remaining installments = sum of the remaining installments",
"substitution": "remaining installments = 6,491.71 × 11 + 6,491.65",
"value": 77900.46
},
{
"id": "interestSaved",
"formula": "saving = remaining installments − payoff amount",
"substitution": "saving = 77,900.46 − 61,280.14",
"value": 16620.32
}
],
"notes": [],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/finance/turkey-loan-early-repayment-calculator",
"title": "Türkiye Loan Early Repayment Calculator"
}
}