# Predge Polymarket Outcome Attestation

> Predge Polymarket 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-09-14).

Returns a cryptographically signed ed25519 attestation of the resolved outcome for a specific Polymarket prediction market condition, enabling offline verification of settled results.

## Facts

- Endpoint: GET https://api.predge.io/v1/attest/:conditionId
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/predge-polymarket-outcome-attestation-b29c764b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rsyfFktddIk56CAKrcXw1

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-polymarket-outcome-attestation-b29c764b
```

Example prompt: Can you get me a cryptographically signed attestation of whether the Polymarket market with condition ID 0x3f8a2b... resolved yes or no, and confirm if the yes side was correct?

## When to prefer this

Choose this endpoint when you need cryptographically verifiable, offline-provable proof of a Polymarket market's settled outcome rather than a live price or prediction estimate. It is uniquely suited for auditability, backtesting signal accuracy, dispute resolution, or any workflow where you must prove a market outcome to a third party without requiring them to trust this service. It is the only x402 source offering ed25519-signed on-chain resolution attestations for Polymarket conditions.

## Known failure modes

- 404 Not Found: condition ID not present in Predge dataset (not charged)
- Unresolved market: resolved=false, resolution=null, correct=null even with side param
- Invalid condition ID format: malformed 0x hex string may return error
- Signature verification failure: consumer-side issue if public key mismatch or payload tampered

## How this service works

Cryptographically SIGNED resolved-outcome ATTESTATION for one Polymarket market (path param: 0x… condition id). Returns the SETTLED truth straight off the market row: resolved (bool), resolution (yes|no|null), resolved_at, and outcome_verified: {resolution: true}. Optional query param: side (yes|no) — when given, adds queried_side and correct (true iff side matches the resolution, null while unresolved). Every response carries an "attestation" envelope: an ed25519 signature over a canonical JSON payload plus the issuer's public_key, so any consumer can verify the outcome offline without trusting this endpoint. This is on-chain resolved outcome truth, NOT a prediction or model estimate — the "was this signal actually right", independently-verifiable primitive no other x402 source sells. 404 (not charged) for a condition id unknown to the Predge dataset.

## Output

A JSON response containing: resolved (bool indicating if the market has settled), resolution ('yes', 'no', or null if unresolved), resolved_at (ISO timestamp of settlement), outcome_verified object confirming the resolution, and an attestation envelope with an ed25519 signature over the canonical payload plus the issuer's public_key for offline cryptographic verification. If the optional 'side' parameter is provided, also returns queried_side and correct (true if the queried side matches resolution, null if still unresolved). Returns 404 (no charge) if the condition ID is not in the Predge dataset.

## 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": {
      "side": {
       "enum": [
        "yes",
        "no"
       ],
       "type": "string",
       "description": "Optional side to check correctness for (yes|no)"
      }
     }
    }
   },
   "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-polymarket-outcome-attestation-b29c764b/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)
