78trust / 100

Security Risk

by api.xynaptic.io in Security & trust

x402 APIPassing, checked 26 min ago

Xynaptic Security Risk — risk profile from price history: annualized volatility, max drawdown, worst day, VaR 95 (parametric), Sharpe proxy, beta vs SPY (when available). GET ?ticker=AAPL&days=180. Output: risk_level (low/medium/high/extreme) + each metric with its window.

GET https://api.xynaptic.io/v1/security-risk

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
114 ms typical, 148 ms slowest 5%
Last check
26 min ago
Next check
in 7 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.xynaptic.io/v1/security-risk"
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.xynaptic.io%2Fv1%2Fsecurity-risk
const res = await pay("https://api.xynaptic.io/v1/security-risk");
console.log(await res.json());

Example input

{}

Example output

{
  "annualized_volatility_pct": 22.5,
  "max_drawdown_pct": -18.4,
  "risk_level": "medium",
  "service": "security-risk",
  "summary": "Medium risk: vol 22.5%, max drawdown -18.4%.",
  "ticker": "AAPL",
  "var_95_pct": -2.31,
  "worst_day_pct": -4.29
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
26 min agoPassed40254 ms$0.02
4 h agoPassed402136 ms$0.02
7 h agoPassed402113 ms$0.02
11 h agoPassed40240 ms$0.02
15 h agoPassed402118 ms$0.02
18 h agoPassed40243 ms$0.02
22 h agoPassed402145 ms$0.02
26 h agoPassed402132 ms$0.02
29 h agoPassed402148 ms$0.02
32 h agoPassed402164 ms$0.02
37 h agoPassed402114 ms$0.02
40 h agoPassed40237 ms$0.02
45 h agoPassed40238 ms$0.02