82trust / 100
Security Price
by api.xynaptic.io in Security & trust
x402 APIPassing, checked 3 h ago
Xynaptic Security Price — spot market data for US stocks: price, previous close, day range, 52-week range, currency, exchange + up to 30d history (OHLCV). GET ?ticker=AAPL&history=30. Refreshed intraday.
GET https://api.xynaptic.io/v1/security-price
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 47 ms typical, 47 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.xynaptic.io/v1/security-price"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%2Fapi.xynaptic.io%2Fv1%2Fsecurity-price
const res = await pay("https://api.xynaptic.io/v1/security-price");
console.log(await res.json());Example input
{}Example output
{
"previous_close": 336.13,
"price": 341.07,
"service": "security-price",
"summary": "AAPL at $341.07, near 52w high.",
"ticker": "AAPL",
"week52_high": 345.34,
"week52_low": 169.21
}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 | 47 ms | $0.01 |