# Prediction Market Search (Polymarket + Kalshi)

> Prediction Market Search (Polymarket + Kalshi) is a paid API for AI agents from clink-lithium-vault.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Searches live prediction markets across Polymarket and Kalshi simultaneously, returning ranked results with probabilities, volume, liquidity, and pricing for any topic or question.

## Facts

- Endpoint: GET https://clink-lithium-vault.fly.dev/pm/search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-market-search-polymarket-kalshi-f67a8970
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4IUwiMxjzohvTdavoCH83

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 prediction-market-search-polymarket-kalshi-f67a8970
```

Example prompt: Search prediction markets for 'Fed rate cut by September 2026' and give me the top 5 results with their current probabilities, 24-hour price changes, and volume from both Polymarket and Kalshi.

## When to prefer this

Use this endpoint when you need to search across both Polymarket and Kalshi simultaneously with a single query, ranked by relevance. Prefer this over platform-specific APIs when you want cross-platform coverage without managing two separate integrations. For a single synthesized natural-language answer rather than raw market data, use the companion /pm/odds endpoint instead.

## Known failure modes

- No markets found for obscure or niche query — returns empty markets array
- Limit parameter out of range (must be 1-50) — may return error or default
- Stale data if upstream Polymarket or Kalshi APIs are delayed
- Missing q parameter — required field, will return error
- Rate or availability issues on underlying market platforms causing partial results

## How this service works

Prediction market search for AI agents - one query, live markets from Polymarket AND Kalshi ranked by relevance: question, implied probability (YES price), 24h/7d change, bid/ask, volume, liquidity, close date, URL, and the ids you need for /pm/history. Election odds, Fed/rates, crypto price targets, sports, geopolitics, pop culture. ?q=<question or topic>&limit=<1-50>. Want a finished answer with a cross-platform read? /pm/odds $0.02.

## Output

A JSON object containing an array of ranked markets from Polymarket and/or Kalshi, each with: market question, platform, URL, implied probability (YES price), 24h and 7d price changes, bid/ask prices, 24h volume, liquidity, close date, and market IDs usable with the /pm/history endpoint. Also includes a summary of source counts per platform.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string"
      },
      "limit": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "markets": [
   {
    "url": "https://polymarket.com/event/...",
    "platform": "polymarket",
    "question": "Fed rate cut by September 2026 meeting?",
    "change_24h": -0.01,
    "volume_24h": 20480,
    "probability": 0.05
   }
  ],
  "sources": {
   "kalshi": {
    "count": 4
   },
   "polymarket": {
    "count": 3
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/prediction-market-search-polymarket-kalshi-f67a8970/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clink-lithium-vault.fly.dev](https://www.zero.xyz/host/clink-lithium-vault.fly.dev/llms.txt)
