# Predge Polymarket Condition Attestation

> Predge Polymarket Condition 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 on-chain attestation of the resolved outcome for a given Polymarket prediction market condition ID

## Facts

- Endpoint: GET https://api.predge.io/v1/attest/%7BconditionId%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-polymarket-condition-attestation-ca2f835e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WLWBgNPRDhtVKMgPcGqHX

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-condition-attestation-ca2f835e
```

Example prompt: Can you get me a cryptographically signed attestation from Predge for Polymarket condition 0x178a746e2b342c25b1d78d0f0d0ea77157c9b6d40b2e97ffbf827cd7f9994c39 — I want to verify whether the yes side was correct after resolution.

## When to prefer this

Use this endpoint when you need a tamper-proof, cryptographically verifiable record of a resolved Polymarket prediction market outcome — particularly when on-chain proof, audit trails, or smart contract settlement verification are required. It is the right choice over reading raw chain data when you need a structured, pre-signed attestation with ed25519 signatures you can verify without running your own node. Prefer it when you already have a Polymarket conditionId and need authoritative resolution confirmation with a verifiable chain of custody.

## Known failure modes

- conditionId not found or invalid hex — returns error or empty response
- Market not yet resolved — resolved field will be false and resolution may be null
- Invalid side parameter — must be 'yes' or 'no'
- Payment not provided or insufficient USDC — 402 Payment Required response
- Signature verification failure on client side if canonical field is mishandled
- Rate limiting or API unavailability returning 429 or 5xx errors

## 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 the market title, category, resolution (yes/no), resolved_at timestamp, a correct flag indicating whether the queried side matched the outcome, and a full ed25519 cryptographic attestation object including the issuer, algorithm, canonical payload string, hex signature, and public key — suitable for on-chain verification or audit purposes.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "resolved on-chain outcome truth read straight from the settled Polymarket market row, NOT a prediction or model estimate.",
  "title": "Will the Fed cut rates in September?",
  "correct": true,
  "category": "economics",
  "resolved": true,
  "resolution": "yes",
  "attestation": {
   "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.",
   "payload": {
    "issuer": "predge.io",
    "correct": true,
    "version": "predge-attest-v1",
    "platform": "polymarket",
    "resolved": true,
    "issued_at": "2026-07-19T10:00:00.000Z",
    "resolution": "yes",
    "resolved_at": "2026-07-19T00:00:00.000Z",
    "condition_id": "0x178a746e2b342c25b1d78d0f0d0ea77157c9b6d40b2e97ffbf827cd7f9994c39",
    "queried_side": "yes"
   },
   "version": "predge-attest-v1",
   "algorithm": "ed25519",
   "canonical": "{\"condition_id\":\"0x178a…\",\"correct\":true,\"issued_at\":\"2026-07-19T10:00:00.000Z\",\"issuer\":\"predge.io\",\"platform\":\"polymarket\",\"queried_side\":\"yes\",\"resolved\":true,\"resolved_at\":\"2026-07-19T00:00:00.000Z\",\"resolution\":\"yes\",\"version\":\"predge-attest-v1\"}",
   "signature": "3a1f…64-byte-hex…9c",
   "public_key": "d75a9807...c7e2a1"
  },
  "resolved_at": "2026-07-19T00:00:00.000Z",
  "condition_id": "0x178a746e2b342c25b1d78d0f0d0ea77157c9b6d40b2e97ffbf827cd7f9994c39",
  "queried_side": "yes",
  "outcome_verified": {
   "resolution": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/predge-polymarket-condition-attestation-ca2f835e/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)
