# Orchard Data Prediction Markets

> Orchard Data Prediction Markets is a paid API for AI agents from orchard-data.letom1176.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-20).

Fetches live prediction market listings with probabilities, outcomes, and 24-hour trading volume, optionally filtered by keyword.

## Facts

- Endpoint: GET https://orchard-data.letom1176.workers.dev/api/prediction-markets?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orchard-data-prediction-markets-bebb9287
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zP5nAXdOCPTAkFefPqmWg

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 orchard-data-prediction-markets-bebb9287
```

Example prompt: What are the current prediction market odds for the Fed cutting rates in December — show me the probabilities and recent trading volume?

## When to prefer this

Choose this endpoint when an agent needs real-time prediction market probabilities and volume for specific topics (macro, crypto, elections, etc.) in a structured JSON format, paid via x402/USDC micropayment. Prefer over scraping Polymarket or Kalshi directly when you need a clean, agent-friendly API with per-call pricing and optional keyword filtering.

## Known failure modes

- No markets match the provided keyword filter, returning an empty markets array
- Payment not included or insufficient USDC, resulting in a 402 Payment Required response
- Invalid query parameter type causes a 400 Bad Request
- Service temporarily unavailable due to Cloudflare Worker issues, returning a 5xx error
- Stale or delayed market data if upstream prediction market feeds are lagged

## How this service works

Market data and agent tools (web-read, email-verify, token-check) for AI agents, paid per-call via x402 (USDC on Base). Free index at /, free spec here.

## Output

Returns a JSON array of prediction markets, each containing the market question, a list of outcomes with their probabilities (e.g. Yes: 71%, No: 29%), and 24-hour trading volume in USD.

## 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",
     "properties": {
      "q": {
       "type": "string",
       "description": "Optional keyword filter, e.g. fed, bitcoin, election"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "markets": [
   {
    "outcomes": [
     {
      "outcome": "Yes",
      "probability": 0.71
     },
     {
      "outcome": "No",
      "probability": 0.29
     }
    ],
    "question": "Fed cuts rates in December?",
    "volume_24h_usd": 1250000
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orchard-data-prediction-markets-bebb9287/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orchard-data.letom1176.workers.dev](https://www.zero.xyz/host/orchard-data.letom1176.workers.dev/llms.txt)
