80trust / 100

Quote

by ioswarm.io in Onchain & crypto

x402 APIPassing, checked 8 min ago

Live quotes for up to 8 symbols — stocks, ETFs, crypto pairs (BTC-USD), FX — price, session change and currency, in the paid response. $0.01 per call, no account.

POST https://ioswarm.io/api/v1/x402/quote

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
451 ms typical, 451 ms slowest 5%
Last check
8 min ago
Next check
in 20 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://ioswarm.io/api/v1/x402/quote" \
  -H "content-type: application/json" \
  -d '{"symbols":["NVDA","BTC-USD"]}'
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%2Fioswarm.io%2Fapi%2Fv1%2Fx402%2Fquote
const res = await pay("https://ioswarm.io/api/v1/x402/quote", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"symbols":["NVDA","BTC-USD"]}),
});
console.log(await res.json());

Example input

{
  "symbols": [
    "NVDA",
    "BTC-USD"
  ]
}

Example output

{
  "paid": {
    "transaction": "0x…",
    "usd": 0.01
  },
  "results": [
    {
      "as_of": "2026-09-16T13:40:00Z",
      "change_pct": -0.09,
      "currency": "USD",
      "price": 212.17,
      "source": "yahoo",
      "symbol": "NVDA"
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
8 min agoPassed402456 ms$0.01
5 h agoPassed402451 ms$0.01