# OrcaTrace Resolving Markets Feed

> OrcaTrace Resolving Markets Feed is a paid API for AI agents from api.orcatrace.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns odds, liquidity, and order-book microstructure for Polymarket prediction markets resolving within a configurable time horizon (1–72 hours)

## Facts

- Endpoint: GET https://api.orcatrace.dev/v1/resolving
- 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/orcatrace-resolving-markets-feed-e62edbca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SyLw0zxOoPksGx5yoRcU6

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 orcatrace-resolving-markets-feed-e62edbca
```

Example prompt: Pull me all contested Polymarket markets resolving within the next 24 hours that have at least $5,000 in liquidity — include odds and order-book depth, but skip the short-interval noise markets.

## When to prefer this

Use this endpoint when you need a focused view of only near-expiry Polymarket markets — it filters by resolution horizon and liquidity floor automatically, and surfaces order-book microstructure (contested vs converged) that raw Polymarket feeds don't surface. Prefer this over the general feed or digest endpoints when timing-sensitive trading decisions require knowing which markets are about to settle.

## Known failure modes

- withinHours out of range (must be 1–72) → 400 validation error
- minLiquidity below 1000 → 400 validation error
- No markets found matching criteria → empty result set
- Payment not settled via x402 → 402 Payment Required with refund guarantee
- Upstream Polymarket data unavailable → service error with automatic refund of $0.02 USDC

## How this service works

Paid ($0.02 USDC via x402). Markets resolving within ?withinHours (1-72): odds, contested-vs-converged, liquidity, and order-book microstructure for the nearest expiries. Mechanical short-interval markets excluded by default (?includeNoise=1 to include). Settle-early with a guaranteed refund — if we charge you but cannot deliver, the payment is refunded.

## Output

A list of Polymarket markets resolving within the requested horizon, each with current odds, contested-vs-converged status, liquidity depth in USD, and order-book microstructure data for the nearest expiries. Short-interval mechanical markets are excluded by default unless the noise flag is set.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "withinHours": {
       "type": "integer",
       "maximum": 72,
       "minimum": 1,
       "description": "Horizon in hours (1-72)."
      },
      "includeNoise": {
       "type": "string",
       "description": "Set to 1 to include mechanical short-interval markets."
      },
      "minLiquidity": {
       "type": "number",
       "minimum": 1000,
       "description": "Liquidity floor in USD (>=1000)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "yesMid": 0.83,
    "question": "Will X happen by June 14?",
    "convergence": "contested",
    "eventEndDate": "2026-06-14T00:00:00Z",
    "liquidityUsd": 41000,
    "hoursRemaining": 22.5
   }
  ],
  "count": 1,
  "filters": {
   "withinHours": 24,
   "includeNoise": false,
   "minLiquidity": 5000
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orcatrace-resolving-markets-feed-e62edbca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.orcatrace.dev](https://www.zero.xyz/host/api.orcatrace.dev/llms.txt)
