81trust / 100

Kalshi Live Data

by Kalshi live data behind an event in Markets & finance

x402 APIPassing, checked 3 h ago

The live feed a Kalshi event settles on, from Kalshi's free live_data tier: a crypto event returns the CF Benchmarks price series, candlesticks (15M, 1M) and the maturity time; an economic-data event (CPI, jobs) returns the provider's series with the target period. Pass an eventTicker, or a seriesTicker (e.g. KXBTC) and the soonest open event is resolved for you. The type field names the schema of details.

POST https://agent402.tools/api/kalshi-live-data

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
188 ms typical, 188 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://agent402.tools/api/kalshi-live-data" \
  -H "content-type: application/json" \
  -d '{"limit":5,"seriesTicker":"KXBTC"}'
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%2Fagent402.tools%2Fapi%2Fkalshi-live-data
const res = await pay("https://agent402.tools/api/kalshi-live-data", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limit":5,"seriesTicker":"KXBTC"}),
});
console.log(await res.json());

Example input

{
  "limit": 5,
  "seriesTicker": "KXBTC"
}

Example output

{
  "candlesticks": [
    {
      "candles": [
        {
          "close": 80867.31,
          "high": 80868.42,
          "low": 80664.65,
          "open": 80703.13,
          "time": "2026-09-18T16:15:00.000Z"
        }
      ],
      "count": 5,
      "interval": "15M"
    }
  ],
  "coin": "BTC",
  "defaultRange": "1h",
  "details": {
    "coin": "BTC",
    "event_ticker": "KXBTC-26SEP1817",
    "maturity_ts_ms": 1789765200000
  },
  "eventTicker": "KXBTC-26SEP1817",
  "isHistorical": false,
  "latest": {
    "time": "2026-09-18T16:22:00.000Z",
    "value": 80867.31
  },
  "maturityTime": "2026-09-18T21:00:00.000Z",
  "range": null,
  "rangeOptions": [
    "15min",
    "1h",
    "3h"
  ],
  "resolvedFrom": {
    "seriesTicker": "KXBTC",
    "strikeDate": "2026-09-18T21:00:00Z",
    "title": "BTC price range on Sep 18, 2026 at 5pm EDT?"
  },
  "series": [
    {
      "time": "2026-09-18T16:22:00.000Z",
      "value": 80867.31
    }
  ],
  "seriesCount": 5,
  "source": "kalshi",
  "type": "crypto"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402188 ms$0.002