# x402-factory Market Resolution Lookup

> x402-factory Market Resolution Lookup is a paid API for AI agents from x402-factory.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the final outcome, per-venue settlement details, source link, and blended probability 24h before resolution for a resolved prediction market; returns 404 for unresolved markets.

## Facts

- Endpoint: GET https://x402-factory.com/v1/resolution/:slug
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-factory-market-resolution-lookup-67777276
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8tdtoc_HUYWw8umcyT37e

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 x402-factory-market-resolution-lookup-67777276
```

Example prompt: What was the final resolution outcome for the prediction market with slug 'fed-rate-cut-july-2025' — did it resolve YES or NO, and what was the blended probability 24 hours before it settled?

## When to prefer this

Use this endpoint when you need the definitive, settled outcome of a prediction market — including cross-venue settlement verification and a calibration benchmark (final_p_24h_before). Prefer this over the live probability endpoint when the market is already resolved and you need a ground-truth record for backtesting, auditing, or verification workflows. If the market is still open, this endpoint will 404 and redirect you to the live probability endpoint.

## Known failure modes

- 404 if the market slug is unresolved (with pointer to live probability endpoint)
- 404 if the market slug does not exist
- Invalid slug format returns validation error (slug must match ^[a-z0-9]+(?:-[a-z0-9]+)*$)
- Partial per_venue data if one venue (e.g. Polymarket) did not list the market
- Missing source_url if no authoritative resolution link was available

## How this service works

Final outcome and settlement details for a resolved market — Outcome, per-venue settlement, source link where available, and the blended probability 24h before resolution (calibration signal). Unresolved markets return 404 with a pointer to the live probability endpoint.

## Output

A JSON object containing: outcome (YES, NO, or numeric string), resolved_at timestamp, an array of per-venue settlement objects (each with venue name from kalshi/polymarket, outcome, and resolved_at), an optional source_url linking to resolution evidence, and final_p_24h_before (blended probability 0–1 from 24 hours before resolution as a calibration signal). Unresolved markets return a 404 error with a pointer to the live probability endpoint.

## 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",
     "required": [
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "data",
      "meta"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "outcome",
        "resolved_at",
        "per_venue",
        "final_p_24h_before"
       ],
       "properties": {
        "outcome": {
         "type": "string",
         "description": "\"YES\" | \"NO\" | numeric-as-string"
        },
        "per_venue": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "venue",
           "outcome",
           "resolved_at"
          ],
          "properties": {
           "venue": {
            "enum": [
             "kalshi",
             "polymarket"
            ],
            "type": "string"
           },
           "outcome": {
            "type": "string"
           },
           "resolved_at": {
            "type": "string"
           }
          },
          "additionalProperties": false
         }
        },
        "source_url": {
         "type": "string"
        },
        "resolved_at": {
         "type": "string"
        },
        "final_p_24h_before": {
         "type": "number",
         "maximum": 1,
         "minimum": 0
        }
       },
       "additionalProperties": false
      },
      "meta": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-factory-market-resolution-lookup-67777276/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-factory.com](https://www.zero.xyz/host/x402-factory.com/llms.txt)
