80trust / 100
Ratios
by mtbandy--sec-ratio-engine-serve-app.modal.run in Markets & finance
x402 APIPassing, checked 4 h ago
Calculates 9 TTM financial ratios (P/E, P/OCF, P/FCF, P/B, EV/EBITDA, ROIC %, Debt/Equity, Current Ratio, Interest Coverage) directly from official SEC EDGAR XBRL filings with accession audit trails. Disclosures: Financial institutions and IFRS ADRs return null for unclassified balance sheet or missing US-GAAP taxonomy tags.
GET https://mtbandy--sec-ratio-engine-serve-app.modal.run/ratios
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 766 ms typical, 766 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://mtbandy--sec-ratio-engine-serve-app.modal.run/ratios?price=225.5&ticker=AAPL"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmtbandy--sec-ratio-engine-serve-app.modal.run%2Fratios
const res = await pay("https://mtbandy--sec-ratio-engine-serve-app.modal.run/ratios?price=225.5&ticker=AAPL");
console.log(await res.json());Example input
{
"price": 225.5,
"ticker": "AAPL"
}Example output
{
"cache_hit": true,
"ratios": {
"current_ratio_mrq": 0.98,
"debt_to_equity_mrq": 1.42,
"ev_to_ebitda_ttm": 24.3,
"interest_coverage_ttm": 29.1,
"price_to_book_mrq": 48.4,
"price_to_earnings_ttm": 31.2,
"price_to_free_cash_flow_ttm": 28.1,
"price_to_operating_cash_flow_ttm": 26.4,
"roic_ttm_pct": 58.2
},
"ticker": "AAPL"
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 766 ms | $0.003 |