One key, one gateway
Use a Dakidarts API key with read or write scopes and control which APIs that key can reach.
Investment calculations for simple and compound returns, ROI, capital-gains tax and annual percentage yield, with single and batch request routes.
0 of 5 endpoints have an upstream URL configured. Other routes return 503 before billing; only send live requests to configured routes. The gateway injects upstream credentials for you.
Live checkout opens after an API route has an upstream URL. Preview examples are available below.
https://api.dakidarts.com/calcx-investmentX-API-Key: dk_live_...GET /calculateUse a Dakidarts API key with read or write scopes and control which APIs that key can reach.
Wallet credits, plan quotas and organization invoices are settled per request with transparent response headers.
Latency, upstream status and execution mode are logged so integration issues are visible before they spread.
Keep the direct Dakidarts gateway as your primary route, or use the RapidAPI listing when marketplace billing and key management fit your stack better.
The best API is the one your team can integrate, observe and then stop thinking about.
Designed as a composable building block for product teams, internal tooling and automation.
Designed as a composable building block for product teams, internal tooling and automation.
Designed as a composable building block for product teams, internal tooling and automation.
Selected facts about coverage, delivery and production readiness.
Access, billing and integration details for CalcX Investment API.
Interest, ROI, investment returns, capital gains and yield scenarios.
Yes. Simple and compound interest utilities are available.
Yes. Structured inputs and outputs suit dashboards, education products and comparison tools.
Subscribe on the Dakidarts dashboard, then calls draw from wallet credits or an active plan quota.
Keep API keys on the server and proxy requests through your backend rather than exposing credentials client-side.
Plans are shown for reference. Live checkout opens after an API route has an upstream URL.
$0.00 / month
Start with a Dakidarts key, call the gateway, then monitor usage from the dashboard.
Choose the API scope, then copy the key into your server environment.
Send requests to https://api.dakidarts.com/calcx-investment with your key and JSON body.
Track calls, latency and spend from the API dashboard and wallet.
These routes include contracts imported from the product implementation. 0 of 5 endpoints have an upstream URL configured. Other routes return 503 before billing; saved examples are previews only. Configure an upstream URL in API Studio to enable those routes.
Operations endpoints sourced from the CalcX Investment API implementation.
/status
Ping
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Returns Calcx Investment service health and availability.
This repository does not publish a separate endpoint guide for this route. The contract is transcribed from app.py (line 21), handler ping, in the investx source repository. The source does not declare an API version (Unversioned). The handler and parameter names are transcribed from the source; any sample request values are illustrative, not captured upstream output.
Execution note: This is a source contract, not a live response. Examples are illustrative; requests need a configured upstream to execute.
Source contract imported from investx/app.py. Handler: ping.
{
"status": "API is online"
}curl -X GET https://api.dakidarts.com/calcx-investment/status -H 'X-API-Key: dk_live_...' -H 'Accept: application/json'
/status
Ping
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Returns Calcx Investment service health and availability.
This repository does not publish a separate endpoint guide for this route. The contract is transcribed from app.py (line 21), handler ping, in the investx source repository. The source does not declare an API version (Unversioned). The handler and parameter names are transcribed from the source; any sample request values are illustrative, not captured upstream output.
Execution note: This is a source contract, not a live response. Examples are illustrative; requests need a configured upstream to execute.
Source contract imported from investx/app.py. Handler: ping.
{
"status": "API is online"
}curl -X POST https://api.dakidarts.com/calcx-investment/status -H 'X-API-Key: dk_live_...' -H 'Accept: application/json'
Investment calculations endpoints sourced from the CalcX Investment API implementation.
/calculate
Investment Calculator
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Calculates simple and compound investment returns, ROI, capital-gains tax, and annual percentage yield.
This repository does not publish a separate endpoint guide for this route. The contract is transcribed from app.py (line 82), handler investment_calculator, in the investx source repository. The source does not declare an API version (Unversioned). The sample uses a 12-month USD-to-USD calculation so its conversion is deterministic; the response values follow the local handler's formulas. No live upstream request was made.
Execution note: This route remains source-contract-only until a real upstream is configured.
Source contract imported from investx/app.py. Handler: investment_calculator.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
compounding | query | string | No | Interest compounding frequency: yearly, semi-annually, quarterly, or monthly. |
format | query | string | No | Return formatted currency and percentage strings when `yes`; use numeric values when `no`. |
to_currency | query | string | No | ISO currency code for converted results. |
in_currency | query | string | No | ISO currency code of the original principal. |
principal | query | number | Yes | Initial amount invested. |
rate | query | number | Yes | Annual interest rate as a percentage from 0 to 100. |
time | query | integer | Yes | Investment duration in months. |
{
"rate": 5,
"time": 12,
"format": "no",
"principal": 1000,
"compounding": "monthly",
"in_currency": "USD",
"to_currency": "USD"
}{
"apy": 5.12,
"roi": 5.12,
"rate": 5.0,
"cg_tax": 0.29,
"principal": 1000.0,
"results_in": "USD",
"time_years": 1.0,
"compounding": "monthly",
"time_months": 12.0,
"principal_in": "USD",
"simple_interest": 50.0,
"compound_interest": 51.16,
"investment_returns": 1051.16
}curl -X GET 'https://api.dakidarts.com/calcx-investment/calculate?compounding=yearly&format=yes&to_currency=USD&in_currency=USD' -H 'X-API-Key: dk_live_...' -H 'Accept: application/json'
/calculate/post
Investment Calculator Post
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Calculates simple and compound investment returns, ROI, capital-gains tax, and annual percentage yield.
This repository does not publish a separate endpoint guide for this route. The contract is transcribed from app.py (line 164), handler investment_calculator_post, in the investx source repository. The source does not declare an API version (Unversioned). The parameter table is the handler-backed contract; response fields are shown as a shape when the repository does not provide a trustworthy concrete sample. No live upstream request was made.
Execution note: This route remains source-contract-only until a real upstream is configured.
Source contract imported from investx/app.py. Handler: investment_calculator_post.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
to_currency | body | string | No | ISO currency code for converted results. |
in_currency | body | string | No | ISO currency code of the original principal. |
compounding | body | string | No | Interest compounding frequency: yearly, semi-annually, quarterly, or monthly. |
format | body | string | No | Return formatted currency and percentage strings when `yes`; use numeric values when `no`. |
time | body | integer | Yes | Investment duration in months. |
rate | body | number | Yes | Annual interest or percentage rate, as expected by this operation. |
principal | body | number | Yes | Initial investment amount before interest. |
{
"rate": 7.5,
"time": 12,
"format": "yes",
"principal": 10000,
"compounding": "yearly",
"in_currency": "USD",
"to_currency": "USD"
}{
"type": "object",
"properties": {
"apy": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"roi": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"rate": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"cg_tax": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"principal": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"results_in": {
"type": "string"
},
"time_years": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"compounding": {
"type": "string"
},
"time_months": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"principal_in": {
"type": "string"
},
"simple_interest": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"compounding_freq": {
"type": "string"
},
"compound_interest": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"investment_returns": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"additionalProperties": true
}curl -X POST https://api.dakidarts.com/calcx-investment/calculate/post -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"rate": 7.5, "time": 12, "format": "yes", "principal": 10000, "compounding": "yearly", "in_currency": "USD", "to_currency": "USD"}'
/calculate/batch
Investment Calculator Post Batch
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Calculates simple and compound investment returns, ROI, capital-gains tax, and annual percentage yield.
This repository does not publish a separate endpoint guide for this route. The contract is transcribed from app.py (line 253), handler investment_calculator_post_batch, in the investx source repository. The source does not declare an API version (Unversioned). The handler and parameter names are transcribed from the source; any sample request values are illustrative, not captured upstream output.
Execution note: This is a source contract, not a live response. Examples are illustrative; requests need a configured upstream to execute.
Source contract imported from investx/app.py. Handler: investment_calculator_post_batch.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
items | body | array | Yes | JSON array of calculator input objects using the source fields shown in the example. |
[
{
"rate": 5,
"time": 12,
"principal": 1000
}
]{
"type": "array",
"items": {
"type": "object",
"properties": {
"apy": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"roi": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"rate": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"cg_tax": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"principal": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"results_in": {
"type": "string"
},
"time_years": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"compounding": {
"type": "string"
},
"time_months": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"principal_in": {
"type": "string"
},
"simple_interest": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"compounding_freq": {
"type": "string"
},
"compound_interest": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
},
"investment_returns": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
},
"additionalProperties": true
}
}curl -X POST https://api.dakidarts.com/calcx-investment/calculate/batch -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -H 'Content-Type: application/json' -d '[{"rate": 5, "time": 12, "principal": 1000}]'
No endpoints match that search. Clear the search to see all routes.
Edit a JSON request to validate its syntax and preview the published sample response. This stays in your browser; it never calls the live API or uses credits.
The preview checks JSON syntax and shows the saved example response; it does not execute request values.
These are integration templates, not runnable sample calls. Configure an endpoint upstream in API Studio, then replace the placeholder path. Saved samples stay preview-only.
# Replace with a connected GET route and include any required parameters.
curl -X GET "https://api.dakidarts.com/calcx-investment/v1/your-connected-endpoint" \
-H "X-API-Key: dk_live_..." \
-H "Accept: application/json"
# Replace with a connected GET route and include any required parameters.
import requests
headers = {"X-API-Key": "dk_live_..."}
response = requests.get("https://api.dakidarts.com/calcx-investment/v1/your-connected-endpoint", headers=headers)
print(response.json())
// Replace with a connected GET route and include any required parameters.
const res = await fetch("https://api.dakidarts.com/calcx-investment/v1/your-connected-endpoint", {
headers: { "X-API-Key": "dk_live_..." }
});
const data = await res.json();
console.log(data);
<?php
// Replace with a connected GET route and include any required parameters.
$ch = curl_init("https://api.dakidarts.com/calcx-investment/v1/your-connected-endpoint");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["X-API-Key: dk_live_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);