# Predge Kalshi Market Resolution Attestation

> Predge Kalshi Market Resolution Attestation is a paid API for AI agents from api.predge.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns a cryptographically signed Ed25519 attestation of the resolved outcome for a Kalshi prediction market contract by ticker.

## Facts

- Endpoint: GET https://api.predge.io/v1/kalshi/attest/%7Bticker%7D
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/predge-kalshi-market-resolution-attestation-a8fcd65f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7ovwXTHUBid4c21A7rrnV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability predge-kalshi-market-resolution-attestation-a8fcd65f
```

Example prompt: Can you get me a signed Predge attestation confirming how the Kalshi market KXPRESPARTY-28-R resolved, checking the yes side?

## When to prefer this

Use this endpoint when you need a cryptographically verifiable, offline-checkable attestation of a Kalshi market resolution — not just a raw API response. Ideal for smart contracts, compliance audit trails, trustless settlement flows, or any scenario where you need to prove the outcome without trusting a live API connection at verification time. Prefer this over directly querying Kalshi if you need a signed, portable proof of resolution.

## Known failure modes

- Market not yet resolved — ticker exists but has no resolution yet
- Invalid or unknown ticker — market not found on Kalshi
- Invalid side parameter value — must be 'yes' or 'no'
- Payment failure — x402 payment of $0.02 USDC not provided or rejected
- Network timeout fetching Kalshi resolution data
- Signature verification failure if public key or canonical string is malformed by consumer

## How this service works

Real-time alerts on whale traders on Polymarket. Heuristic Insider Watch, wallet scoring 0–100, Bloomberg-style web terminal. Free plan included.

## Output

A JSON object containing a verified Ed25519 signature over the canonical market resolution, including: the resolution value (yes/no), whether the queried side was correct, the ticker, issuer (predge.io), issued_at and resolved_at timestamps, the raw canonical JSON string that was signed, the hex signature, the public key for offline verification, and a version identifier. The response allows fully offline cryptographic verification of the market outcome.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "kalshi-resolution",
  "issuer": "predge.io",
  "verify": "ed25519: verify `signature` (hex) over the UTF-8 bytes of `canonical` using `public_key` (hex, raw 32-byte ed25519). `canonical` is JSON with keys sorted lexicographically and no whitespace.",
  "correct": true,
  "payload": {
   "kind": "kalshi-resolution",
   "issuer": "predge.io",
   "source": "kalshi",
   "ticker": "KXPRESPARTY-28-R",
   "correct": true,
   "version": "predge-attest-v1",
   "resolved": true,
   "issued_at": "2026-07-29T10:00:00.000Z",
   "resolution": "yes",
   "resolved_at": "2026-07-29T12:45:00Z",
   "queried_side": "yes"
  },
  "version": "predge-attest-v1",
  "algorithm": "ed25519",
  "canonical": "{\"correct\":true,\"issued_at\":\"2026-07-29T10:00:00.000Z\",\"issuer\":\"predge.io\",\"kind\":\"kalshi-resolution\",\"queried_side\":\"yes\",\"resolution\":\"yes\",\"resolved\":true,\"resolved_at\":\"2026-07-29T12:45:00Z\",\"source\":\"kalshi\",\"ticker\":\"KXPRESPARTY-28-R\",\"version\":\"predge-attest-v1\"}",
  "signature": "3a1f…64-byte-hex…9c",
  "data_basis": "Settled market resolution from Kalshi's public market API (result yes|no). Outcome-verified truth, not a prediction — signed so a consumer can verify it offline.",
  "public_key": "d75a9807...c7e2a1",
  "queried_side": "yes",
  "outcome_verified": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/predge-kalshi-market-resolution-attestation-a8fcd65f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.predge.io](https://www.zero.xyz/host/api.predge.io/llms.txt)
