API
CalcX Loan Calculator API
Introducing the CalcX Loan Calculator API, a powerful tool that provides accurate estimates of loan costs and generates a detailed amortization schedule. Our API offers precise calculations of the total cost of a loan, allowing you to make informed financial decisions. By providing essential inputs such as the loan amount, interest rate, and repayment term, this API instantly generates estimates of the overall cost, giving you a comprehensive understanding of your financial commitment and a detailed amortization schedule.
This schedule breaks down each payment, showing the portion dedicated to interest, principal, and remaining balance. Armed with this information, you can plan your budget efficiently and stay on top of your repayment schedule.
Introduction
API Overview
Welcome to CalcX – Loan Calculator API, your all-in-one solution for seamless financial planning. This API empowers developers, fintech innovators, and businesses to integrate powerful Loan and Mortgage Calculators into their applications, providing users with accurate and insightful financial information. The API supports a wide range of programming languages, including but not limited to: C, Clojure, C#, GO, Java, JavaScript, Kotlin, Node.js, Objective-C, OCaml, PHP, PowerShell, Python, R, RapidQL, Ruby, Shell, and Swift.
Key Features:
Loan Calculator: Calculate monthly payments, interest rates, and total costs for various loan types with ease.
Mortgage Calculator: Estimate mortgage payments and view amortization schedules to simplify homeownership planning.
Auto Loan Calculator: Calculate monthly payments and interest rates specifically for auto loans.
Fixed Term Loan Calculator: Get precise repayment projections with fixed loan terms.
Fixed Payment Loan Calculator: Estimate monthly payments for loans with consistent payment structures.
Salary Calculator: Calculate net salary post-deductions to assist budgeting and financial
Additional Highlights:
User-Friendly: Intuitive API, designed for seamless integration and smooth user experience.
Customizable: Tailor calculators to meet your application’s unique needs.
Developer-Friendly: Easy integration and comprehensive documentation support smooth setup.
Precision Focused: High accuracy for reliable financial projections and confident planning.
Performance Optimizations: Improved calculation speed and accuracy for all supported calculators.
Supported Currencies:
– NOK (Norwegian Krone)
– EUR (Euro)
– HKD (Hong Kong Dollar)
– CZK (Czech Koruna)
– THB (Thai Baht)
– CHF (Swiss Franc)
– USD (United States Dollar)
– ISK (Icelandic Króna)
– GBP (British Pound Sterling)
– JPY (Japanese Yen)
– BGN (Bulgarian Lev)
– CNY (Chinese Yuan)
– IDR (Indonesian Rupiah)
– TRY (Turkish Lira)
– NZD (New Zealand Dollar)
– SGD (Singapore Dollar)
– DKK (Danish Krone)
– AUD (Australian Dollar)
– BRL (Brazilian Real)
– ILS (Israeli New Shekel)
– SEK (Swedish Krona)
– CAD (Canadian Dollar)
– HUF (Hungarian Forint)
– ZAR (South African Rand)
– MYR (Malaysian Ringgit)
– KRW (South Korean Won)
– MXN (Mexican Peso)
– INR (Indian Rupee)
– PHP (Philippine Peso)
– PLN (Polish Złoty)
– RON (Romanian Leu)
Endpoints
Endpoints Overview
Simple Loan Calculator
These endpoints calculate the cost of a loan based on the provided loan amount, interest rate, and repayment term. They also generate an amortization schedule that breaks down each payment, including the interest, principal, and remaining balance. The endpoints support additional parameters such as extra payment and currency conversion.
They return the loan type, loan amount, interest rate, repayment term, monthly payment, total loan interest, and the complete amortization schedule in the requested currency.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
loan | float | Yes | The loan amount as a float. Example: loan=10000. |
rate | float | Yes | The annual interest rate as a float. Example: rate=5.5. |
term | int | Yes | The repayment term in months as an integer. Example: term=12. |
type | string | Optional | The loan type as a string. This parameter is case-insensitive and can take one of the following values: mortgage, auto, business, student, medical, personal, or other. Defaults to “other“. |
extra | float | Optional | The extra payment per month as a float. Example: extra=500.0. Default value: 0.0. |
currency | string | Optional | The desired currency for the response. Defaults to “USD“. |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/loan" querystring = {"loan":"10000","rate":"5.5","term":"12","type":"other","extra":"0.0","currency":"USD"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "interest_rate": "5.50%", "loan_amount": "$10000.00", "loan_interest": "$300.41", "loan_type": "other", "monthly_payment": "$858.37", "repayment_term": "12 months", "schedule": [ { "balance": "$9187.47", "interest": "$45.83", "payment": "$858.37", "period": 1, "principal": "$812.53" }, { "balance": "$8371.21", "interest": "$42.11", "payment": "$858.37", "period": 2, "principal": "$816.26" }, { "balance": "$7551.21", "interest": "$38.37", "payment": "$858.37", "period": 3, "principal": "$820.00" }, { "balance": "$6727.45", "interest": "$34.61", "payment": "$858.37", "period": 4, "principal": "$823.76" }, { "balance": "$5899.92", "interest": "$30.83", "payment": "$858.37", "period": 5, "principal": "$827.53" }, { "balance": "$5068.59", "interest": "$27.04", "payment": "$858.37", "period": 6, "principal": "$831.33" }, { "balance": "$4233.45", "interest": "$23.23", "payment": "$858.37", "period": 7, "principal": "$835.14" }, { "balance": "$3394.49", "interest": "$19.40", "payment": "$858.37", "period": 8, "principal": "$838.96" }, { "balance": "$2551.68", "interest": "$15.56", "payment": "$858.37", "period": 9, "principal": "$842.81" }, { "balance": "$1705.00", "interest": "$11.70", "payment": "$858.37", "period": 10, "principal": "$846.67" }, { "balance": "$854.45", "interest": "$7.81", "payment": "$858.37", "period": 11, "principal": "$850.55" }, { "balance": "$0.00", "interest": "$3.92", "payment": "$858.37", "period": 12, "principal": "$854.45" } ] }
Batch Processing Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/loan/batch" payload = [ { "loan": 10000, "rate": 5, "term": 12, "type": "personal", "extra": 0, "currency": "USD" }, { "loan": 50000, "rate": 3, "term": 24, "type": "student", "extra": 1000, "currency": "USD" }, { "loan": 2500, "rate": 7, "term": 6, "type": "business", "extra": 500, "currency": "USD" } ] headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.json())
Response Example:
[ { "interest_rate": "5.00%", "loan_amount": "$10000.00", "loan_interest": "$272.90", "loan_type": "personal", "monthly_payment": "$856.07", "repayment_term": "12 months", "schedule": [ { "balance": "$9185.59", "interest": "$41.67", "payment": "$856.07", "period": 1, "principal": "$814.41" }, { "balance": "$8367.79", "interest": "$38.27", "payment": "$856.07", "period": 2, "principal": "$817.80" }, { "balance": "$7546.58", "interest": "$34.87", "payment": "$856.07", "period": 3, "principal": "$821.21" }, { "balance": "$6721.95", "interest": "$31.44", "payment": "$856.07", "period": 4, "principal": "$824.63" }, { "balance": "$5893.88", "interest": "$28.01", "payment": "$856.07", "period": 5, "principal": "$828.07" }, { "balance": "$5062.37", "interest": "$24.56", "payment": "$856.07", "period": 6, "principal": "$831.52" }, { "balance": "$4227.39", "interest": "$21.09", "payment": "$856.07", "period": 7, "principal": "$834.98" }, { "balance": "$3388.92", "interest": "$17.61", "payment": "$856.07", "period": 8, "principal": "$838.46" }, { "balance": "$2546.97", "interest": "$14.12", "payment": "$856.07", "period": 9, "principal": "$841.95" }, { "balance": "$1701.51", "interest": "$10.61", "payment": "$856.07", "period": 10, "principal": "$845.46" }, { "balance": "$852.52", "interest": "$7.09", "payment": "$856.07", "period": 11, "principal": "$848.99" }, { "balance": "$0.00", "interest": "$3.55", "payment": "$856.07", "period": 12, "principal": "$852.52" } ] }, { "interest_rate": "3.00%", "loan_amount": "$50000.00", "loan_interest": "$1577.45", "loan_type": "student", "monthly_payment": "$2149.06", "repayment_term": "24 months", "schedule": [ { "balance": "$47934.27", "interest": "$125.00", "payment": "$2190.73", "period": 1, "principal": "$2065.73" }, { "balance": "$45863.38", "interest": "$119.84", "payment": "$2190.73", "period": 2, "principal": "$2070.89" }, { "balance": "$43787.31", "interest": "$114.66", "payment": "$2190.73", "period": 3, "principal": "$2076.07" }, { "balance": "$41706.05", "interest": "$109.47", "payment": "$2190.73", "period": 4, "principal": "$2081.26" }, { "balance": "$39619.59", "interest": "$104.27", "payment": "$2190.73", "period": 5, "principal": "$2086.46" }, { "balance": "$37527.91", "interest": "$99.05", "payment": "$2190.73", "period": 6, "principal": "$2091.68" }, { "balance": "$35431.01", "interest": "$93.82", "payment": "$2190.73", "period": 7, "principal": "$2096.91" }, { "balance": "$33328.86", "interest": "$88.58", "payment": "$2190.73", "period": 8, "principal": "$2102.15" }, { "balance": "$31221.45", "interest": "$83.32", "payment": "$2190.73", "period": 9, "principal": "$2107.41" }, { "balance": "$29108.78", "interest": "$78.05", "payment": "$2190.73", "period": 10, "principal": "$2112.67" }, { "balance": "$26990.82", "interest": "$72.77", "payment": "$2190.73", "period": 11, "principal": "$2117.96" }, { "balance": "$24867.57", "interest": "$67.48", "payment": "$2190.73", "period": 12, "principal": "$2123.25" }, { "balance": "$22739.01", "interest": "$62.17", "payment": "$2190.73", "period": 13, "principal": "$2128.56" }, { "balance": "$20605.13", "interest": "$56.85", "payment": "$2190.73", "period": 14, "principal": "$2133.88" }, { "balance": "$18465.92", "interest": "$51.51", "payment": "$2190.73", "period": 15, "principal": "$2139.21" }, { "balance": "$16321.36", "interest": "$46.16", "payment": "$2190.73", "period": 16, "principal": "$2144.56" }, { "balance": "$14171.43", "interest": "$40.80", "payment": "$2190.73", "period": 17, "principal": "$2149.92" }, { "balance": "$12016.13", "interest": "$35.43", "payment": "$2190.73", "period": 18, "principal": "$2155.30" }, { "balance": "$9855.45", "interest": "$30.04", "payment": "$2190.73", "period": 19, "principal": "$2160.69" }, { "balance": "$7689.36", "interest": "$24.64", "payment": "$2190.73", "period": 20, "principal": "$2166.09" }, { "balance": "$5517.85", "interest": "$19.22", "payment": "$2190.73", "period": 21, "principal": "$2171.50" }, { "balance": "$3340.92", "interest": "$13.79", "payment": "$2190.73", "period": 22, "principal": "$2176.93" }, { "balance": "$1158.55", "interest": "$8.35", "payment": "$2190.73", "period": 23, "principal": "$2182.37" }, { "balance": "$0.00", "interest": "$2.90", "payment": "$1161.44", "period": 24, "principal": "$1158.55" } ] }, { "interest_rate": "7.00%", "loan_amount": "$2500.00", "loan_interest": "$51.29", "loan_type": "business", "monthly_payment": "$425.21", "repayment_term": "6 months", "schedule": [ { "balance": "$2006.04", "interest": "$14.58", "payment": "$508.55", "period": 1, "principal": "$493.96" }, { "balance": "$1509.19", "interest": "$11.70", "payment": "$508.55", "period": 2, "principal": "$496.85" }, { "balance": "$1009.44", "interest": "$8.80", "payment": "$508.55", "period": 3, "principal": "$499.74" }, { "balance": "$506.78", "interest": "$5.89", "payment": "$508.55", "period": 4, "principal": "$502.66" }, { "balance": "$1.19", "interest": "$2.96", "payment": "$508.55", "period": 5, "principal": "$505.59" }, { "balance": "$0.00", "interest": "$0.01", "payment": "$1.20", "period": 6, "principal": "$1.19" } ] } ]
Mortgage Calculator
The Mortgage Calculator endpoint allows users to calculate mortgage-related values and generate amortization schedules. It supports various amortization frequencies, including monthly, semi-monthly, bi-weekly, and weekly.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
amount | decimal | Yes | The loan amount as a float. Example: price=10000. |
rate | decimal | Yes | The annual interest rate as a float. Example: rate=5.5. |
term_years | int | Yes | The repayment term in years as an integer. Example: term=3. |
frequency | string | Optional | The frequency of amortization. Valid options: “monthly” (default), “semi-monthly“, “bi-weekly“, “weekly“. |
down_payment | decimal | Optional | The down payment amount. |
currency | string | Optional | The desired currency for the response. Defaults to “USD“. |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/mortgage" querystring = {"amount":"200000","rate":"5","term_years":"2","down_payment":"0","frequency":"monthly","currency":"USD"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "amortization_freq": "Monthly", "amortization_schedule": [ { "interest_payment": "$833.33", "month": 1, "payment": "$8,774.28", "principal_payment": "$7,940.94", "remaining_balance": "$192,059.06" }, { "interest_payment": "$800.25", "month": 2, "payment": "$8,774.28", "principal_payment": "$7,974.03", "remaining_balance": "$184,085.02" }, { "interest_payment": "$767.02", "month": 3, "payment": "$8,774.28", "principal_payment": "$8,007.26", "remaining_balance": "$176,077.77" }, { "interest_payment": "$733.66", "month": 4, "payment": "$8,774.28", "principal_payment": "$8,040.62", "remaining_balance": "$168,037.15" }, { "interest_payment": "$700.15", "month": 5, "payment": "$8,774.28", "principal_payment": "$8,074.12", "remaining_balance": "$159,963.02" }, { "interest_payment": "$666.51", "month": 6, "payment": "$8,774.28", "principal_payment": "$8,107.77", "remaining_balance": "$151,855.26" }, { "interest_payment": "$632.73", "month": 7, "payment": "$8,774.28", "principal_payment": "$8,141.55", "remaining_balance": "$143,713.71" }, { "interest_payment": "$598.81", "month": 8, "payment": "$8,774.28", "principal_payment": "$8,175.47", "remaining_balance": "$135,538.24" }, { "interest_payment": "$564.74", "month": 9, "payment": "$8,774.28", "principal_payment": "$8,209.54", "remaining_balance": "$127,328.70" }, { "interest_payment": "$530.54", "month": 10, "payment": "$8,774.28", "principal_payment": "$8,243.74", "remaining_balance": "$119,084.96" }, { "interest_payment": "$496.19", "month": 11, "payment": "$8,774.28", "principal_payment": "$8,278.09", "remaining_balance": "$110,806.87" }, { "interest_payment": "$461.70", "month": 12, "payment": "$8,774.28", "principal_payment": "$8,312.58", "remaining_balance": "$102,494.29" }, { "interest_payment": "$427.06", "month": 13, "payment": "$8,774.28", "principal_payment": "$8,347.22", "remaining_balance": "$94,147.07" }, { "interest_payment": "$392.28", "month": 14, "payment": "$8,774.28", "principal_payment": "$8,382.00", "remaining_balance": "$85,765.07" }, { "interest_payment": "$357.35", "month": 15, "payment": "$8,774.28", "principal_payment": "$8,416.92", "remaining_balance": "$77,348.15" }, { "interest_payment": "$322.28", "month": 16, "payment": "$8,774.28", "principal_payment": "$8,451.99", "remaining_balance": "$68,896.15" }, { "interest_payment": "$287.07", "month": 17, "payment": "$8,774.28", "principal_payment": "$8,487.21", "remaining_balance": "$60,408.94" }, { "interest_payment": "$251.70", "month": 18, "payment": "$8,774.28", "principal_payment": "$8,522.57", "remaining_balance": "$51,886.37" }, { "interest_payment": "$216.19", "month": 19, "payment": "$8,774.28", "principal_payment": "$8,558.08", "remaining_balance": "$43,328.28" }, { "interest_payment": "$180.53", "month": 20, "payment": "$8,774.28", "principal_payment": "$8,593.74", "remaining_balance": "$34,734.54" }, { "interest_payment": "$144.73", "month": 21, "payment": "$8,774.28", "principal_payment": "$8,629.55", "remaining_balance": "$26,104.99" }, { "interest_payment": "$108.77", "month": 22, "payment": "$8,774.28", "principal_payment": "$8,665.51", "remaining_balance": "$17,439.48" }, { "interest_payment": "$72.66", "month": 23, "payment": "$8,774.28", "principal_payment": "$8,701.61", "remaining_balance": "$8,737.87" }, { "interest_payment": "$36.41", "month": 24, "payment": "$8,774.28", "principal_payment": "$8,737.87", "remaining_balance": "$0.00" } ], "down_payment": "$0.00", "interest_rate": "5.00%", "loan_amount": "$200,000.00", "loan_term_months": 24, "monthly_payment": "$8,774.28", "total_interest": "$10,582.67", "total_payment": "$210,582.67" }
Auto Loan Calculator
The Auto Loan Calculator endpoint provides a way to calculate and analyze auto loan-related information, including monthly payments, total loan cost, and amortization schedules. The endpoint supports both GET and POST requests.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
price | decimal | Yes | The loan amount as a float. Example: price=10000. |
rate | decimal | Yes | The annual interest rate as a float. Example: rate=5.5. |
term_months | int | Yes | The repayment term in months as an integer. Example: term=12. |
discount | decimal | Optional | Cash incentives or discounts applied to the vehicle price. |
sales_tax_rate | decimal | Optional | The sales tax rate as a percentage. |
down_payment | decimal | Optional | The down payment amount. |
other_fees | decimal | Optional | Other fees associated with the loan. |
trade_in_value | decimal | Optional | The value of a vehicle traded in. |
currency | string | Optional | The desired currency for the response. Defaults to “USD“. |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/auto" querystring = {"price":"20000","term_months":"12","rate":"5","discount":"0","sales_tax_rate":"4.5","down_payment":"0","other_fees":"0","trade_in_value":"0","currency":"USD"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "amortization_schedule": [ { "interest_payment": "$83.33", "month": 1, "payment": "$1,712.15", "principal_payment": "$1,628.82", "remaining_balance": "$18,371.18" }, { "interest_payment": "$76.55", "month": 2, "payment": "$1,712.15", "principal_payment": "$1,635.60", "remaining_balance": "$16,735.58" }, { "interest_payment": "$69.73", "month": 3, "payment": "$1,712.15", "principal_payment": "$1,642.42", "remaining_balance": "$15,093.16" }, { "interest_payment": "$62.89", "month": 4, "payment": "$1,712.15", "principal_payment": "$1,649.26", "remaining_balance": "$13,443.90" }, { "interest_payment": "$56.02", "month": 5, "payment": "$1,712.15", "principal_payment": "$1,656.13", "remaining_balance": "$11,787.77" }, { "interest_payment": "$49.12", "month": 6, "payment": "$1,712.15", "principal_payment": "$1,663.03", "remaining_balance": "$10,124.73" }, { "interest_payment": "$42.19", "month": 7, "payment": "$1,712.15", "principal_payment": "$1,669.96", "remaining_balance": "$8,454.77" }, { "interest_payment": "$35.23", "month": 8, "payment": "$1,712.15", "principal_payment": "$1,676.92", "remaining_balance": "$6,777.85" }, { "interest_payment": "$28.24", "month": 9, "payment": "$1,712.15", "principal_payment": "$1,683.91", "remaining_balance": "$5,093.94" }, { "interest_payment": "$21.22", "month": 10, "payment": "$1,712.15", "principal_payment": "$1,690.92", "remaining_balance": "$3,403.02" }, { "interest_payment": "$14.18", "month": 11, "payment": "$1,712.15", "principal_payment": "$1,697.97", "remaining_balance": "$1,705.05" }, { "interest_payment": "$7.10", "month": 12, "payment": "$1,712.15", "principal_payment": "$1,705.05", "remaining_balance": "$0.00" } ], "interest_rate": "5.00%", "loan_amount": "$20,000.00", "monthly_payment": "$1,712.15", "sales_tax": "$900.00", "term_months": 12, "total_interest": "$545.80", "total_loan_cost": "$21,445.80", "total_monthly_payments": "$20,545.80", "upfront_pay": "$900.00" }
Fixed Term Loan Calculator
The Fix Term Loan Calculator endpoint enables users to calculate the amortization schedule for a fixed-term loan. It considers parameters such as loan amount, term in years, interest rate, and an optional currency.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
amount | int | Yes | The loan amount. Example: price=10000. |
term_years | int | Yes | The term of the loan in years. |
rate | decimal | Yes | The annual interest rate. |
currency | string | Optional | The desired currency for the response. Defaults to “USD“. |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/fixed-term" querystring = {"amount":"100000","term_years":"25","rate":"5.5","currency":"USD"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "amortization_schedule": [ { "interest_payment": "$5,452.16", "payment": "$7,369.05", "principal_payment": "$1,916.89", "remaining_balance": "$98,083.11", "year": 1 }, { "interest_payment": "$5,344.03", "payment": "$7,369.05", "principal_payment": "$2,025.02", "remaining_balance": "$96,058.09", "year": 2 }, { "interest_payment": "$5,229.80", "payment": "$7,369.05", "principal_payment": "$2,139.25", "remaining_balance": "$93,918.84", "year": 3 }, { "interest_payment": "$5,109.13", "payment": "$7,369.05", "principal_payment": "$2,259.92", "remaining_balance": "$91,658.92", "year": 4 }, { "interest_payment": "$4,981.65", "payment": "$7,369.05", "principal_payment": "$2,387.40", "remaining_balance": "$89,271.53", "year": 5 }, { "interest_payment": "$4,846.99", "payment": "$7,369.05", "principal_payment": "$2,522.06", "remaining_balance": "$86,749.46", "year": 6 }, { "interest_payment": "$4,704.72", "payment": "$7,369.05", "principal_payment": "$2,664.33", "remaining_balance": "$84,085.13", "year": 7 }, { "interest_payment": "$4,554.43", "payment": "$7,369.05", "principal_payment": "$2,814.62", "remaining_balance": "$81,270.52", "year": 8 }, { "interest_payment": "$4,395.67", "payment": "$7,369.05", "principal_payment": "$2,973.38", "remaining_balance": "$78,297.14", "year": 9 }, { "interest_payment": "$4,227.94", "payment": "$7,369.05", "principal_payment": "$3,141.10", "remaining_balance": "$75,156.03", "year": 10 }, { "interest_payment": "$4,050.76", "payment": "$7,369.05", "principal_payment": "$3,318.29", "remaining_balance": "$71,837.74", "year": 11 }, { "interest_payment": "$3,863.58", "payment": "$7,369.05", "principal_payment": "$3,505.47", "remaining_balance": "$68,332.28", "year": 12 }, { "interest_payment": "$3,665.85", "payment": "$7,369.05", "principal_payment": "$3,703.20", "remaining_balance": "$64,629.08", "year": 13 }, { "interest_payment": "$3,456.96", "payment": "$7,369.05", "principal_payment": "$3,912.09", "remaining_balance": "$60,716.98", "year": 14 }, { "interest_payment": "$3,236.29", "payment": "$7,369.05", "principal_payment": "$4,132.76", "remaining_balance": "$56,584.22", "year": 15 }, { "interest_payment": "$3,003.17", "payment": "$7,369.05", "principal_payment": "$4,365.88", "remaining_balance": "$52,218.34", "year": 16 }, { "interest_payment": "$2,756.90", "payment": "$7,369.05", "principal_payment": "$4,612.15", "remaining_balance": "$47,606.18", "year": 17 }, { "interest_payment": "$2,496.73", "payment": "$7,369.05", "principal_payment": "$4,872.32", "remaining_balance": "$42,733.87", "year": 18 }, { "interest_payment": "$2,221.90", "payment": "$7,369.05", "principal_payment": "$5,147.15", "remaining_balance": "$37,586.71", "year": 19 }, { "interest_payment": "$1,931.56", "payment": "$7,369.05", "principal_payment": "$5,437.49", "remaining_balance": "$32,149.22", "year": 20 }, { "interest_payment": "$1,624.84", "payment": "$7,369.05", "principal_payment": "$5,744.21", "remaining_balance": "$26,405.01", "year": 21 }, { "interest_payment": "$1,300.82", "payment": "$7,369.05", "principal_payment": "$6,068.23", "remaining_balance": "$20,336.78", "year": 22 }, { "interest_payment": "$958.53", "payment": "$7,369.05", "principal_payment": "$6,410.52", "remaining_balance": "$13,926.26", "year": 23 }, { "interest_payment": "$596.92", "payment": "$7,369.05", "principal_payment": "$6,772.13", "remaining_balance": "$7,154.13", "year": 24 }, { "interest_payment": "$214.92", "payment": "$7,369.05", "principal_payment": "$7,154.13", "remaining_balance": "$-0.00", "year": 25 } ], "interest_rate": "5.50%", "loan_amount": "$100,000.00", "monthly_payment": "$614.09", "term_years": 25, "total_interest": "$84,226.25", "total_payment": "$184,226.25" }
Fixed Payment Loan Calculator
The Fixed Payment Loan Calculator allows you to calculate and analyze fixed payment loan details, including amortization schedules, total payments, total interest, and more.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
amount | int | Yes | The loan amount. Example: price=10000. |
monthly_payment | int | Yes | The fixed monthly payment you intend to make. |
rate | decimal | Yes | The annual interest rate. |
currency | string | Optional | The desired currency for the response. Defaults to “USD“. |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/fixed-payment" querystring = {"amount":"10000","monthly_payment":"500","rate":"5","currency":"USD"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "amortization_schedule": [ { "interest_payment": "$41.67", "month": 1, "payment": "$500.00", "principal_payment": "$458.33", "remaining_balance": "$9,541.67" }, { "interest_payment": "$39.76", "month": 2, "payment": "$500.00", "principal_payment": "$460.24", "remaining_balance": "$9,081.42" }, { "interest_payment": "$37.84", "month": 3, "payment": "$500.00", "principal_payment": "$462.16", "remaining_balance": "$8,619.26" }, { "interest_payment": "$35.91", "month": 4, "payment": "$500.00", "principal_payment": "$464.09", "remaining_balance": "$8,155.18" }, { "interest_payment": "$33.98", "month": 5, "payment": "$500.00", "principal_payment": "$466.02", "remaining_balance": "$7,689.16" }, { "interest_payment": "$32.04", "month": 6, "payment": "$500.00", "principal_payment": "$467.96", "remaining_balance": "$7,221.19" }, { "interest_payment": "$30.09", "month": 7, "payment": "$500.00", "principal_payment": "$469.91", "remaining_balance": "$6,751.28" }, { "interest_payment": "$28.13", "month": 8, "payment": "$500.00", "principal_payment": "$471.87", "remaining_balance": "$6,279.41" }, { "interest_payment": "$26.16", "month": 9, "payment": "$500.00", "principal_payment": "$473.84", "remaining_balance": "$5,805.58" }, { "interest_payment": "$24.19", "month": 10, "payment": "$500.00", "principal_payment": "$475.81", "remaining_balance": "$5,329.77" }, { "interest_payment": "$22.21", "month": 11, "payment": "$500.00", "principal_payment": "$477.79", "remaining_balance": "$4,851.97" }, { "interest_payment": "$20.22", "month": 12, "payment": "$500.00", "principal_payment": "$479.78", "remaining_balance": "$4,372.19" }, { "interest_payment": "$18.22", "month": 13, "payment": "$500.00", "principal_payment": "$481.78", "remaining_balance": "$3,890.41" }, { "interest_payment": "$16.21", "month": 14, "payment": "$500.00", "principal_payment": "$483.79", "remaining_balance": "$3,406.62" }, { "interest_payment": "$14.19", "month": 15, "payment": "$500.00", "principal_payment": "$485.81", "remaining_balance": "$2,920.81" }, { "interest_payment": "$12.17", "month": 16, "payment": "$500.00", "principal_payment": "$487.83", "remaining_balance": "$2,432.98" }, { "interest_payment": "$10.14", "month": 17, "payment": "$500.00", "principal_payment": "$489.86", "remaining_balance": "$1,943.12" }, { "interest_payment": "$8.10", "month": 18, "payment": "$500.00", "principal_payment": "$491.90", "remaining_balance": "$1,451.22" }, { "interest_payment": "$6.05", "month": 19, "payment": "$500.00", "principal_payment": "$493.95", "remaining_balance": "$957.26" }, { "interest_payment": "$3.99", "month": 20, "payment": "$500.00", "principal_payment": "$496.01", "remaining_balance": "$461.25" }, { "interest_payment": "$1.92", "month": 21, "payment": "$500.00", "principal_payment": "$498.08", "remaining_balance": "$-36.83" } ], "interest_rate": "5.00%", "loan_amount": "$10,000.00", "loan_duration": "1 years, 8 months", "monthly_payment": "$500.00", "term_months": 21, "total_interest": "$463.19", "total_payment": "$10,500.00", "total_principal": "$10,036.81" }
Salary Calculator
Retrieve salary details using query parameters. Effortlessly customize your calculations by specifying salary, pay period, working hours, holidays, and vacation days. These endpoints support various periods, including hourly, weekly, bi-weekly, semi-monthly, monthly, quarterly, and annual.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
salary | int | Yes | Your base salary amount. The starting point for all calculations. |
hour | string | Yes | Choose your preferred pay period – hour, day, week, bi-week, semi-month, month, quarter, or annual. |
hours_per_week | int | Yes | Specify the number of hours you work per week. |
days_per_week | int | Yes | Indicate the number of days you work each week. |
holidays_per_year | int | Yes | How many holidays you enjoy each year. |
vacation_per_year | int | Yes | How many vacation days you get annually. |
currency | string | Optional | The desired currency for the response. Defaults to “USD“. |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/salary" querystring = {"salary":"25","period":"hour","hours_per_week":"40","days_per_week":"5","holidays_per_year":"0","vacation_per_year":"0","currency":"USD"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "Salary": { "annual": "$52,000.00", "bi_weekly": "$2,000.00", "daily": "$200.00", "hourly": "$25.00", "monthly": "$4,333.33", "quarterly": "$13,000.00", "semi_monthly": "$2,166.67", "weekly": "$1,000.00" } }
12Hours Shift Pay Calculator
The Shift Pay Calculator allows you to calculate various pay-related metrics based on hourly wage, overtime hourly wage, and optional parameters like hours worked and work weeks per year.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
hourly_wage | int | Yes | The hourly wage in numeric format. |
overtime_hourly_wage | int | Yes | The overtime hourly wage in numeric format. Usually 1.5x the hourly wage rate. |
hours_worked | int | Yes | Number of regular hours. |
work_weeks_per_year | int | Yes | Number of work weeks in a year. |
currency | string | Optional | The desired currency for the response. Defaults to “USD“. |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/shift-pay" querystring = {"hourly_wage":"10","overtime_hourly_wage":"15","hours_worked":"8","work_weeks_per_year":"52","currency":"CAD"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "average_pay_per_hour": "$11.67", "overtime_hours": { "annual": "1040.0 Hours", "daily": "4.0 Hours", "monthly": "88.0 Hours", "weekly": "20.0 Hours" }, "pay_per_day": "$140.00", "pay_per_month": "$3,080.00", "pay_per_week": "$700.00", "pay_per_year": "$36,400.00" }
Custom Shift Pay Calculator
The Custom Shift Pay Calculator allows you to calculate various pay-related metrics based on hourly wage, overtime hourly wage, and custom parameters like hours worked, work weeks per year, shift hours worked, and days worked per week.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
hourly_wage | int | Yes | The hourly wage in numeric format. |
overtime_hourly_wage | int | Yes | The overtime hourly wage in numeric format. Usually 1.5x the hourly wage rate. |
hours_worked | int | Yes | Number of regular hours. |
shift_hours | int | Optional | Number of hours in a shift. |
work_days_per_year | int | Optional | Number of days worked in a week. |
work_weeks_per_year | int | Optional | Number of work weeks in a year. |
currency | string | Optional | The desired currency for the response. Defaults to “USD“. |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/shift-pay/custom" querystring = {"hourly_wage":"10","overtime_hourly_wage":"15","hours_worked":"8","shift_hours":"12","work_days_per_week":"5","work_weeks_per_year":"52","currency":"EUR"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "average_pay_per_hour": "$18.08", "overtime_hours": { "annual": "1040.0 Hours", "daily": "4.0 Hours", "monthly": "88.0 Hours", "weekly": "20.0 Hours" }, "pay_per_day": "$217.00", "pay_per_month": "$4,774.00", "pay_per_week": "$1,085.00", "pay_per_year": "$56,420.00" }
Shift Finish Time Calculator
The Shift Finish Time Calculator calculates the end time of a shift based on the provided start time, duration, and break duration.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
start_time | string | Yes | Start time of the shift in 12-hour format (e.g., 9:00 AM). |
duration | int | Yes | Duration of the shift in hours. |
break_duration | int | Yes | Break duration in minutes. |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/shift-finish-time" querystring = {"start_time":"8:30 AM","duration":"8","break_duration":"45"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "finish_time_12hr": "05:15 PM", "finish_time_24hr": "17:15" }
Overtime Monthly Calculator
The Overtime Pay Monthly Calculator calculates the total monthly pay, including both regular and overtime pay, based on the provided hourly wage, regular hours per month, overtime multiplier, overtime hours per month, and currency.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
hourly_wage | int | Yes | The hourly wage for the employee. |
regular_hours | int | Yes | The number of regular hours worked per month. |
overtime_multiplier | decimal | Optional | The multiplier applied to calculate overtime pay. default: 1.5 |
overtime_hours | int | Yes | The number of overtime hours worked per month. |
currency | string | Optional | The currency for formatting the calculated values. Default: USD |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/overtime-month" querystring = {"hourly_wage":"21","regular_hours":"176","overtime_multiplier":"1.5","overtime_hours":"40","currency":"USD"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "monthly_overtime_pay": "$1,260.00", "monthly_regular_pay": "$3,696.00", "overtime_pay_per_hour": "$31.50", "total_monthly_pay": "$4,956.00" }
Overtime Weekly Calculator
The Overtime Pay Weekly Calculator calculates the total weekly pay, including both regular and overtime pay, based on the provided hourly wage, regular hours per week, overtime multiplier, overtime hours per week, and currency.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
hourly_wage | int | Yes | The hourly wage for the employee. |
regular_hours | int | Yes | The number of regular hours worked per week. |
overtime_multiplier | decimal | Optional | The multiplier applied to calculate overtime pay. default: 1.5 |
overtime_hours | int | Yes | The number of overtime hours worked per week. |
currency | string | Optional | The currency for formatting the calculated values. Default: USD |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/overtime-week" querystring = {"hourly_wage":"15","regular_hours":"40","overtime_multiplier":"1.5","overtime_hours":"8","currency":"USD"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "overtime_pay_per_hour": "$22.50", "total_weekly_pay": "$780.00", "weekly_overtime_pay": "$180.00", "weekly_regular_pay": "$600.00" }
Time and a Half Calculator
The Time and a Half Overtime Pay Calculator calculates the total pay, including regular and overtime pay, based on the provided hourly wage, regular hours, hours worked at time and a half, hours worked at double time, hours worked at triple time, and currency.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
standard_rate | int | Yes | The standard hourly wage for the employee. |
regular_hours | int | Yes | The number of regular hours worked. |
hours_time_half | int | Optional | The number of hours worked at time and a half. |
hours_double | int | Optional | The number of hours worked at double time. |
hours_triple | int | Optional | The number of hours worked at triple time. |
currency | string | Optional | The currency for formatting the calculated values. Default: USD |
Python Requests Example:
import requests url = "https://calcx-loan-calculator.p.rapidapi.com/time-half" querystring = {"standard_rate":"15","regular_hours":"40","hours_time_half":"0","hours_double":"0","hours_triple":"0","currency":"USD"} headers = { "x-rapidapi-key": "Sign Up for Key", "x-rapidapi-host": "calcx-loan-calculator.p.rapidapi.com" } response = requests.get(url, headers=headers, params=querystring) print(response.json())
Response Example:
{ "pay_rates": { "double": "$30.00", "standard": "$15.00", "time_half": "$22.50", "triple": "$45.00" }, "total_amount_earned": "$600.00", "total_double": "$0.00", "total_regular_pay": "$600.00", "total_time_half": "$0.00", "total_triple": "$0.00" }
Subscribe to CalcX Loan Calculator API
Subscribe to CalcX Loan Calculator API
Subscribe to CalcX Loan Calculator API
Subscribe to CalcX Loan Calculator API