81trust / 100
Stocks
by tokenguard in Markets & finance
x402 APIPassing, checked 3 h ago
How is TradFi trading right now, next to crypto? Any list of US equity symbols plus the S&P 500, NASDAQ and Dow, each returned with price and 24h change already computed and in the same shape as our crypto routes, so both sides of a comparison arrive from one call.
POST https://eltociear-tokenguard.hf.space/stocks
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 278 ms typical, 332 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 POST "https://eltociear-tokenguard.hf.space/stocks" \
-H "content-type: application/json" \
-d '{}'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%2Feltociear-tokenguard.hf.space%2Fstocks
const res = await pay("https://eltociear-tokenguard.hf.space/stocks", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({}),
});
console.log(await res.json());Example input
{}Example output
{
"indices": [
{
"name": "S&P 500",
"price_usd": 7354.02,
"symbol": "^GSPC"
}
],
"indices_count": 3,
"stocks": [
{
"change_pct_24h": 1.32,
"price_usd": 283.78,
"symbol": "AAPL"
}
],
"stocks_count": 5
}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 | 278 ms | $0.005 |
| 7 h ago | Passed | 402 | 321 ms | $0.005 |
| 11 h ago | Passed | 402 | 181 ms | $0.005 |
| 14 h ago | Passed | 402 | 332 ms | $0.005 |
| 19 h ago | Passed | 402 | 329 ms | $0.005 |
| 22 h ago | Passed | 402 | 336 ms | $0.005 |
| 25 h ago | Passed | 402 | 272 ms | $0.005 |
| 30 h ago | Passed | 402 | 272 ms | $0.005 |