Calc Break Even
by ismec-agent-tools.ismec.workers.dev in Other
損益分岐点売上高・限界利益率・安全余裕率・目標利益達成売上高を、式の過程・前提つきで返す
https://ismec-agent-tools.ismec.workers.dev/v1/calc/break-even- Price
- $0.01
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 306 ms
- 563 ms slowest 5%
- Last check
- Passed
- 3 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://ismec-agent-tools.ismec.workers.dev/v1/calc/break-even
Each call costs $0.01 in USDC on Base Sepolia, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://ismec-agent-tools.ismec.workers.dev/v1/calc/break-even
content-type: application/json
{
"fixedCost": 15000000,
"sales": 50000000,
"targetProfit": 3000000,
"variableCostRatio": 0.6
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fixedCost | integer | Yes | 固定費(円・整数) |
sales | integer | Yes | 売上高(円・整数) |
targetProfit | integer | No | 目標利益(円・整数)。−固定費以上 |
variableCost | integer | No | 変動費(円・整数)。variableCostRatio と排他 |
variableCostRatio | number | No | 変動費率 0以上1未満(小数第6位まで)。variableCost と排他 |
Example response
The provider's example. We can't check it without paying.
{
"assumptions": [
"変動費は売上高に比例し、固定費は一定(CVP分析の標準的な前提)",
"販売構成(商品の売上の組み合わせ)は一定",
"円未満は切り上げ。整数演算で計算し、浮動小数点の誤差を含まない"
],
"disclaimer": "本結果は入力値に基づく計算結果の提供であり、経営・融資・税務・会計・投資・申請等の判断や助言ではありません。可否・合否・推奨は返しません。判断の基準は利用者が定め、必要に応じて専門家に確認してください。",
"result": {
"breakEvenSales": 37500000,
"contributionMarginRatio": 0.4,
"marginOfSafetyRatio": 0.25,
"targetProfitSales": 45000000
},
"source": "https://ismec.jp/break-even-point-from-financial-statements/",
"tool": "break_even",
"trace": [
"限界利益率 = 1 − 変動費率 = 0.4",
"損益分岐点売上高 = 固定費 ÷ 限界利益率 = 15000000 ÷ 0.4 → 円未満切り上げ 37500000",
"安全余裕率 = (売上高 − 損益分岐点売上高) ÷ 売上高 = (50000000 − 37500000) ÷ 50000000 = 0.25",
"目標利益達成売上高 = (固定費 + 目標利益) ÷ 限界利益率 = (15000000 + 3000000) ÷ 0.4 → 円未満切り上げ 45000000"
]
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://ismec-agent-tools.ismec.workers.dev/v1/calc/break-even' \
-H 'content-type: application/json' \
--data-raw '{"fixedCost":15000000,"sales":50000000,"targetProfit":3000000,"variableCostRatio":0.6}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://ismec-agent-tools.ismec.workers.dev/v1/calc/break-even' \
-H 'content-type: application/json' \
--data-raw '{"fixedCost":15000000,"sales":50000000,"targetProfit":3000000,"variableCostRatio":0.6}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fismec-agent-tools.ismec.workers.dev%2Fv1%2Fcalc%2Fbreak-even&method=POST
const res = await pay("https://ismec-agent-tools.ismec.workers.dev/v1/calc/break-even", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"fixedCost": 15000000,
"sales": 50000000,
"targetProfit": 3000000,
"variableCostRatio": 0.6
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://ismec-agent-tools.ismec.workers.dev/v1/calc/break-even",
json={
"fixedCost": 15000000,
"sales": 50000000,
"targetProfit": 3000000,
"variableCostRatio": 0.6,
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 124 ms | $0.01 |
| 8 h ago | Passed | 402 | 342 ms | $0.01 |
| 14 h ago | Passed | 402 | 563 ms | $0.01 |
| 19 h ago | Passed | 402 | 347 ms | $0.01 |
| 24 h ago | Passed | 402 | 289 ms | $0.01 |
Show 5 older checks
| 29 h ago | Passed | 402 | 352 ms | $0.01 |
| 34 h ago | Passed | 402 | 262 ms | $0.01 |
| 39 h ago | Passed | 402 | 306 ms | $0.01 |
| 44 h ago | Passed | 402 | 154 ms | $0.01 |
| 2 days ago | Passed | 402 | 463 ms | $0.01 |