# Prediction Market Odds Aggregator (Polymarket + Kalshi)

> Prediction Market Odds Aggregator (Polymarket + Kalshi) is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns real-time prediction market odds, prices, volume, and liquidity from both Polymarket and Kalshi for a given keyword search.

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net/data/prediction
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-market-odds-aggregator-polymarket-kalshi-6c2a9055
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sseYzZZbACUOQjS6rTb29

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-odds-aggregator-polymarket-kalshi-6c2a9055
```

Example prompt: Search prediction markets for 'Fed rate cut' and show me the top 5 results — including Polymarket prices and liquidity, and Kalshi yes/no bid prices and open interest.

## When to prefer this

Use this endpoint when you need real-time aggregated prediction market data from both Polymarket and Kalshi in a single call. It is ideal when comparing implied probabilities across platforms, monitoring market sentiment on specific events, or building dashboards that need volume and liquidity data. Prefer this over scraping individual exchange UIs or calling each exchange separately.

## Known failure modes

- No markets found for the given keyword — returns empty results list
- Upstream Polymarket or Kalshi API unavailable — partial or no results returned
- Missing or invalid query parameter — may return an error or empty response
- Limit parameter ignored or capped by server — fewer results than expected

## How this service works

Prediction market odds: Polymarket (question, outcomes, prices, volume, liquidity) + Kalshi (ticker, yes/no bids, volume, open interest). ?q=<keyword>&limit=10

## Output

A list of prediction market entries from Polymarket (question text, outcome names, prices, trading volume, liquidity) and Kalshi (ticker symbol, yes/no bid prices, trading volume, open interest), filtered by the keyword query and capped at the specified limit.

## 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"
      },
      "limit": {
       "type": "number"
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/prediction-market-odds-aggregator-polymarket-kalshi-6c2a9055/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net/llms.txt)
