> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oddpool.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Oddpool API

> Prediction market data across Kalshi and Polymarket.

The Oddpool API provides programmatic access to prediction market data across Kalshi and Polymarket -- including whale trades, cross-venue arbitrage, price spreads, real-time WebSocket feeds, and full-text search.

All API requests should be made to:

```text theme={null}
https://api.oddpool.com
```

## Quick start

```bash theme={null}
curl -H "X-API-Key: your_api_key" \
  "https://api.oddpool.com/arbitrage/current?min_net_cents=0.5"
```

<Info>
  A machine-readable version of these docs is available at [`/llms.txt`](https://api.oddpool.com/llms.txt) -- fetch it to get the full API reference as structured markdown.
</Info>

## What you can build

<CardGroup cols={2}>
  <Card title="WebSocket feeds" icon="bolt" href="/websocket/overview">
    Stream real-time orderbooks, trades, and probability distributions from Kalshi and Polymarket over a single connection.
  </Card>

  <Card title="Whale tracking" icon="fish" href="/whales/overview">
    Monitor large trades across prediction markets. Track events and get alerts when whales move.
  </Card>

  <Card title="Arbitrage scanner" icon="scale-balanced" href="/arbitrage/overview">
    Find cross-venue arbitrage opportunities and price spreads between Kalshi and Polymarket.
  </Card>

  <Card title="Market search" icon="magnifying-glass" href="/search/overview">
    Full-text search across all prediction markets with filtering by exchange, category, volume, and liquidity.
  </Card>

  <Card title="Kalshi historical" icon="clock-rotate-left" href="/kalshi/overview">
    Orderbook snapshots, top-of-book timeseries, and trade tapes for Kalshi markets.
  </Card>

  <Card title="Polymarket historical" icon="clock-rotate-left" href="/polymarket/overview">
    Orderbook snapshots, top-of-book timeseries, and trade tapes for Polymarket markets.
  </Card>
</CardGroup>
