# Foundry Prediction Market Odds

> Foundry Prediction Market Odds is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-01).

Returns Polymarket prediction market odds, volume, and end dates for top markets or those matching user-supplied keywords

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/prediction-markets?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-prediction-market-odds-1e52549f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7Ne5bORm5NcTgdWms8Yn9

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 foundry-prediction-market-odds-1e52549f -d '<json body>'
```

Example prompt: What are the current Polymarket odds on the next US election? Show me the implied probabilities, trading volume, and when the markets close.

## When to prefer this

Use this endpoint when you need real-time crowd-sourced probability estimates from Polymarket's decentralized prediction markets — covering politics, sports, crypto, and more. Prefer this over news APIs or LLM-generated forecasts when you need market-implied probabilities backed by real money, with volume and liquidity signals included. Best for agents doing research, forecasting, or tracking sentiment on time-bounded events.

## Known failure modes

- Empty or vague keywords may return unrelated or no markets
- Polymarket API downtime may result in stale or unavailable data
- Very niche topics may return zero matching markets
- Payment failure (x402) will block the request before execution
- Markets near expiry may have low liquidity or skewed odds

## How this service works

Prediction market odds from Polymarket: top markets by 24h volume, or those matching keywords, with implied odds, volume and end date. Input: keywords or 'top'.

## Output

A JSON object containing a list of matching Polymarket prediction markets. Each market entry includes the question text, a link to the Polymarket event, market end date/time, implied odds per outcome (as probabilities 0–1), 24-hour USD volume, and USD liquidity. A disclaimer note is included that odds are market-implied, not financial advice.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "Keywords like 'election' or 'top'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Market-implied odds, not advice.",
  "filter": null,
  "source": "Polymarket public API",
  "markets": [
   {
    "url": "https://polymarket.com/event/nba-phi-cha-2026-10-31",
    "ends": "2026-10-31T22:00:00Z",
    "odds": {
     "76ers": 0.38,
     "Hornets": 0.62
    },
    "question": "76ers vs. Hornets",
    "liquidity_usd": 90577,
    "volume_24h_usd": 3822305
   },
   {
    "url": "https://polymarket.com/event/lol-hle1-blg-2026-10-31-game1",
    "ends": "2026-11-01T04:00:00Z",
    "odds": {
     "Bilibili Gaming": 1,
     "Hanwha Life Esports": 0.001
    },
    "question": "LoL: Hanwha Life Esports vs Bilibili Gaming - Game 1 Winner",
    "liquidity_usd": 754936,
    "volume_24h_usd": 3587259
   },
   {
    "url": "https://polymarket.com/event/lol-hle1-blg-2026-10-31",
    "ends": "2026-11-01T04:00:00Z",
    "odds": {
     "Bilibili Gaming": 1,
     "Hanwha Life Esports": 0.001
    },
    "question": "LoL: Hanwha Life Esports vs Bilibili Gaming (BO3) - Worlds Group Stage",
    "liquidity_usd": 1196457,
    "volume_24h_usd": 2059080
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-prediction-market-odds-1e52549f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
