# Predge Sports Outcome Attestation

> Predge Sports Outcome 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-10-11).

Returns a cryptographically signed (ed25519) attestation of the settled outcome for a specific sports game, including winner, final score, and completion status, verifiable offline.

## Facts

- Endpoint: GET https://api.predge.io/v1/sports/attest/:league/:eventId?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/predge-sports-outcome-attestation-3fd9a9f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-WQDwGXvjOHaPaGakrN8a

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-sports-outcome-attestation-3fd9a9f8
```

Example prompt: Get me a cryptographically signed attestation of the settled outcome for NBA game ESPN event ID 401585123 — and check whether the Lakers won.

## When to prefer this

Use this endpoint when you need a cryptographically verifiable, tamper-evident proof of a settled sports outcome — not just raw score data. Ideal for automated betting settlement, prediction market resolution, dispute arbitration, or building a verifiable track record, where offline signature verification against a published ed25519 key is required. Prefer this over raw sports data APIs when the integrity and non-repudiation of the result matters, not just its content.

## Known failure modes

- 404 Not Found — unknown league slug or ESPN event ID not recognized (no charge incurred)
- Game not yet settled — completed=false, correct=null even if winner param provided
- Invalid league slug — must be exactly one of: nba, wnba, nfl, college-football, mlb, nhl, mls, epl, champions-league, laliga
- ESPN data unavailable — upstream scoreboard may be temporarily unreachable
- Payment failure — x402 payment not accepted or insufficient funds

## How this service works

Cryptographically SIGNED settled-SPORTS-outcome ATTESTATION for one game (path params: league — one of nba|wnba|nfl|college-football|mlb|nhl|mls|epl|champions-league|laliga — and eventId, an ESPN event id). Returns the SETTLED result (winner, final score, completed) as an ed25519-signed envelope verifiable OFFLINE against the SAME published key as /v1/attest. Optional query param: winner (team abbreviation) — adds correct (true iff it matches the settled winner, null while unsettled). Data source: ESPN's public scoreboard (no key, no account). Outcome-verified truth, not a prediction — the tamper-evident settled outcome a betting/trading agent needs for settlement, dispute, or a verifiable track record. 404 (not charged) for an unknown league or event id.

## Output

An ed25519-signed JSON envelope containing the settled game result: winner, final score, and a completed boolean. If the optional `winner` query param was provided, also includes a `correct` field (true if the given team abbreviation matches the actual winner, null if the game is not yet settled). The signature is verifiable offline against the same published public key as /v1/attest. Returns 404 (not charged) for unknown league or event ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "winner": {
       "type": "string",
       "description": "Optional team abbreviation to check correctness for (e.g. COL)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/predge-sports-outcome-attestation-3fd9a9f8/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)
